ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #19304
Re: Simple backup script "buds"
El día Saturday, April 02, 2016 a las 03:11:14PM -0400, Bruce Griffis escribió:
> When run as just a user from my laptop (substituting 1234 for the
> passcode on my phone):
>
> bruce@bruce-Inspiron-N5050:~/UbuntuTouch$ sh buds 10.0.1.86 1234
> mkdir: cannot create directory
> ‘/home/bruce/buds/backup/20160402-150820’: Permission denied
Why is this error that you can not create the dir /home/bruce/buds/backup/20160402-150820 ?
Ignore the rest of the errors and investigate this error first, for
example with:
$ id
$ cd
$ pwd
$ ls -ld .
$ mkdir -p /home/bruce/buds/backup/20160402-150820
I will Cc: the list now;
Alan, please add a check after the mkdir -p ... if the directory could be
created. If not, stop the rest of the buds engine.
matthias
--
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
Follow ups
References