public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]Specific umask for a specific ext3 filesystem
@ 2005-11-17 17:39 Mrugesh Karnik
  0 siblings, 0 replies; only message in thread
From: Mrugesh Karnik @ 2005-11-17 17:39 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-17 17:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-17 17:39 [gentoo-user]Specific umask for a specific ext3 filesystem Mrugesh Karnik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox