[Samba-it] permessi file

Pol Hallen sambait at fuckaround.org
Fri Dec 12 06:37:12 MST 2008


Ciao a tutti :-)

mount -t cifs //ip_server/tmp /home/share/tmp -o "username=xxx,password,xxx"

touch /home/share/tmp/tmp.bak 
touch: setting times of `home/share/tmp/tmp.bak': No such file or directory

Posso SOLO creare e cancellare file e dir ma non modificarli :-/

Ho anche provato
echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled
mount -t cifs //ip_server/tmp /home/share/tmp
echo 1 > /proc/fs/cifs/LinuxExtensionsEnabled
(letto nella ML di samba) ma ho comunque lo stesso errore

permessi sul server:

drwxrwx--T  6 user0 user0 4096 2008-08-20 15:08 tmp
user0 e' nel gruppo samba
(anche con un metterci un chmod 777 o 1777 stesso problema)

dettagli client
debian testing
kernel 2.6.26.5

dettagli server
debian stable
kernel 2.6.22.19

smb.conf

netbios name = FILESERVER
workgroup = WORKGROUP
Server String = FILESERVER
wins support = yes
name resolve order = wins host dns bcast
hosts allow = 192.168.1.102
guest account = samba
loglevel=2
log file = /var/log/samba/%m.log
security=user
encrypt passwords = yes
null passwords = no
#unix extensions = no
#acl support = no

[tmp]
path=/share/tmp
guest ok = no
writable = yes
printable = no
#read only = yes
valid users = user0
case sensitive = yes

Ho provato anche unix extensions = yes, support = yes, create mask = 0777 e 
directory mask = 0777 ma nulla.

Dai client win e osx tutto funziona bene

Con konqueror se uso: smb://ip_server/tmp tutto funziona bene

Presumo sia un problema di cifs nel mount dai client perche' con altri os non 
ho questo problema..

Non so proprio piu' cosa fare..
Qualche idea?

Grazie!
Pol



More information about the samba-it mailing list