LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2005, 06:58 AM   #1
TruthSeeker
LQ Newbie
 
Registered: Oct 2005
Location: Cartaxo, Portugal
Distribution: Red Hat Enterprise 4 Mostly
Posts: 25

Rep: Reputation: 15
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?
 
Old 10-31-2005, 07:09 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Hello!

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

Greetings
 
Old 10-31-2005, 07:13 AM   #3
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
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
 
Old 10-31-2005, 08:23 AM   #4
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
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

Last edited by Ynot Irucrem; 10-31-2005 at 08:27 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you change a files permissions Charlie Chan Linux - Security 8 10-20-2004 10:19 PM
x library files for mandrake-10.1CE? greythorne Mandriva 0 10-08-2004 05:26 AM
Can't change permissions LitlJay Linux - Software 9 05-21-2004 01:41 PM
recursive file permissions does not change new files in same directory PAB Linux - Newbie 2 03-08-2004 12:27 PM
How do I change permissions of files/directories? Okashira Linux - Newbie 5 01-12-2004 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration