View previous topic :: View next topic |
Author |
Message |
Ventrue n00b
Joined: 28 Aug 2003 Posts: 55
|
Posted: Fri Oct 31, 2003 6:34 pm Post subject: NTFS & FAT32 Partitions only readable by root |
|
|
Hi!
I have a problem mentioned above. Only r00t can access these types of partitons, regular users can't.
Can anyone tell me how to fix this??? |
|
Back to top |
|
|
mpsii l33t
Joined: 11 Mar 2003 Posts: 658 Location: Jackson, TN
|
Posted: Fri Oct 31, 2003 7:03 pm Post subject: |
|
|
When mounting, there is a umask option, such as below. This example shows read only access.
Code: | [root@gatsby davew]# mount -t ntfs -o umask=0222 /dev/hda1 /mnt/nt
> [root@gatsby davew]# ls -l /mnt/nt
> total 16
> dr-xr-xr-x 1 root root 4096 Mar 9 1997 Program Files
> dr-xr-xr-x 1 root root 20480 Dec 15 21:13 archive
> -r--r--r-- 1 root root 0 Nov 14 1996 autoexec.bat
> -r--r--r-- 1 root root 278 Nov 18 11:52 boot.ini |
The same option can be used in /etc/fstab like so:
Code: | /dev/hda1 /mnt/ntfs ntfs ro,umask=0222 0 0 |
_________________ -----------------------------------------
Michael |
|
Back to top |
|
|
HackerBunny Tux's lil' helper
Joined: 01 Nov 2003 Posts: 92 Location: West Covina, Ca
|
Posted: Sat Nov 01, 2003 6:27 am Post subject: |
|
|
I've had this problem also. My windows drive is labeled Windows in mnt, does that change anything?
HDA = Windows Partition. HDB = HD2, HD3, HD4 (Root, Swap, Home)
Even in my Browser the Windows partition is broken.
And should I partition my Linux HDD a different way? The Linux HDD is 10 Gig and the Windows is 80 Gig........ _________________ ~I'm not using linux to be cool, I'm using it to show the people wanting to use linux that I'm cool and know their OS better then them.~ |
|
Back to top |
|
|
ronmon Veteran
Joined: 15 Apr 2002 Posts: 1043 Location: Key West, FL
|
Posted: Sat Nov 01, 2003 12:58 pm Post subject: |
|
|
From the fstab on my lappy:
Code: |
/dev/hda10 /home/fat vfat rw,auto,users,uid=1000,gid=100 0 0
|
This gives ownership and read/write access to my normal user. If you want others in the users group to have access just set the gid and skip the uid. I don't think that umask will work on vfat because it doesn't do permissions. NTFS support is still pretty shaky. |
|
Back to top |
|
|
nex_tym Apprentice
Joined: 29 Jul 2003 Posts: 211
|
Posted: Sat Nov 08, 2003 4:50 pm Post subject: |
|
|
Did anyone ever find a solution to this? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Nov 08, 2003 5:02 pm Post subject: |
|
|
Did anyone look at the FAQ Forum entry?
Moved from Multimedia. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
nex_tym Apprentice
Joined: 29 Jul 2003 Posts: 211
|
Posted: Sat Nov 08, 2003 7:34 pm Post subject: |
|
|
Quote: | Did anyone look at the FAQ Forum entry? |
professional response you have there.
Anyways, as you can see the solution was already mentioned ( a few times) and i had two windows open and meant to post in here about removing the icons. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Nov 09, 2003 5:32 am Post subject: |
|
|
nex_tym wrote: | Quote: | Did anyone look at the FAQ Forum entry? |
professional response you have there. | My apologies. I was responding to the original post, and in general to anyone involved in the thread. I hadn't actually read your post. I can understand why you thought it would be unprofessional.
Anyone else coming across this, please see the entry in the FAQ Forum on NTFS/VFAT permissions. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|