Results 1 to 5 of 5
I want to have a samba share set up so that any anonymous Windows XP user can read and write to the share without being prompted for a username or ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-05-2009 #1
Samba public share, without setting contents to 777?
I want to have a samba share set up so that any anonymous Windows XP user can read and write to the share without being prompted for a username or password. So far I have achieved this by using these options in my smb.conf
...and setting permissions for the shared directory and all it's contents to 777.Code:[global] security = share [share1] path = /some/path writeable = yes public = yes
776 and 766 don't work, and I feel like these are appropriate settings. What is the reason for last 7?
Is there a way to achieve this without setting to 777?
- 06-05-2009 #2
no the 777 is what makes it universally accesable.
I'd suggest using nautilus samba share if you're using Ubuntu ( possibly other distros also). If you get this you can just right click on a folder and go to sharing options and choose how you want it to work for that folder. Hope that helpsBodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 06-06-2009 #3
I don't understand why the last value needs to be 7 (read, write, execute) instead of 6 (read, write) in order for it to be universally readable and writable.
- 06-06-2009 #4
You're right. What happens when you change it?
Bodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 06-08-2009 #5
The owner of the file or directory must be the user specified with the `guest account` option in order to read/write via Samba when permissions are 766, which is global read/write.
If I set the share directory to 766 and it's owner to root, I cannot access the share at all. "Network access is denied."
What I think this means is that the user specified in the `guest account` option must have execute privileges over files or directories it writes to. Why is this? Is the guest account user executing the file when it writes?


Reply With Quote
