bug-coreutils
[Top][All Lists]
Advanced

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

Re: Bus


From: Paul Eggert
Subject: Re: Bus
Date: Fri, 20 May 2005 13:49:40 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Rafael Correa Liberato <address@hidden> writes:

> My frend, this command chmod -R -o+"rwx" directry is not ok.

-o+"rwx" isn't what you wanted.  It means "If other people have
permissions to the file then remove them; but after that, grant all
permissions; except do not affect any permissions that are masked out
by the umask."  If this is all gobbledygook to you don't worry; the
point is that the option doesn't mean what you thought it meant.

> Only using chmod -R 775 directory that i had sucess.

"chmod -R ug=rwx,o=rx directory" does that.

But did you really want to make every file executable?  If not, "chmod
-R ug=rwX,o=rX directory" might have been better: this grants execute
permissions only to files that are directories or that already have
execute permission for some user.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]