[Samba] multiple create mode for different directory
I would like to create a share folder with Samba. A share folder "terry" will map to "/home/terry". For security reason, the default create mode is 0600. But there is an exception for /home/terry/public_html. /home/terry/public_html will be used to put my website so I hope the create mode would be set to 0644 for this particular directory. Any ideas?
For exmaple: /home/terry/private/* (private directory, so the create mode should be 0600) /home/terry/public_html/* (public directory, so the create mode should be 0644) /home/terry/privateFILE (private FILE, so the create mode should be 0600) I've set /home/terry to 755 with chmod. I'm sorry for my poor English. I hope you can understand. :) |
Can't you just create separate shares for these?
|
Thank you for your reply. I'm currently using this method. However, if I've several directories with different permissions, I need to map several network drives in the client Windows.
So, I would like to know any better ways. :) |
All times are GMT -5. The time now is 05:52 PM. |