Can't set guest read/write samba share
I try to set up a samba share, like this:
I want the WebTemp share to be fully read/writeable to guests, but somehow it asks for user/password for every access. Why? As you can see above, I've tried a lots of parameters, but none work. The "stor" dir is also chowned by sambashare...
What are the system permissions on /home/server/www/tmp/stor?
I have mine set as below and complete access is granted. It looks deceptively simple.
path = /home/username/media/Music
public = yes
only guest = yes
writable = yes
printable = no
I know it should be simple, that's why I don't understand why it asks for login...
I've added the "only guest" line to the share, but still asks for pass.
Here are the permissions to the folder: http://borz.ath.cx/img/data/screenshot697.jpg
Some more ideas:
I have guest account commented out and the following in /etc/passwd:
Also, I have security=share instead of user.
My permissions on the actual folders are read, write, execute for everybody.
This is not a very secure setup, but it does allow the access you are looking for on my system. I use the hosts allow on static ip's for some security.
Thanks, I also set security to share, it seems to be more straightforward than the user-based mode.
The problem seemed to be with the folder that was located inside the www folder. No matter the permissions, somehow access was not granted. I "ln -s"-ed it to a folder in the system, and now it can be accessed as it set in Samba.
you are almost there, but you need to make sure that the directory at a system level is also writeable by your nobody or guest user (who is running the samba process must be able to write also. a very simple way to check is to set the directory all writeable (chmod a+rwx) and reload you smb conf. if it now works, its due to the physical directory permissions and you can play around with various masks to get it tothe level of security you want.
kr per fisker
|All times are GMT -5. The time now is 08:06 AM.|