public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Question regarding dual boot accessibility...
Date: Mon, 26 Feb 2007 19:35:21 +0000	[thread overview]
Message-ID: <200702261935.42549.michaelkintzios@gmail.com> (raw)
In-Reply-To: <200702262118.38709.alan@linuxholdings.co.za>

[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]

On Monday 26 February 2007 19:18, Alan McKinnon wrote:
> 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.

Whilst you're at it you may want to consider ntfs-3g which can also write to 
ntfs:

 http://packages.gentoo.org/search/?sstring=ntfs3g

I haven't had any corruption or failures so far (keeps fingers crossed) but I 
am not sure that I would trust a production environment to it.  You mileage 
may vary.
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2007-02-26 19:44 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
2007-02-26 19:35   ` Mick [this message]

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=200702261935.42549.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --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