LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NFTS FC3 users and root (https://www.linuxquestions.org/questions/linux-newbie-8/nfts-fc3-users-and-root-275283/)

dhalnes 01-08-2005 03:54 AM

NFTS FC3 users and root
 
I have a problem thats about user rights to the NTFS filesystem. I want no acces the NTFS system as $user and not as #root but when i try to change the user right and ownership (chmod and chown) of the folder (eks. /mnt/c/(NTFS-filsystem) i get the message that the filesystem is Writeprotected.. I know that it`s bad to write to a ntfs system but i onely want to read from the filesystem as $user so i eks. dont have to start the consol and swich user and then start xmms from the consol as #root to listen to my mp3`s from the NTFS system.. *puh*

whipermr5 01-08-2005 05:51 AM

Add this to your /etc/fstab where your ntfs is mounted in the fourth field from the left: ro,umask=000

This mounts the fs in read-only mode. The umask means that ordinary users can read the information on the partition. The next time you reboot, the changes should take effect.

adriaanbw 01-08-2005 05:52 AM

You can specify the user access rights to your /mnt/c directory when you issue the mount command. For example,

Code:

mount /dev/hdx# /mnt/windows -t ntfs -o uid=user,gid=user
where x# is the drive and partition number (ie hda2, hdc1 etc)


All times are GMT -5. The time now is 10:53 PM.