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

css - I want to align grid in center -

python - SWIG function not printing output -

Contact Form PHP Email Script -