You are not logged in.

#1 2006-03-04 01:12:47

Rev. Nathan
Member
From: West Hills, Los Angeles, Calif
Registered: 2006-02-21
Posts: 35
Website

Easy One - Mass CHMODding?

So I copied all my files from Windows over to Arch, ready to go. But all the permissions need to be changed! If I do chmod +drwxrwxrwx /home/nathan/docs; that would just simply change the permissions of that folder! How do I change the permissions of that folder, and everything therein?


"All the world's indeed a stage, And we are merely players.
Each another's audience, Outside the gilded cage.
"

Offline

#2 2006-03-04 01:25:34

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Easy One - Mass CHMODding?

chmod -R is recursive.


I am a gated community.

Offline

#3 2006-03-04 04:42:40

Rev. Nathan
Member
From: West Hills, Los Angeles, Calif
Registered: 2006-02-21
Posts: 35
Website

Re: Easy One - Mass CHMODding?

Thank you. I noticed +rwx only gives the owner full permissions (755); I would like it for my programs to access the files as well (777). What would I write?


"All the world's indeed a stage, And we are merely players.
Each another's audience, Outside the gilded cage.
"

Offline

#4 2006-03-04 06:01:27

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Easy One - Mass CHMODding?

Rev. Nathan wrote:

Thank you. I noticed +rwx only gives the owner full permissions (755); I would like it for my programs to access the files as well (777). What would I write?

chmod -R 777 folder

Offline

#5 2006-03-04 07:47:59

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: Easy One - Mass CHMODding?

jaboua wrote:
Rev. Nathan wrote:

Thank you. I noticed +rwx only gives the owner full permissions (755); I would like it for my programs to access the files as well (777). What would I write?

chmod -R 777 folder

and chmod a+rwx will work too,
a = All
u = Owner
g = Group
o = Other

ex. chmod a+rx-w is eq to chmod 555 smile

Offline

Board footer

Powered by FluxBB