LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Change permissions 4 many files at 1ce? (https://www.linuxquestions.org/questions/linux-newbie-8/change-permissions-4-many-files-at-1ce-378583/)

TruthSeeker 10-31-2005 06:58 AM

Change permissions 4 many files at 1ce?
 
I have a large folder with root access permissions and ownership that i want to change to an user access and ownership permission.

how can i do it so that i can apply settings for all subfiles/folders?

Keruskerfuerst 10-31-2005 07:09 AM

Hello!

1. with KDE Konqueror : rightclick and change permissions, apply to all subfolders.

Greetings

Emmanuel_uk 10-31-2005 07:13 AM

You can do that with konqueror (right-hand click on folder)
and then change perm etc, click "apply to subfolder)

Recusirvely in a command line: probably possible,
or using a script with find
or using globs (I think . is all files ./. is only 1 directory down,
././. is 2 directory down)
I have never tried, so add a pinch of salt and experiment

Ynot Irucrem 10-31-2005 08:23 AM

you can do this at the command line. e.g. "chmod -R a+w /path/to/myfolder" will give all users write permissions to myfolder and everything inside. the key is the "-R" option.

for more info:
Code:

man chmod
man chown



All times are GMT -5. The time now is 09:48 AM.