Make file executable
by GPGAgent from LinuxQuestions.org on (#6FQTP)
I have a small script I want to execute on a USB stick but I cannot because I don't have the correct access?
The file
Code:jonke@charlie:/media/jonke/VICKERS_AC/CBH$ ls -al R*
-rw-r--r-- 1 jonke jonke 137 Oct 18 18:07 RenameP
jonke@charlie:/media/jonke/VICKERS_AC/CBH$ df -h
/dev/sdc1 15G 5.5G 9.0G 38% /media/jonke/VICKERS_ACAnd i've issued this but it just comes back, no error mesage
Code:jonke@charlie:/media/jonke/VICKERS_AC/CBH$ chmod u=rwx,g=rwx RenameP
jonke@charlie:/media/jonke/VICKERS_AC/CBH$What do I do next?
I know I could just put it into my bin folder and run it from there.
The file
Code:jonke@charlie:/media/jonke/VICKERS_AC/CBH$ ls -al R*
-rw-r--r-- 1 jonke jonke 137 Oct 18 18:07 RenameP
jonke@charlie:/media/jonke/VICKERS_AC/CBH$ df -h
/dev/sdc1 15G 5.5G 9.0G 38% /media/jonke/VICKERS_ACAnd i've issued this but it just comes back, no error mesage
Code:jonke@charlie:/media/jonke/VICKERS_AC/CBH$ chmod u=rwx,g=rwx RenameP
jonke@charlie:/media/jonke/VICKERS_AC/CBH$What do I do next?
I know I could just put it into my bin folder and run it from there.