Hi guys!
I made some shares here through samba 2.2.8 and put the permissions in this share like this: 'chmod -R 777 /share', to make sure that all users will open...
and everything goes fine...
but after some time, nobody can access the share...
so, I open the log in /var/log/samba/log.user, i.e., and I can see the problem: "Can't chage the directory to /share (Permission denied)"
but the permission is 777, like I said before...
the share only works again if I type 'chmod -R 777 /share' again...
this is the only reason that I can not change definitely my server...
plz, someone have a hint for this ??
thanx
Fl�vio Henrique
It sounds like you have msec running along behind you cleaning up the permissions..
777 is a dangerous permission and you shouldn't be suing it..
You are better off telling samba to use one user for all users.. and then set the files to 600
in the shares., (and change their owner and group to the owner and group that you have just set the share up to use.)
Try something like this for a share:
[myshare] comment = a test share path = /home/allusers force user = franki force group = franki public = no writable = yes printable = no
Thats much better security then using open permissions..
-- rgds
Frank Hauptle (aka Franki)
For free scripts, online webmaster tools, HTML, XHTML, Perl & PHP tutorials and stuff, visit:
http://htmlfixit.com Free web developer resources.
Please sign our petition to encourage notebook manufacturers to offer video card upgrades just like desktops.
http://www.petitiononline.com/inspiron/petition.html
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
