forked from mirrors/nixpkgs
yandex-disk service: correct permissions
This commit is contained in:
parent
6be6760144
commit
5f8aa15e84
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue