public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mrugesh Karnik <mrugeshkarnik@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]Specific umask for a specific ext3 filesystem
Date: Thu, 17 Nov 2005 23:09:58 +0530	[thread overview]
Message-ID: <437CC06E.2070304@gmail.com> (raw)

Hello,

I have couple of ext3 partitions for my data. I need to mount them in 
such a way that all the files created on those partitions would always 
bear a umask which is different from the umask globally set in 
/etc/profile. How do I achieve this?

I tried mounting the partition with umask=whatever option, but 
apparently, according to man mount, umask option isn't available for ext3.

Temporarily, I've put a little code into /etc/conf.d/local.start that 
checks if the the partitions are mounted and if they are, chmod's them. 
This, I don't think will be a good idea, once data starts filling up the 
partition....

Help would be really appreciated.

Thanks,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



                 reply	other threads:[~2005-11-17 17:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=437CC06E.2070304@gmail.com \
    --to=mrugeshkarnik@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