From: Lukasz Stelmach <stlman@poczta.fm>
To: LKML <linux-kernel@vger.kernel.org>
Subject: udf uid/gid problem.
Date: Thu, 29 Sep 2005 20:04:38 +0200 [thread overview]
Message-ID: <433C2CB6.5040903@poczta.fm> (raw)
[-- Attachment #1: Type: text/plain, Size: 1608 bytes --]
Greetings.
A while ago someone, please forgive me I don't remeber exactly who,
stated here that UDF is much better than FAT for flash-drives. So I
try to use it this way. Unfortunately there seem to be a bug in kernel
rendering UDF on portable media completrly useless.
A filesystem for portable media should be "userless" because one most
probably has different uids on different machines. The first problem is
that I am unable to use uid=/gid= options if UDF volume's root directory
(super-block???) has an owner of uid differnet than -1. In any other
case the on-volume owner/group takes precedence over uid=/gid= options.
The second bug lives somewhere in writing functions. If I set the root
(sb???) owner to -1, the uid= and gid= work until I write a single file
onto the volume. Next time I mount the volume, with uid=/gid= of course,
everything on it is owned by root:root.
No.3 If I create a volum with root directory (sb???) owned root:root,
without hacking mkudffs, and I chown(1) some files, file ownership
information also doesn't survive unmounting.
From what I know UDF could really be a superb filesystem for flash
memory devices but today it is unfortunately completly useless. I might
even forget about the ownership information, as I said it's useless or
even harmfull on portables but setting the "root" of the volum is crucial.
Best regards.
PS. Please remember to CC, I'am not a subscriber.
--
Było mi bardzo miło. Trzecia pospolita klęska, [...]
>Łukasz< Już nie katolicka lecz złodziejska. (c)PP
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
reply other threads:[~2005-09-29 18:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=433C2CB6.5040903@poczta.fm \
--to=stlman@poczta.fm \
--cc=linux-kernel@vger.kernel.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