Help for managing UIDs on external drive

Laurent lcharles.ml at gmail.com
Sat Sep 13 20:10:42 UTC 2008


hmmm. I see...
I expected something like the uid option of mount for CD, or the
similar for smbfs. Too bad.

I guess my only solution is to temporarily copy the stuff and patch with chown.

Another idea is to mount it normally, to export it with samba with id
mapping and to re-mount it with smbmount. I dont even know if it can
works, but may be fun to try...

Thankx anyhow for the reply
Cheers
-- Laurent

2008/9/13 Mikkel L. Ellertson <mikkel at infinity-ltd.com>:
> Laurent wrote:
>> Hello,
>>
>> Can anyone explain, or point me to the documentation,  the process
>> which mounts a USB key or an external USB hard drive.
>>
>> I have an external device formatted with ext3. When plugged in, it is
>> automatically mounted, with respect to files' UIDs, GIDs, etc. The
>> problem is that those IDs no dot match the running system ones, and
>> therefore most of the information on the external drive is not
>> readable.
>> I'd like to be able, either to have the HD mounted without
>> consideration of IDs (e.g. my UID/GID for all), or to map the external
>> device's ID to host system users.
>>
>> I do not want to change anything on the external HD (e.g. recursive chown).
>> I have full access to the system (root)
>>
>> I use Fedora 9, freshly installed 2 weeks ago, not broken yet.
>>
>> Thank you for any help
>> Cheers
> The mounting is controlled by HAL. But I do not think what you are
> after can be done. I have not seen any option when mounting an
> ext2/3 file system that will allow you to ignore or remap UIDs and
> GIDs. You may want to consider remapping the user/group IDs on your
> Fedora system to match the drive, especially if you are using it to
> move data between systems. Check out the usermod command.
>
> Mikkel
> --
>
>  Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>




More information about the fedora-list mailing list