On 09/11/2011 09:38 PM, George OLson wrote:
On 09/12/2011 01:24 AM, Ken Schneider - openSUSE wrote:
Make sure you set the file execute flag, chmod +x <file to execute>.
For some reason I don't seem to have to do that.
Here are my permissions: -rw-r--r-- 1 george users 440 Sep 12 09:23 ASUStoKING.sh
Yet the file executes no problem both from the konsole and linking to application as described in the earlier post. I am not logged in as root either when I try to run it, just a normal user.
I did a google search for why and someone wrote that because shell commands can be executed from the command line without setting permissions, a shell script can do the same. Does that sound right to you guys? In any case, my script executes, and I don't have the permission to execute flag set on that file.
George You can run a command without setting permissions as such from the command line:
$ bash programname however if you try $ ./programmname it will say permission denied if not marked as +x perhaps KDE reads the environment and uses the appropriate command -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org