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.
I hope I dint messed up things big time, but I am getting the 'permission denied' message when trying to view or modify a directory/file of a different user from root account.
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've mounted a USB in /etc/fstab:
UUID=xxxx-xxxx /mnt/someFolder auto users,uid=...
I want to save important files to this partition, but I want to have a backup on my normal filesystem in case the partition goes corrupt.
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