public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joseph <syscon@interbaun.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: fstab devmode
Date: Sun, 27 Aug 2006 18:07:59 -0600	[thread overview]
Message-ID: <1156723679.14288.3.camel@sysconcept.ca> (raw)
In-Reply-To: <200608280123.19278.harmgeerts@home.nl>

On Mon, 2006-08-28 at 01:23 +0200, Harm Geerts wrote:
> On Sunday 27 August 2006 23:59, Joseph wrote:
> > Harm Geerts is right (thanks) "umask=0077" does what I need with dos
> > partition, when mounted, usb stick has a permission 700.
> > What would be an alternative for ext2 file system, umask doesn't work.
> 
> I might be wrong but I'm guessing you want different permissions on the 
> mountpoint.
> 
> In that case you can simply `chmod 700 /mnt/your_stick` it with ext2 (while 
> mounted).
> ext2 stores this and will use the same permissions the next mount.
> This is true for all filesystems that support permissions (which all normal 
> linux filesystems do)
> 
> umask is only intended to make up for the lack of file permissions on vfat.

Thanks for the explanation, I did that with "chown" on ext2 and it did
work. 
It makes me wander if anybody experiment with other file systems
(besides dos, ext2) on on memory sticks?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-08-28  0:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-27 18:55 [gentoo-user] fstab devmode Joseph
2006-08-27 19:45 ` [gentoo-user] " Harm Geerts
2006-08-27 20:53 ` [gentoo-user] " Willie Wong
2006-08-27 21:25   ` Joseph
2006-08-27 21:44     ` Daniel Pielmeier
2006-08-27 21:59       ` Joseph
2006-08-27 22:09         ` Richard Fish
2006-08-27 23:23         ` [gentoo-user] " Harm Geerts
2006-08-28  0:07           ` Joseph [this message]
2006-08-28  8:30             ` Neil Bothwick
2006-08-28  8:38               ` Dirk Heinrichs
2006-08-28  8:51                 ` Neil Bothwick
2006-08-28 16:50                   ` Joseph
2006-08-28 18:01                     ` Neil Bothwick
2006-08-28 19:26                       ` Joseph
2006-08-28 20:01                         ` Neil Bothwick

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=1156723679.14288.3.camel@sysconcept.ca \
    --to=syscon@interbaun.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