Brent Clark
2006-Jul-26 13:17 UTC
[Samba] Just one share that any and all my users can write / delete from it - samba wont hear of it
Hi all
For the likes of me, I cant get samba to allow write access to a share.
I have a very basic setup.
Just one share that any and all my users can write / delete from it.
Here is a copy of my testparam output:
fileserver:/# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[SDRIVE]"
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = WORKGROUP
netbios name = ECCOFILESERVER
server string = %h server (Samba %v)
security = SHARE
obey pam restrictions = Yes
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = wins bcast host lmhosts
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
show add printer wizard = No
preferred master = Yes
dns proxy = No
wins support = Yes
panic action = /usr/share/samba/panic-action %d
invalid users = root
[SDRIVE]
path = /eccofiles/sdrive
guest ok = Yes
fileserver:/#
Here are my directory permissions
fileserver:/# ls -lar eccofiles/*
eccofiles/sdrive:
total 8
drwxrwxrwx 4 root root 4096 2006-07-26 12:53 ..
drwxrwxrwx 2 root root 4096 2006-07-26 11:44 .
eccofiles/lost+found:
total 52
drwxrwxrwx 4 root root 4096 2006-07-26 12:53 ..
drwxr-xr-x 2 root root 49152 2006-07-25 18:58 .
fileserver:/# ls -lar eccofiles*
total 60
drwxrwxrwx 2 root root 4096 2006-07-26 11:44 sdrive
drwxr-xr-x 2 root root 49152 2006-07-25 18:58 lost+found
drwxr-xr-x 22 root root 4096 2006-07-26 10:37 ..
drwxrwxrwx 4 root root 4096 2006-07-26 12:53 .
fileserver:/#
If anyone could assist, I would be most grateful.
Kind Regards
Brent Clark
Marcin Giedz
2006-Jul-26 13:48 UTC
[Samba] Just one share that any and all my users can write / delete from it - samba wont hear of it
Brent Clark napisa?(a):> Hi all > > For the likes of me, I cant get samba to allow write access to a share. > > I have a very basic setup. > > Just one share that any and all my users can write / delete from it. > > Here is a copy of my testparam output: > fileserver:/# testparm > Load smb config files from /etc/samba/smb.conf > Processing section "[SDRIVE]" > Loaded services file OK. > WARNING: passdb expand explicit = yes is deprecated > Server role: ROLE_STANDALONE > Press enter to see a dump of your service definitions > > [global] > workgroup = WORKGROUP > netbios name = ECCOFILESERVER > server string = %h server (Samba %v) > security = SHARE > obey pam restrictions = Yes > passdb backend = tdbsam > passwd program = /usr/bin/passwd %u > passwd chat = *Enter\snew\sUNIX\spassword:* %n\n > *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . > syslog = 0 > log file = /var/log/samba/log.%m > max log size = 1000 > name resolve order = wins bcast host lmhosts > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > load printers = No > show add printer wizard = No > preferred master = Yes > dns proxy = No > wins support = Yes > panic action = /usr/share/samba/panic-action %d > invalid users = root > > [SDRIVE] > path = /eccofiles/sdrive > guest ok = YesDid you forget to add something like this: writable = yes public = yes create mask = 0777 For more info look at excellent how-to on samba web site. BR, Marcin> fileserver:/# > > Here are my directory permissions > > fileserver:/# ls -lar eccofiles/* > eccofiles/sdrive: > total 8 > drwxrwxrwx 4 root root 4096 2006-07-26 12:53 .. > drwxrwxrwx 2 root root 4096 2006-07-26 11:44 . > > eccofiles/lost+found: > total 52 > drwxrwxrwx 4 root root 4096 2006-07-26 12:53 .. > drwxr-xr-x 2 root root 49152 2006-07-25 18:58 . > fileserver:/# ls -lar eccofiles* > total 60 > drwxrwxrwx 2 root root 4096 2006-07-26 11:44 sdrive > drwxr-xr-x 2 root root 49152 2006-07-25 18:58 lost+found > drwxr-xr-x 22 root root 4096 2006-07-26 10:37 .. > drwxrwxrwx 4 root root 4096 2006-07-26 12:53 . > fileserver:/# > > If anyone could assist, I would be most grateful. > > Kind Regards > Brent Clark > > > >
Gerald (Jerry) Carter
2006-Jul-26 15:35 UTC
[Samba] Just one share that any and all my users can write / delete from it - samba wont hear of it
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marcin Giedz wrote:> Brent Clark napisa?(a): >> Hi all >> >> For the likes of me, I cant get samba to allow write access to a share. >> >> I have a very basic setup. >> >> Just one share that any and all my users can write / >> delete from it.Why are yous using security = share ? Share mode security and user authorization controls are really not compatible. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEx4unIR7qMdg1EfYRAgHFAJ9YWvlYlM8AxhgA80ejmjV3fUApBQCgx8NQ ADxyrysrhs6dNiZorMj14LE=rRa7 -----END PGP SIGNATURE-----