gingoblin
August 29th, 2009, 10:46 PM
Hi I'm having trouble running scripts from a new partition created on a second hard drive. The permissions for the mounted partition are all mine (my single user). When I try to execute a script from a directory in said partition I get:
as user
bash: ./test.sh: /bin/bash: bad interpreter: Permission denied
as root
sudo: unable to execute ./test.sh: Permission denied
but if I run the same script out of my user directory. It works fine!
I have no problems running utilities out of /bin in that directory so it can't be pathing
I've tried changing the path and home environment variables to include the directory I'm working in but to no avail. I changed fstab to use the UUID of the partition in mounting no dice.
I've mounted the partition under the filesystem root and as a subdirectory of my user account, no help there.
stumped gingoblin:confused:
as user
bash: ./test.sh: /bin/bash: bad interpreter: Permission denied
as root
sudo: unable to execute ./test.sh: Permission denied
but if I run the same script out of my user directory. It works fine!
I have no problems running utilities out of /bin in that directory so it can't be pathing
I've tried changing the path and home environment variables to include the directory I'm working in but to no avail. I changed fstab to use the UUID of the partition in mounting no dice.
I've mounted the partition under the filesystem root and as a subdirectory of my user account, no help there.
stumped gingoblin:confused: