Okay, figured it out. the partition was not mounted with the EXEC option. Adding that to fstab lets me run the scripts.
Hello, I have a problem with my fstab, I suspect.
I have a data partition mounted in fstab but it seems I cannot write downloads to it.
After upgrading to a new release version, my bash scripts start spitting errors:
bash: /dev/stderr: Permission denied
in previous versions Bash would internally recognize those file names (which is why this question is not a duplicate of this one) and do the right thing (tm), however, this has stopped working now.
I have created a separate partition for all my documents, media and games and stuff, called Data.The problem I am having is executing scripts and binaries.
I am running Ubuntu on computer 1 and computer 2.
I have mounted a partition and add it to fstab file and then rebooted but I see that the partition is not mounted although it was added to fstab.
What is wrong, and how can I solve it?
/dev/xvdf /dev/xvdb1 ext3 defaults 0 0
I upgrade my box from Fedora 16 to Fedora 17.
Now, all my scripts, that runned at F16 is not working ....
Detail, they are in a NFS File system.
sfw3:/home4 /home4 nfs exec,dev,suid,rw,noauto,user 0 0
I already tried remount the FS
mount -o remount,exec /home4
When i execute
bash test.sh it runs.
Any ideia ?
Thanks in advance
it worked in 12.04.
It doesn't work anymore since my migration to 12.10 last week.
Here is the fstab line :
nas:/volume1/dropbox /home/guillaume/NasDropbox nfs defaults,user,nolock,nfsvers=3,exec 0 0
and here is the result:
-bash: ./unison_photos_gentoo.sh: Permission non accordée
I'm trying to chroot into and ubuntu install whose grub I need to reinstall. I have rsync'd my root folder but I've just noticed an issue which is I guess what is giving me this error:
chroot: failed to run command ‘/bin/bash’: Permission denied
when I try to chroot.
Well I gave NTFS another try today and it worked...I then realized that after gparted finished its formatting, it mounted the partition by itself and did not read from fstab entry about permissions and such.