Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #221082

Re: cannot execute make-fstab in Debian?

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: cannot execute make-fstab in Debian?
Date 2020-04-07 21:00 +0200
Message-ID <zT1C1-36k-7@gated-at.bofh.it> (permalink)
References (3 earlier) <zSy6Z-28y-3@gated-at.bofh.it> <zSFrP-6Gf-7@gated-at.bofh.it> <zSRjj-5m1-1@gated-at.bofh.it> <zT0mC-2pL-3@gated-at.bofh.it> <zT1sm-32R-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

cannot execute make-fstab in Debian? kaye n <guikaye@gmail.com> - 2020-04-06 12:00 +0200
  Re: cannot execute make-fstab in Debian? <tomas@tuxteam.de> - 2020-04-06 12:10 +0200
    Re: cannot execute make-fstab in Debian? kaye n <guikaye@gmail.com> - 2020-04-06 12:40 +0200
      Re: cannot execute make-fstab in Debian? <tomas@tuxteam.de> - 2020-04-06 12:50 +0200
        Re: cannot execute make-fstab in Debian? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-06 13:40 +0200
          Re: cannot execute make-fstab in Debian? <tomas@tuxteam.de> - 2020-04-06 13:50 +0200
      Re: cannot execute make-fstab in Debian? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-06 13:30 +0200
        Re: cannot execute make-fstab in Debian? <tomas@tuxteam.de> - 2020-04-06 13:40 +0200
        Re: cannot execute make-fstab in Debian? kaye n <guikaye@gmail.com> - 2020-04-06 21:20 +0200
          Re: cannot execute make-fstab in Debian? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-07 10:00 +0200
            Re: cannot execute make-fstab in Debian? kaye n <guikaye@gmail.com> - 2020-04-07 19:40 +0200
              Re: cannot execute make-fstab in Debian? <tomas@tuxteam.de> - 2020-04-07 20:50 +0200
                Re: cannot execute make-fstab in Debian? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-04-07 21:00 +0200
                Re: cannot execute make-fstab in Debian? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-08 08:40 +0200

csiph-web