[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot execute make-fstab in Debian?



On Tue, Apr 07, 2020 at 08:46:07PM +0200, tomas@tuxteam.de wrote:
> On Wed, Apr 08, 2020 at 01:36:06AM +0800, kaye n wrote:
> > On Tue, Apr 7, 2020 at 3:51 PM Andrei POPESCU <andreimpopescu@gmail.com>
> > wrote:
> > 
> > >
> > > > I tried that. I commented my line ( in /etc/fstab )
> > > >
> > > > UUID=2E7B-BA02   /media/myflashdrive   vfat
> > > >
> > > user,rw,noauto,uid=1000,gid=users,umask=0,dmask=0,fmask=0,users,exec,x-systemd.device-timeout=5s,
> > > > 0    0
> > > >
> > > > and executed
> > > >
> > > > bash ./run_game.sh
> > > >
> > > > it would'nt run.
> > >
> > > My crystal ball is clouded this morning.
> > >
> > > How about showing the error messages and the script?
> > >
> > 
> > kaye@laptop:/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux$
> > ./run_game.sh
> > bash: ./run_game.sh: Permission denied
> > 
> > kaye@laptop:/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux$
> > bash ./run_game.sh
> > Running 64-bit version...
> > ./run_game.sh: line 17:
> > /media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux/bin-64/supertuxkart:
> > Permission denied
> 
> [...]
> 
> Three things would  be interesting:
> 
>  ls -l ./run_game.sh
>  head -5 ./run_game.sh
>  ls -l /media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux/bin-64/supertuxkart

At this point, it's pretty clear the file system is mounted without
exec permission, so just fix the mount options.

Remember that "users" implies "noexec", too.  If you want to keep "users",
you should add "exec" explicitly.


Reply to: