permissions and owner of ntfs mounted drive
hi i mounted a hdd partition as follows in fstab:
/dev/sdb1 /mnt/windows1 ntfs defaults 0 0 now when i try to acess it under my user it states "Unable to enter file:///mnt/windows1. You do not have access rights to this location." so first i tried in terminal: "chown hraesvelg /mnt/windows1" feedback:"chown: changing ownership of `/mnt/windows1': Read-only file system" i tried entering the folder in my user and it said the same thing. so then i decided to do "ls -l /mnt/windows1" feedback: -r-------- 1 root root 0 2007-11-15 21:05 AUTOEXEC.BAT -r-------- 1 root root 194 2007-11-15 20:59 boot.ini -r-------- 1 root root 0 2007-11-15 21:05 CONFIG.SYS dr-x------ 1 root root 4096 2007-11-15 21:12 Documents and Settings -r-------- 1 root root 2145898496 2008-10-16 14:33 hiberfil.sys -r-------- 1 root root 0 2007-11-15 21:05 IO.SYS -r-------- 1 root root 0 2007-11-15 21:05 MSDOS.SYS -r-------- 1 root root 45124 2001-08-23 08:00 NTDETECT.COM -r-------- 1 root root 222368 2001-08-23 08:00 ntldr -r-------- 1 root root 390070272 2008-10-16 14:33 pagefile.sys dr-x------ 1 root root 8192 2008-01-23 12:28 Program Files dr-x------ 1 root root 4096 2008-06-10 19:47 RECYCLER dr-x------ 1 root root 4096 2008-02-25 17:26 System Volume Information dr-x------ 1 root root 0 2007-11-15 16:27 WebCam dr-x------ 1 root root 28672 2008-10-16 14:37 WINDOWS dr-x------ 1 root root 0 2007-11-15 22:09 WUTemp -r-------- 1 root root 146 2007-11-15 21:50 YServer.tx then i tried "chmod ugo+rx /mnt/windows1" feedback:"chmod: changing permissions of `/mnt/windows1': Read-only file system" so from this i determined that sence its a read only file system as stated above in the chown and chmod feedback that im only allowed to acess it as root. what can i do so that i dont have to be root to acess this drive becuase its almost useless to have it in this computer if i cant acess it under my user. |
Well, first you should probably use the 3rd generation NTFS driver, ntfs-3g rather than the older r/o ntfs driver.
Here's how I set up access to the Vista partitions that came with this laptop: Code:
$ cat /etc/fstab | grep -i ntfs Code:
$ ls -l /Vista/ |
but can your user get access to the drives? and if so how would i find the uuid becuase i hear its a better way to write in the fstab?
plus im not worried about write access the hard drive is full to the maximum all i want to do is to access my videos/pictures/documents music etc.. but i dont want to log in as root and use root as my main user because thats bad security practice so to have this drive in my computer i need user access to it so it would be a practical drive. |
May I suggest that you read up on some of the multitude of other threads that already exist concerning mounting ntfs drives. The "similar threads" box at the bottom of this page should be a good place to start.
As a hint to get you started though, ntfs drives are not able to natively support Linux permissions and ownership. They have to be simulated with various mount options. |
sry for posting a similar thread i was just in a hurry to ask the question. and thanx for the help
|
All times are GMT -5. The time now is 08:19 AM. |