keep chmod on folder, sub-folder and files
I got a folder that I transfer stuff to all the time.
the folder is in chmod 775 but when i upload folders and files, they are given chmod 700, but i want it chmod 775 everytime i upload something. so far i have logged in to my linux computer and did a chmod -R 775 to the folder every time i uploaded something to it. is there a function somewhere to make it 775 everytime i upload or can i have something run a script, so i don't have to go in and write it everytime i upload something? |
I think you need a combination of setgid and acl's.
http://www.linuxquestions.org/questi...folder-605129/ http://www.vanemery.com/Linux/ACL/linux-acl.html#using |
Quote:
Here is the man page excerpt for umask: Code:
umask [-p] [-S] [mode] |
All times are GMT -5. The time now is 02:26 PM. |