On Fri, 7 Dec 2001 22:40:53 -0000
"Alexander Shaw" <[EMAIL PROTECTED]> implied:

> I guess this is a really simple one but I can't find an answer
anywhere at
> the moment.
> 
> Is it possible to change the ownership or permissions of the contents
of
> entire directory including the sub directories? If so, how?

chown -R <user>.<group> <path_to_files>/*
chown -R <user>.<group> <path_to_dir>
chmod -R <uoag><+/-><perms> <path_to_files>/*
chmod -R <uoag><+/-><perms> <path_to_dir>

man chown
man chmod

u=user
o=owner
a=all
g=group

There are also numbers for permissions which represent the bit patterns.
Info available in the manpages.

-- 
Only two groups of people fall for flattery -- men and women.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to