Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NTFS & FAT32 Partitions only readable by root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Ventrue
n00b
n00b


Joined: 28 Aug 2003
Posts: 55

PostPosted: Fri Oct 31, 2003 6:34 pm    Post subject: NTFS & FAT32 Partitions only readable by root Reply with quote

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
View user's profile Send private message
mpsii
l33t
l33t


Joined: 11 Mar 2003
Posts: 658
Location: Jackson, TN

PostPosted: Fri Oct 31, 2003 7:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
HackerBunny
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2003
Posts: 92
Location: West Covina, Ca

PostPosted: Sat Nov 01, 2003 6:27 am    Post subject: Reply with quote

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
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Sat Nov 01, 2003 12:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
nex_tym
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 211

PostPosted: Sat Nov 08, 2003 4:50 pm    Post subject: Reply with quote

Did anyone ever find a solution to this?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20053

PostPosted: Sat Nov 08, 2003 5:02 pm    Post subject: Reply with quote

Did anyone look at the FAQ Forum entry?


Moved from Multimedia.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
nex_tym
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 211

PostPosted: Sat Nov 08, 2003 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20053

PostPosted: Sun Nov 09, 2003 5:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum