0
votes
1answer
321 views

How to recursively set permissions for files only?

I want to remove executable permission for all files in my home folder, recursively, how to do that using command line?
2
votes
3answers
1k views

How to transfer file permissions from one folder to another?

I did cp -r on a folder (copy), then removed the original. I have a backup with most of the files. How do I restore the permissions of the files & folders on the copy using the backup? It ...
0
votes
1answer
743 views

How to make /var/www/html same as my /var/tmp directory?

I am using one software, who can save files to /var/tmp but not in /var/www/*.*. I did applied chmod -R 777 /var/www. But still it can write to /var/tmp but not /var/www How can I resolve this? (I ...