Strange mounting issue with ext3

Patryk Zawadzki patrys at pld-linux.org
Tue Apr 7 05:29:25 PDT 2009


On Tue, Apr 7, 2009 at 2:16 PM, Roderich Schupp
<roderich.schupp at googlemail.com> wrote:
> On Tue, Apr 7, 2009 at 1:50 PM, Patryk Zawadzki <patrys at pld-linux.org> wrote:
>>> What is needed here is a new mount option: "forget about the
>>> uids on the drive, just pretend any file is owned by the mounting user".
>>
>> Which can be translated as "just unscrew any disk, put it into a cheap
>> USB sleeve et voila, readable root files with no unix knowledge!"
>
> BS. Of course, hal (or some other device manager)  would
> grant this fictitious "-o uid=..." mount option for ext2/3 etc
> only for removable media, same as it does today - mounting,

Doesn't a drive connected via USB constitute "removable media"? It
does here at least according to HAL + PolicyKit.

> even a FAT-formatted USB stick, still needs root powers on Linux.
> It's just hal that does it on behalf of jluser in certain situations.

See above :)

Anyway, back on topic, there is no mount option to ignore ownership,
mode flags and ACLs.

-- 
Patryk Zawadzki


More information about the hal mailing list