From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: ntfs-3g access rights
Date: Mon, 4 Oct 2010 07:26:16 +0100 [thread overview]
Message-ID: <201010040726.16967.michaelkintzios@gmail.com> (raw)
In-Reply-To: <AANLkTikkqMm=KDn5ixskmrh2=mTD47yt-3Pm0vKZ-B4v@mail.gmail.com>
[-- Attachment #1: Type: Text/Plain, Size: 2834 bytes --]
On Sunday 03 October 2010 20:48:09 Nganon wrote:
> On Sun, Oct 3, 2010 at 10:19 PM, Mick <michaelkintzios@gmail.com> wrote:
> > On Sunday 03 October 2010 20:00:23 Alan McKinnon wrote:
> [..]
>
> > > Assuming your uid is 1000, primary group 1000, you can then use options
> > > something like:
> > >
> > > uid=1000,gid=1000,dmask=0007,fmask=0117
> > >
> > > which gives a sane unix-like set of permissions. Nothing close to
> > > windows but a) you don't have to be root to use it and b) the www user
> > > can't trash your files on the ntfs volume.
> > >
> > > Like I said, I've never used ntfs-3g but the above is a pretty common
> > > permissions model and it's reasonable to assume ntfs-3g probably
> > > implements it or something similar. As always, read the fine docs and
> > > YMMV.
> >
> > Thanks Neil, much appreciated. I'll have a play with the dmask, fmask
> > settings as you suggest and see what gives.
> > --
> > Regards,
> > Mick
>
> Here it is in action...
>
> Sun Oct 03 | 22:38:57 ~ $ grep ntfs /etc/fstab
> #/dev/hda3 /mnt/hda3 ntfs-3g
> dmask=007,fmask=117,gid=6,locale=en_US.UTF-8 0 0
> Sun Oct 03 | 22:39:11 ~ $ ll /mnt/hda3/
> total 461
> -rw-rw---- 1 root disk 0 Mar 7 2004 AUTOEXEC.BAT
> -rw-rw---- 1 root disk 4952 Aug 4 2004 Bootfont.bin
> -rw-rw---- 1 root disk 210 Apr 28 13:54 boot.ini
> -rw-rw---- 1 root disk 0 Mar 7 2004 CONFIG.SYS
> drwxrwx--- 1 root disk 4096 Feb 20 2010 Documents and Settings
> drwxrwx--- 1 root disk 32768 Dec 25 2009 f66ab2f450887cbdbce72b4ac54c5a
> -rw-rw---- 1 root disk 0 Mar 7 2004 IO.SYS
> drwxrwx--- 1 root disk 4096 Mar 27 2009 MinGW
> -rw-rw---- 1 root disk 166 Dec 13 2009 mp4log.txt
> -rw-rw---- 1 root disk 0 Mar 7 2004 MSDOS.SYS
> drwxrwx--- 1 root disk 0 Mar 29 2010 My Photo
> drwxrwx--- 1 root disk 0 Mar 29 2010 My Video
> drwxrwx--- 1 root disk 4096 Jul 11 2009 nrn71
> -rw-rw---- 1 root disk 47564 Aug 4 2004 NTDETECT.COM
> -rw-rw---- 1 root disk 250560 Sep 28 2008 ntldr
> drwxrwx--- 1 root disk 28672 Apr 28 13:43 Program Files
> drwxrwx--- 1 root disk 4096 Mar 9 2004 pyqt
> drwxrwx--- 1 root disk 12288 Dec 7 2009 Python25
> drwxrwx--- 1 root disk 4096 Jul 10 2009 Python31
> drwxrwx--- 1 root disk 0 Sep 12 2008 Qt
> drwxrwx--- 1 root disk 0 Apr 28 13:35 RECYCLER
> drwxrwx--- 1 root disk 4096 Jan 7 2010 System Volume Information
> drwxrwx--- 1 root disk 61440 Apr 28 13:43 WINDOWS
> Sun Oct 03 | 22:39:42 ~ $
>
> ..huh! I just noticed, it seems I havent booted the damn thing since
> August.. [snigger]
>
> Btw, his name is Alan, not Neil. WB Alan. :)
Of course Alan! Neil sounds totally different ... Sorry, should have gone to
bed earlier!
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-10-04 6:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-03 14:13 [gentoo-user] ntfs-3g access rights Mick
2010-10-03 15:39 ` [gentoo-user] " Nikos Chantziaras
2010-10-03 15:58 ` Mick
2010-10-03 19:00 ` Alan McKinnon
2010-10-03 19:19 ` Mick
2010-10-03 19:48 ` Nganon
2010-10-04 6:26 ` Mick [this message]
2010-10-04 13:13 ` James
2010-10-04 14:11 ` Dale
2010-10-04 21:44 ` 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=201010040726.16967.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