Mailinglist Archive: opensuse (3441 mails)

< Previous Next >
Re: [opensuse] Correct Way to Recursively Change Permissions
  • From: "Henare Degan" <henare.degan@xxxxxxxxx>
  • Date: Thu, 15 Jan 2009 13:17:37 +1100
  • Message-id: <c2afca990901141817u6101902u95bc4188647e6312@xxxxxxxxxxxxxx>
On Thu, Jan 15, 2009 at 11:52, David Haller <opensuse@xxxxxxxxxx> wrote:
The command

chmod -R u=rwX,go= /path/to/directory

should do exactly what you want.

Thanks David - that's it! The capital 'X' does the trick (I knew there
was some way).

Thanks again to everyone, I learnt a few things in this thread
(including the fact I should more carefully read man pages:

"...execute/search only if the file is a directory or already has
execute permission for some user (X)...")


To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >