Results 1 to 6 of 6
Hello Everyone ,
Can anyone please guide if there is any way to change file permisions of NTFS drives ? All my C programming files resides in a NTFS drive ...
- 04-10-2011 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 12
chmod on NTFS drives
Hello Everyone ,
Can anyone please guide if there is any way to change file permisions of NTFS drives ? All my C programming files resides in a NTFS drive and I need to set execute permision on them in order to run.
I tired chmod -Rv 777 /media/Programming.
and also tired
chmod 775 *.* after entering the folder in which all my files resides.
but both these commands doesn't seem to have any effect on the files.
I know NTFS doesn't use Unix file system and chmod command goes in vain. Is there anyway around to do it.
Thanking You
- 04-10-2011 #2
man mount.ntfs
You can mount ntfs with different default permissions.You must always face the curtain with a bow.
- 04-10-2011 #3Just Joined!
- Join Date
- Sep 2008
- Posts
- 12
Thanking You very much reminding me this. I had to manually mount the drive using the -o exec option.
Just to complete the thread , this is what I had to do.
mount -t ntfs-3g -o exec /dev/sdb7 /media/Drive
Fedora gives you the freedom to mount your ntfs automatically with just a click. Is there any way to add the -o exec option in the default mounting operation? Kindly let me know if it is possible.
Thank You
Regards
Genocide_Hoax
- 04-10-2011 #4Just Joined!
- Join Date
- Sep 2006
- Location
- Norfolk Island
- Posts
- 31
check out autofs.
- 04-11-2011 #5
You can edit /etc/fstab file and add option(s) in mount line of NTFS Partition.
Code:/dev/sdb7 /media/Drive ntfs-3g defaults,exec,umask=0 0 0
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 04-11-2011 #6Just Joined!
- Join Date
- Sep 2008
- Posts
- 12
Ok thank you very much.


Reply With Quote