Re: cannot execute make-fstab in Debian?

2020-04-07 Thread Andrei POPESCU
On Ma, 07 apr 20, 14:53:01, Greg Wooledge wrote: > > At this point, it's pretty clear the file system is mounted without > exec permission, so just fix the mount options. Most likely the script is trying to execute some other scripts and/or executables on the same filesystem, so that's why it fa

Re: cannot execute make-fstab in Debian?

2020-04-07 Thread Greg Wooledge
On Tue, Apr 07, 2020 at 08:46:07PM +0200, to...@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 > > wrote: > > > > > > > > > I tried that. I commented my line ( in /etc/fstab ) > > > > > > > > UUID=2E7B-BA02 /media/my

Re: cannot execute make-fstab in Debian?

2020-04-07 Thread tomas
On Wed, Apr 08, 2020 at 01:36:06AM +0800, kaye n wrote: > On Tue, Apr 7, 2020 at 3:51 PM Andrei POPESCU > 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,fmas

Re: cannot execute make-fstab in Debian?

2020-04-07 Thread kaye n
On Tue, Apr 7, 2020 at 3:51 PM Andrei POPESCU 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, > > 00 > > > > and execute

Re: cannot execute make-fstab in Debian?

2020-04-07 Thread Andrei POPESCU
On Ma, 07 apr 20, 03:15:21, kaye n wrote: > On Mon, Apr 6, 2020 at 7:28 PM Andrei POPESCU > wrote: > > > > As for the flash drive, I have to add this line to the /etc/fstab file > > (so > > > I can run .sh files from the flash drive) > > > > Actually you don't, you can just use 'bash myshellscrip

Re: cannot execute make-fstab in Debian?

2020-04-06 Thread kaye n
On Mon, Apr 6, 2020 at 7:28 PM Andrei POPESCU wrote: > > As for the flash drive, I have to add this line to the /etc/fstab file > (so > > I can run .sh files from the flash drive) > > Actually you don't, you can just use 'bash myshellscript.sh' instead ;) > I tried that. I commented my line ( in

Re: cannot execute make-fstab in Debian?

2020-04-06 Thread tomas
On Mon, Apr 06, 2020 at 02:34:07PM +0300, Andrei POPESCU wrote: > On Lu, 06 apr 20, 12:41:26, to...@tuxteam.de wrote: > > > > > > *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, > > > 00 * > >

Re: cannot execute make-fstab in Debian?

2020-04-06 Thread Andrei POPESCU
On Lu, 06 apr 20, 12:41:26, to...@tuxteam.de wrote: > > > > *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, > > 00 * > > It looks right to me (I asume the asterisks at the start and end > of the

Re: cannot execute make-fstab in Debian?

2020-04-06 Thread tomas
On Mon, Apr 06, 2020 at 02:27:57PM +0300, Andrei POPESCU wrote: [...] > That line has several issues [...] Your comb sure is finer than mine, thanks :-) Cheers -- t signature.asc Description: Digital signature

Re: cannot execute make-fstab in Debian?

2020-04-06 Thread Andrei POPESCU
On Lu, 06 apr 20, 18:30:02, kaye n wrote: > Sorry about that. I should have tested it first. > > What I'm trying to achieve is to be able to save files and to run > executable files (like .sh file) from an NTFS partition of the hard drive, > as well as from a USB flash drive. > > It seems that

Re: cannot execute make-fstab in Debian?

2020-04-06 Thread tomas
On Mon, Apr 06, 2020 at 06:30:02PM +0800, kaye n wrote: > Sorry about that. I should have tested it first. > > What I'm trying to achieve is to be able to save files and to run > executable files (like .sh file) from an NTFS partition of the hard drive, > as well as from a USB flash drive. > >

Re: cannot execute make-fstab in Debian?

2020-04-06 Thread kaye n
Sorry about that. I should have tested it first. What I'm trying to achieve is to be able to save files and to run executable files (like .sh file) from an NTFS partition of the hard drive, as well as from a USB flash drive. It seems that in Debian, I can already do that in an NTFS partition of

Re: cannot execute make-fstab in Debian?

2020-04-06 Thread tomas
On Mon, Apr 06, 2020 at 05:54:32PM +0800, kaye n wrote: > Hello Friends! > > I assume this is the correct syntax? > > sudo make-fstab > > I can execute it in another distro but not in my Debian. Perhaps you might tell us what the error message looks like. My guess is that there is no command wi

cannot execute make-fstab in Debian?

2020-04-06 Thread kaye n
Hello Friends! I assume this is the correct syntax? sudo make-fstab I can execute it in another distro but not in my Debian. Here's my Debian: Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.4 Distro: Debian GNU/Linux 10 (buster) Thank you very much!