not able to execute file in external hard disk of NTFS file system
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
not able to execute file in external hard disk of NTFS file system
I am not able to execute any program or shell script file in my external hard disk NTFS file . I am using fedora 14. While the same file in my home directory can be executed easily, while in external hard disk it says permission denied. In external hard disk files has only read and write permission. Through chmod +x or +777 <file name> i have tried to change the permission also, but of no use. But in other system that file can be executed easily. That problem is occurring only for NTFS hard disk while in ext3 hard disk file can be executed easily. Also I am using windows and Linux in the same system.
Have you tried doing so using root? If so, and it works, clearly the permissions need to be changed. Also, being NTFS, this may be part of the problem itself. I don't use NTFS, so I can not confirm this on my own.
for both i am getting permission denied. All my file showing -rw-r--r-- permission but not the execute permission (by doing ls -l). while a folder has drwx------ permission, but when i enter to the folder the files dont have execute permission. And the same file is running in my home directory.
Honestly, I'm really thinking it has something to do with the NTFS format. Have you tried copying the file(s) to a linux-type partition and try setting +x?
The file can be execute in linux partation by doing +x.
As I have told you the same file is running in my linux home directory or ext3,4 external hard disk. And the same file is showing permission denied in external hard disk with NTFS file system. As I am using both linux and windown xp in the same system. And through linux i can go to my window partition and their also (which is NTFS) while running the file it showing permission denied.
Why i am not able to change file permission in NTFS file system hard disk. This problem occur recently as earlier i am able run the program in every file system (i.e., NTFS also).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.