I want to run a bash script in a directory /media/aliakbar/New Volume(internal drive)/further/path/to/file
.
The problem is: with chmod +x the file's permission is not changed (proof: I couldn't execute script from terminal):
-rw------- 1 aliakbar aliakbar 561 Jun 8 14:05 buildscript_0.10.0.sh
I moved the file to /home/<user>/Downloads/
, did chmod +x which worked, and moved file back to /media/aliakbar/New Volume(internal drive)/further/path/to/file
, replaced non-executable file but still with ls -l there's no change!?
NOTE: I'm on Ubuntu LTS 14.04 (dualboot) with df -T
run in file directory returning:
/dev/sda3 fuseblk 277228568 168883892 108344676 61% /media/aliakbar/New Volume
New Volume
is on an internal driveunfortunately I don't know how it's mounted, I have only an empty
/etc/fstab.d/
folder
What am I doing wrong?
/dev/sda3 fuseblk 277228568 168883892 108344676 61% /media/aliakbar/New Volume
– Aliakbar Ahmadi Jun 08 '15 at 12:29sudo mount /media/aliakbar/New\ Volume -o remount,rw,uid=1000
? – Sergiy Kolodyazhnyy Jun 08 '15 at 12:31sudo blkid
– Sergiy Kolodyazhnyy Jun 08 '15 at 12:34blkid
returns:/dev/sda3: LABEL="New Volume" UUID="CA9C196A9C1951F5" TYPE="ntfs"
– Aliakbar Ahmadi Jun 08 '15 at 12:36/etc/fstab
? – terdon Jun 08 '15 at 12:42/dev/whatever
and/mnt/whatever
in my case? http://askubuntu.com/questions/11840/how-do-i-use-chmod-on-an-ntfs-or-fat32-partition#comment534753_11843 – Aliakbar Ahmadi Jun 08 '15 at 13:01