[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: [opensuse] running a program before shutdown
From:       James Knott <james.knott () rogers ! com>
Date:       2014-04-29 14:03:38
Message-ID: 535FB13A.6040407 () rogers ! com
[Download RAW message or body]

James Knott wrote:
> Benjamin wrote:
>> what is the difference between chmod 777 and chmod -x ? And must i
>> also run chmod as sudo if i make an script for me as a normal user or
>> does it suffice to run chmod as user? 
> Chmod 777 sets all bits, so everyone will have read, write and execute
> privileges.  Chmod -x only enables the execute bit.  You don't need to
> use sudo for your own files.

Sorry, -x remove execute.  Use +x to add it.

-- 
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic