Arg!! chown /chmod
How do I change the rights /ownership of a tree structure? Command line in Debian (if theres a difference).
The thing is I copied a file structure with a reg user now I need to change it to another user. How do I do that with out going truh the hole lot? |
chown -R newuser:newgroup thedirectorytochange/
This will change the user and thegroup for all files in the directory. Use 'man chown' for more information. |
I think you should read " man chmod " an "man chown ".
should be smth.like : #chown -R...... egag |
add -R argument
for example: chown vookimedlo:vookimedlo /home/vookimedlo/files/ -R |
I thing chown -R newUser:newGroup /path/ should do the trick.
It will recursively change the file owner and group of the given path. Hope it helped! Boby EDIT: Wow..so many post before mine.. :rolleyes: |
Tnx, guys!
I didnt read the man (who does?). But I google for it. But didnt find anything about dirs. Ok, I'll do the -R! |
Quote:
|
Quote:
That said, "man chmod" really needs work. I learned how to use this command elsewhere...the man page explained what the command does, but you'd have to already know how to use it to understand how it was explained. |
Tnx, mikshaw!
Just my point really. The man pages are a reallll pain some times! Why could they not be in _plain_ english so every one understands them? lol |
they are in a concise linguistic structure. With time it becomes easier. They are very helpful though.
|
True. But when english is the 2nd language.... ;)
And there is always the forum and google! |
All times are GMT -5. The time now is 01:08 AM. |