[NCLUG] No Permission

Bob Proulx bob at proulx.com
Mon Feb 11 11:21:27 MST 2013


dann frazier wrote:
> > N0WIQ <n0wiq at comcast.net> wrote:
> > >The listing was made with ls -la because doing $ ./Chapter0108 gives me
> > >a permission denied error.  What am I missing?
>
> And #3 - assuming this is a script, make sure the first line is
> sane. It should look something like this:

Is that really a script?  It looks to me like it should be a file
instead of a script.  Is it documentation?  Perhaps you just need to
look at it with a text browser?

  less Chapter0108

Is it possible that it is simply a text file that mistakenly got
execute permission after the file was copied from an MS-DOS partition,
USB storage device, other FAT type of storage?  Because there isn't
any equivalent 'x' bit there Linux mounts all such devices as
executable even if they are not.  This often causes my camera images
to be erroneously executable and I am always fixing permissions due to
this everywhere as I see them.

Bob



More information about the NCLUG mailing list