I'm new to linux as I just purchased a raspberrypi. When I use chmod to change the permissions of a .py file so that I can execute it, and add -v at the end: "chmod a+x test.py -v " the changed permissions are displayed as changed " rwxr-xr-x " then when I enter " ls -l ", the permissions are as they were before I used chmod. " rw-r--r-- " What's going on? Thanks
Asked
Active
Viewed 290 times
1 Answers
0
The files that I was trying to give "execute" privilege to were on a usb memory stick. When I moved them to the home directory I was able to change them. So, perhaps their location caused my problem. Peter

Peter Stewart
- 2,857
- 6
- 28
- 30