[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Chmodding a whole directory tree



>>>>> Thought  writes:

  Thought> How do I make a whole directory tree and it's files
  Thought> readable by everyone?  I can't just chmod -R a+r dir
  Thought> because then they won't be able to cd to the directories,
  Thought> but I can't chmod -R a+rx dir because then all the files
  Thought> will be executable...  Is there a way to make the
  Thought> directories +x without making all the files +x?

Many people have opinions on the above, but I prefer...

  Thought> Or better yet is there a way to copy the owner's
  Thought> permissions to the group and other's permissions?  Thanks

this approach.  Type "chmod -R g=u ."

regards,
kai
-- 
A large number of young women don't trust men with beards.
(BFBS Radio)




Reply to: