On 04/04/2011 08:35 AM, JD wrote:
> On 04/03/2011 11:13 PM, Harald Hoyer wrote:
>> Am 04.04.11 04:16, schrieb JD:
>>> On 04/03/2011 06:41 PM, Jim wrote:
>>>> Fedora 14
>>>>
>>>> I have a backup drive at sdb1 a Vfat (fat32) partition a USB hard drive
>>>> that before upgrading from Fedora 13 to Fedora 14 , the owner was
>>>> Michael , but after upgrade it is now owned by root. all the backup
>>>> files are Linux files.
>>>>
>>>> The drive is mounted at /dev/sdb1 /mnt/backup from /etc/fstab and is
>>>> only readable by Michael.
>>>>
>>>> How do I change the owner back to Michael , the chown command is not
>>>> permitted.
>>>>
>>>>
>>> Unmount the drive, then
>>> Change your fstab as follows:
>>> /dev/sdb1 /mnt/backup vfat
>>> uid=TheUIDyouWant,gid=TheGIDyouWant,user,rw,sync 0 0
>>>
>>> The sync option is up to you. I use it because USB itself is not a very
>>> reliable connection.
>>>
>>> Remount the drive.
>>>
>> Better reference the drive by /dev/disk/by-.... than with /dev/sdb1.
> Actually, the best thing to do is to use the uuid.
> But I did not want to add an extra burden on the OP.
>
I suggest use the " label " it is easy and works very nicely
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines