Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Im trying to set permission levels on one of my shares to RWX for User & Group, and RX for Others, which i understand to be 0775
But whenever i create a file over the share (on winxp -sp1), the permissions are being set as RWX for users, and R for Group/Others...
Here's my code...
Quote:
[Apache]
path = /srv/www/htdocs
comment = Apache Server
writeable = yes
force create mask = 775
force directory mask = 775
force user = root
force group = root
public = yes
guest ok = yes
wide links = no
The rest of the config works fine, just these damn file permissions...
The Samba config works fine, but when ever i create/copy a file into the shared folder from WinXP, I have to goto my linux box and reset the permissions so that folk can see it when the browse my site
No, that's not the problem. The problem ist that the samba protocol cannot map the WIn-based permissions accurately to Unix ones. When you samba-mount the share, you can add any missing info ( e.g. uid, gid, etc) at this point, and "fake" the permissions with the fmask and dmask options. man smbmount will tell you more. It'll take some try and error.
See another post
[URL=http://www.linuxquestions.org/questions/showthread.php?s=&threadid=70838[/URL]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.