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.