Re: [Hampshire] fstab question

Top Page
Author: Andy Smith
Date:  
To: hampshire
Subject: Re: [Hampshire] fstab question

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57be5100.hantslug.org.uk.615': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Mon Aug 6 16:35:26 2007 BST
gpg: using DSA key 2099B64CBF15490B
gpg: Can't check signature: No public key
Hi Owain,

On Mon, Aug 06, 2007 at 04:25:04PM +0100, Owain Clarke wrote:
> I have this line in /etc/fstab:-
>
> /dev/hdb1  /windows/e  ntfs  ro,users    0    0

>
> The intention is that I can read files in this partition as an ordinary
> user - I'm not interested in writing to it as I haven't investigated the
> current state of play with writing to NTFS. But when I try to open the
> directory to read I get a permission denied message, with access as
> read-only for root and none for anyone else. What have I got wrong?


NTFS doesn't use the same permissions scheme as UNIX filesystems, so
you have to tell it i the mount options which user/group will own the
files and what their permissions should be. The "user" option
merely allows a non-root user to mount the fs; what you end up with
is still an fs with all files owned by root.

See "uid", "gid" and "umask" options.

Cheers,
Andy

--
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB

My words are my own and do not represent Jacqui Caren.