Re: Changing Owner on a backup drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux