On Wed, 23 Jan 2002 13:49:54 -0500
"Ronald J. Hall" <[EMAIL PROTECTED]> wrote:

> Aleksey wrote:
> > 
> > Dear experts,
> > 
> > Does anyone know why I get the "No such file or directory" message
when> > trying to run an executable in bash? Here's what I have:
> > 
> > [aleksey@botik aleksey]$ ls -la
> > total 97900
> >    [ snip ]
> > -rwxr--r--    1 aleksey  aleksey    104318 Jan 22 20:31 swatgrs_set*
> > 
> > The executable 'swatgrs_set' is there, but I can't run it:
> > 
> > [aleksey@botik aleksey]$ ./swatgrs_set
> > bash: ./swatgrs_set: No such file or directory
> 
> It looks like its set to only run for root. Have you tried running it as
root?> If it works there, then change your permissions. You should see
some more> "x's" there... ;-)

NOOOOOO!!!!!   Permissions are NOT RRRGGGWWW (Root,Group,World)
Rather, they are OOOGGGWWW (Owner(aleksey),Group,World); also refered to
as uuugggooo (User,Group,Other)...  Hence, chmod [a|u|g|o]...

see:  man chmod, man chown  before attributing -rwx------ to root unless
the uid=root...

HTH,
Pierre



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to