Gentoo Archives: gentoo-user

From: danielhf@××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to access mounted dir with non-root?
Date: Sun, 14 Aug 2005 03:15:08
Message-Id: 20050814031028.GA6811@daniel
In Reply to: Re: [gentoo-user] how to access mounted dir with non-root? by Neil Bothwick
1 On Sat, Aug 13, 2005 at 09:54:22PM +0100, Neil Bothwick wrote:
2 > On Sat, 13 Aug 2005 17:59:25 -0500, Michael Swanson wrote:
3 >
4 > > Is this technique of umask=0 safe to use on an NTFS volume? I want to
5 > > mount an NTFS drive on my desktop so that a regular user can access it.
6 > > Is there a similar way to mount it with only read permissions,
7 > > seeing as writing to NTFS drives isn't usually a particularly good idea
8 > > with Linux.
9 >
10 > NTFS partitions are usually mounted with the ro option (read only) so it
11 > doesn't matter what write permissions you set. But to be certain, you
12 > could set umask=222.
13 >
14 >
15 > --
16 > Neil Bothwick
17 >
18 > "Bother," said Pooh, as he pulled the alien face-hugger off.
19
20 thanks again. i use "umask=022" that solved the problem perfectly.
21 just write down the permission you want, eg. 755, then 777 minus
22 755, the result is right the value for the "umask".
23
24 hope it's a useful tip for beginners like me :-)
25
26 best regards
27 daniel
28 --
29 gentoo-user@g.o mailing list