public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  [OT] ext3 file permissions on a USB drive
@ 2009-03-15 21:16 »Q«
  2009-03-15 22:00 ` Neil Bothwick
  2009-03-16 19:59 ` [gentoo-user] " Dan Farrell
  0 siblings, 2 replies; 6+ messages in thread
From: »Q« @ 2009-03-15 21:16 UTC (permalink / raw
  To: gentoo-user

I promise I googled.  I found the question asked quite a bit, but never
found a solution.  This isn't a Gentoo-specific question, so I marked
it [OT].

I have a USB HDD, using ext3, and I'd like all users to be able to have
full permissions for any file on it.  It's *not* a problem to mount it
rw for all users;  I mention this because googling turned up a lot of
people mistaking that question for the one I want to ask.

The problem is that if user A on machine X creates a file on the drive,
it has access permissions 644, which makes it impossible for user B on
machine Y to modify the file.  (User A and user B are both me, but with
different UIDs on the different machines.)

What I'd like is for all files created on the drive to have
permissions 666, but I don't see any way to override the system umask
(0022) for only this drive.  I saw somewhere suggested that setting
the device node and the mountpoint permissions both to 666 would do
that, but it doesn't work for me (and I don't know why it would for
anyone).

As it is now, I have to occasionally use '# chmod -R 666' on the
entire drive before I can work with files on it.

If I reformat the disk as vfat, I could use the umask mount option for
vfat, but if possible I'd rather keep using ext3.

-- 
»Q«
     Kleeneness is next to Gödelness.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-16 19:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-15 21:16 [gentoo-user] [OT] ext3 file permissions on a USB drive »Q«
2009-03-15 22:00 ` Neil Bothwick
2009-03-16  5:26   ` [gentoo-user] " »Q«
2009-03-16  8:39     ` Neil Bothwick
2009-03-16 19:59 ` [gentoo-user] " Dan Farrell
2009-03-16 19:20   ` Paul Hartman

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