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

Re: Ownership of external usb hard drive



On 22/12/11 11:26, Sharon Kimble wrote:
> I have an external usb hard drive that I use solely for storing
> backups which are done every three hours of my home folder. It is
> 'owned' by root, but I want to have the user boztu to have ownership
> of it so that boztu can write to it from their cron backup program,
> but how do I do it please?
> 
> At the moment root writes to it at midnight and creates a new dated
> folder, because only root has write access to it. Then every three
> hours boztu writes to it and backs up the changes in the home folder,
> but I want user boztu to do =all= of it including creating the new
> dated folder.
> 
> Does this make sense?
> 
> Sharon.

Assuming you mount it somewhere beneath /media, and that SOLID (or
whatever) is set to mount the drive there everytime

# chown -R boztu:boztu /media/somewhere

Cheers

-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


Reply to: