can't change permissions
I'm just trying to run this script and can't add execute permission to execute in
Quote:
|
you can be the root and then use the chmod command to make the script executable..
|
That may happen if the file system does not support permissions.... like fat32 or ntfs.
When chmod cannot modify the mode, and the fs supports this, then it usually returns an error message. So it is odd that you don't get one. @sasuke - his prompt says he is root. If the failure was due to not being root, then the error message would say this. There is no error message. |
@ Simon Bridge then how to make this script executable?? is there any other option to change the permission??
|
Just copy it to somewhere where you can set those permissions ;)
|
Hi,
Why dont you try like this Code:
bash <script_filename> does not work same method works for me. Hope you will find it useful. samtoddler |
|
I have moved that files from NTFS to Linux partition and worked thanks
|
For the future, if you want to be able to execute files in a fs that does not support unix permissions, you can set a permissive umask when you mount the partition. See the man pages for fstab and mount.
|
You might also try running the script like this:
Code:
sh [scriptname] |
All times are GMT -5. The time now is 09:48 PM. |