Re: Ownership of external usb hard drive



On Thu, 22 Dec 2011 17:28:45 +0000, Sharon Kimble wrote:

On 22 December 2011 17:09, Camaleón <noelamac@xxxxxxxxx> wrote:
On Thu, 22 Dec 2011 00:26:04 +0000, 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?

Mmm, why don't you just...

- Mount the USB disk to be user writeable (this can be set at "/etc/
fstab"), and then - Use the user's crontab to run the task?

Very succinctly put, except the hard drive is automatically mounted by
Gnome, thats the only mistake you made.

It wouldn't be if it were in fstab.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/jcvpsf$tdu$1@xxxxxxxxxxxxxxx



Relevant Pages

  • Re: Ownership of external usb hard drive
    ... backups which are done every three hours of my home folder. ... but I want to have the user boztu to have ownership ... At the moment root writes to it at midnight and creates a new dated ...
    (Debian-User)
  • Re: Ownership of external usb hard drive
    ... backups which are done every three hours of my home folder. ... but I want to have the user boztu to have ownership ... At the moment root writes to it at midnight and creates a new dated ...
    (Debian-User)
  • Re: Ownership of external usb hard drive
    ... backups which are done every three hours of my home folder. ... but I want to have the user boztu to have ownership ... At the moment root writes to it at midnight and creates a new dated ...
    (Debian-User)
  • Re: Ownership of external usb hard drive
    ... which are done every three hours of my home folder. ... but I want to have the user boztu to have ownership of it so that ... At the moment root writes to it at midnight and creates a new dated ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Ownership of external usb hard drive
    ... backups which are done every three hours of my home folder. ... but I want to have the user boztu to have ... At the moment root writes to it at midnight and creates a new ...
    (Debian-User)