samba public write access

I have the following for my smb.conf file.  And here is the ls -al for the /home/dgbc/share folder

dgbc@fileserver:~$ sudo ls -al share/
total 0
drwxr-xr-x 2  777 dgbc   6 2008-02-12 19:17 .
drwxr-xr-x 4 dgbc dgbc 173 2008-02-12 19:17 ..

; Uncomment this if you want a guest account
workgroup = DGB
guest account = nobody
log file = /var/log/samba-log.%m
lock directory = /var/lock/samba
share modes = yes
security = share
restrict anonymous = no
comment = Public Stuff
path = /home/dgbc/share
public = yes
writable = yes
printable = no
guest ok = yes
read only = no

Open in new window

Who is Participating?
mjutrasConnect With a Mentor Commented:
well you used the command chown instead of chmod as i can see because now the owner of the file/folder is 777
so whats the problem? There is no question...

Well right now I can see that everyone as not the write access on the folder in your ls -al command.

If you wanna have everyone the write, read and execute access on the folder run: sudo chmod -R 777 {folder} on the shared folder
remember that you need to set the permission in samba AND on the specific folder in your system, it's like the windows file sharing when you have to set the "security" options and the "sharing permissions"
casitAuthor Commented:
Ok here is my new ls -al after I deleted the folder and then recreated it.  What I want it public read access to this folder and also public write access.

dgbc@fileserver:~$ ls -al share/
total 0
drwxr-xr-x 2  777 dgbc   6 2008-02-12 21:36 .
drwxr-xr-x 4 dgbc dgbc 173 2008-02-12 21:36 ..

casitAuthor Commented:
Thanks.   I need to go to bed.  
All Courses

From novice to tech pro — start learning today.