3
0
Fork 0
forked from mirrors/nixpkgs

yandex-disk service: correct permissions

This commit is contained in:
Alex Ivanov 2016-11-12 11:34:35 +03:00
parent 6be6760144
commit 5f8aa15e84

View file

@ -86,7 +86,7 @@ in
chown ${u} ${dir}
if ! test -d "${cfg.directory}" ; then
mkdir -p -m 755 ${cfg.directory} ||
(mkdir -p -m 755 ${cfg.directory} && chown ${u} ${cfg.directory}) ||
exit 1
fi