From: Alan McKinnon <alan@linuxholdings.co.za>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Question regarding dual boot accessibility...
Date: Mon, 26 Feb 2007 21:18:38 +0200 [thread overview]
Message-ID: <200702262118.38709.alan@linuxholdings.co.za> (raw)
In-Reply-To: <45E2D0FA.6040201@comcast.net>
On Monday 26 February 2007, Chris wrote:
> Hello,
>
> I have a dual boot windows / Gentoo system. I have my NTFS (windows)
> main partition listed in fstab with "user,noauto,nosuid, noatime". A
> normal user can mount and umount it, but cannot change directories,
> look at files, etc. as they'll get a permission denied error. When I
> list the files and dirs, they all show up as belonging to
> "root:root", with no access for group and others.
>
> My question is: Is there a way to allow normal users to at least
> read these files and change dirs, short of chown and/or chmod on the
> NTFS partition?
ntfs does not understand unix permissions, so there is no concept of a
unix owner and group. You use the uid and gid options to fudge one -
normally root:root is ok.
Then to set permissions, use the umask option. 0555 should be OK -
read/execute for all. It must be 5 otherwise you can't cd into a
directory.
Actually you want fmask and dmask options like as in vfat, but mount -t
ntfs doesn't support that, so you have to make do with umask.
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-02-26 19:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-26 12:22 [gentoo-user] Question regarding dual boot accessibility Chris
2007-02-26 13:06 ` Peter Ruskin
2007-02-26 13:15 ` Mick
2007-02-26 19:18 ` Alan McKinnon [this message]
2007-02-26 19:35 ` Mick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200702262118.38709.alan@linuxholdings.co.za \
--to=alan@linuxholdings.co.za \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox