From: »Q« <boxcars@gmx.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] [OT] ext3 file permissions on a USB drive
Date: Sun, 15 Mar 2009 16:16:05 -0500 [thread overview]
Message-ID: <20090315161605.6e593578@bellgrove.remarqs.net> (raw)
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.
next reply other threads:[~2009-03-15 21:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-15 21:16 »Q« [this message]
2009-03-15 22:00 ` [gentoo-user] [OT] ext3 file permissions on a USB drive 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
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=20090315161605.6e593578@bellgrove.remarqs.net \
--to=boxcars@gmx.net \
--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