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

List:       opensuse
Subject:    Re: [opensuse] running a program before shutdown
From:       Cristian Rodríguez <crrodriguez () opensuse ! org>
Date:       2014-04-29 15:22:53
Message-ID: 535FC3CD.5020906 () opensuse ! org
[Download RAW message or body]

El 29/04/14 10:01, James Knott escribió:
> 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.
>

Yes and KDE should probably refuse to run world-writable scripts there.

-- 
Cristian
"I don't know the key to success, but the key to failure is trying to 
please everybody."
-- 
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