Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)
recategorized by
I have the web directory /www and a folder in that directory called a store.

Within a store are several files and folders. I want to give each folder store and all files and folders within this store folder all permissions.

How can I approach this?

1 Answer

0 votes
by (36.8k points)

If you are working on each console command it would be:

chmod -R 777 /www/store. The -R (or --recursive) options make it recursive.

Or if you want to make all those files in each current directory have all permissions type:

chmod -R 777 ./

Want to be a Linux expert? Come and join this linux course 

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 30, 2020 in Linux by dev_sk2311 (45k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...