Kubuntu and file permissions
Jordi Ferrando Fabra
jferrando at netplc.com
Mon Apr 23 20:02:34 UTC 2007
I have managed (finally!) to mount my server's SAMBA shares to my
kubuntu box so that it is usable with Openoffice files from the Kubuntu
feisty desktop. To achieve this, special configuration have been done in
the samba server, basically:
[global]
...
*kernel oplocks = no*
[datos]
comment = Directorio datos NETPLC/INTRANSYS
path = /datos
read only = No
browseable = yes
guest ok = no
printable = no
create mask = 0770 #Esta es una máscara - Quita los
permisos de o+rwx, pero no añade
#Permisos a user ni group
directory mask = 2770 #Análogo a create mask pero para
directorios
* oplocks = yes
share modes = yes
locking = yes
strict locking = no
blocking locks = no
*
With this server's configuration, after installing smbfs package in the
client (!!! important, don't know why, else it does not work), I am able
to mount my server's share with:
$ *sudo mount -t cifs //espada.netplc.com/datos /home/jferrando/cespada
-o user=jordi,iocharset=utf8*
And openoffice can read and write files, even locking happens when a
file is opened from my linux desktop and some Windows machine at the
same time. In the windows machine it opens the file as read-only, and in
the Linux desktop I get one I/O error (at least I can't overrite my
coleague's opened files!).
I have one "annoying" feature now, tough:
I have file and directory creation masks to allow a security policy
based on groups at the SAMBA server (Kubuntu 6.06 LTS), but when I try
to copy and paste files with konqueror, I always get an annoying message:
*No se pudieron cambiar los permisos de
/home/jferrando/cespada/netplc/users/jferrando/temp/manolo.pdf*
Means "Could no change the permissios of the file ...".
Any idea?
... time to get Linux desktop usable is coming closer ...
--
*Jordi Ferrando Fabra*
Director Técnico
NETPLC
Camino Viejo Castellón-Onda SN
12540 Vila-real (Castellón) España
Tlf: +34 964 506174 Fax: +34 964 506173
www.netplc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20070423/274da209/attachment.html>
More information about the kubuntu-users
mailing list