Linux "Default Permissions" for Future Files recursively? -


i have cache folder needs 777 inside. existing ones, , newly/future created files, folders, sub-folders, etc.

lets say: /var/www/html/cache

so how in linux (or rhel) please?

you should running following command in /var/www/html/cache

umask 000  

this subtracts 000 system defaults give default access permission files of 666 (rw-rw-rw-) , directories of 777 (rwxrwxrwx).

umask manual


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -