-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Cara,

On 16 May 2008 at 18:40, Cara Quinn <[email protected]> said:

>    Okay, still can't run this from terminal.  I get a permission  
> denied msg.  I also did a chown on it but no dice.  And I got an error 
> from doing:
> 
> chmod 111100100 AudioQuake-0.3.0.3_mac-binary.run
> 
>    So am at a loss right now.

Nice try, but chmod doesn't take binary digits for arguments.  You can 
give permissions using either symbolic characters or octal.  Since you're 
up for bit-fiddling, we'll use octal.  Each octal digit represents three 
binary digits.  Permissions are twelve bits in total.

First digit: setuid (4), setgid (2), sticky (1)
Second digit: owner read (4), owner write (2), owner execute (1)
Third digit: group read (4), group write (2), group execute (1)
Fourth digit: world read (4), world write (2), world execute (1)

ls -l shows type and permissions of an entry in ten bytes.  R read, W 
write, X execute; the first byte is the type of file being listed 
(d=directory, l=link and some others).  If there is a dash in the first 
position, it's a regular file; a dash in other respective positions means 
the permission bit is off.  The nine letters after the first are 
permissions for owner, group, world, in that order.  Some special cases 
exist for the first set of permissions (setuid, setgid, sticky); don't 
worry about them for now.  They're usually dangerous, and are sometimes 
called the "Naughty bits".  So
- -rwxr-xr-x means a regular file with read-write-execute for owner and read-
execute for everyone else.  (To represent naughty bits, the x in group or 
owner columns becomes an s for setuid and setgid or capital S for setuid 
and setgid when x is off, t for sticky in the world column when x is on or 
capital T when off.  Clever, eh?)

I think rwxr-xr-x is what you want.  So do this:
chmod 0755 AudioQuake-0.3.0.3_mac-binary.run

And then run it:
./AudioQuake-0.3.0.3_mac-binary.run

Cheers,
Sabahattin

- -- 
Sabahattin Gucukoglu <sebby<at>agrip<dot>org<dot>uk>
Address harvesters, snag this: [EMAIL PROTECTED]
Sound, QA, Misc. Development,
AGRIP Project
http://agrip.org.uk/


-----BEGIN PGP SIGNATURE-----
Version: PGP 8
Comment: QDPGP - http://community.wow.net/grt/qdpgp.html

iQA/AwUBSC8zpSNEOmEWtR2TEQIFYgCgjLmCzUGQkTtWX0JpvS0z/A0Y+sYAoKmC
NX4tPSgvowFUAs7FkjkHU2tc
=xzUZ
-----END PGP SIGNATURE-----
_______________________________________________
AGRIP-discuss mailing list
[email protected]
http://lists.agrip.org.uk/cgi-bin/mailman/listinfo/agrip-discuss

Reply via email to