This question already has an answer here:
I have a web directory /www
and a folder in that directory called store
.
Within store
are several files and folders. I want to give the folder store
and all files and folders within the store
folder all permissions.
How do I do this? I am guessing via .htaccess.
Yes, very right that the
-R
option inchmod
command makes the files/sub-directories under the given directory will get 777 permission. But generally its not a good practice to give 777 to all files and dirs as it can lead to data insecurity. Try to be very specific on giving the all rights to all files and directories. And to answer your question:... will work