Strange mounting issue with ext3
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Tue Apr 7 09:28:31 PDT 2009
Pat Suwalski wrote:
>
> This would make sense. I have ext3 external disks that I take from
> computer to computer. It's a constant nuisance with the [UG]IDs. Using
> vfat makes everything have 755 permissions or 644 permissions and is
> worse than having a user-permission-squashed ext3.
>
You could alway give the stick 777 permissions. then anyone could
read/write to it.
The last thing I want is having a user-permission-squashed ext3
partition. For that matter, I am not sure I like the idea of an
auto-mounted ext[23] file system at all. The last thing I want is
someone to be able to copy a SUID program from a removable file
system without having root access in the first place.
One problem with using ext[23] file systems the way you want is that
their are no suid/sgid options for them. So there is not way for HAL
to mount them that way. What you need is a file system that
preserves permissions, but either have the suid/sgid options, or has
uid/gid to name mapping for the different systems it is mounted on.
It may be possible to write a fuse helper app that would handle the
mapping, and also prevent suid files from being copied off the drive.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/hal/attachments/20090407/98fbdf31/attachment.pgp
More information about the hal
mailing list