[Samba] Just one share that any and all my users can write / delete from it - samba wont hear of it

Marcin Giedz marcin.giedz at altvision.pl
Wed Jul 26 13:45:59 GMT 2006


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 = Yes
Did 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
>
>
>
>



More information about the samba mailing list