LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   FC3 : how to change permission of directories where filesystems are mounted ? (http://www.linuxquestions.org/questions/fedora-35/fc3-how-to-change-permission-of-directories-where-filesystems-are-mounted-341286/)

minnie 07-08-2005 11:09 AM

FC3 : how to change permission of directories where filesystems are mounted ?
 
Hi !
I have a dual boot system with Windows XP and FC3 . I mounted my windows partition by including this line in /etc/fstab :
/dev/hda5 /DWin ntfs defaults 0 0

where DWin is a directory i created in '/' with initial permission drwxr-xr-x
But after i rebooted and Windows partition was mounted , the permission of DWin changed to dr-x------
I tried changing its permission using chmod , but failed as its read-only now .
Now i can access the data in Windows partition from root but not from any user login.

Plz tell me how to change its permission back to 755.

Thanx.

okmyx 07-08-2005 11:23 AM

Linux does not officially support writing to NTFS partitions. (can be done but not recommended for newbies)

So the best you can do is to mount it read only

try this in your fstab
/dev/hda5 /DWin ntfs users,umask=000,ro 0 0

(note: you could have searched previous postings and would have found the same solution)


All times are GMT -5. The time now is 07:14 PM.