1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

CREATE SYNC DIRECTORY

This commit is contained in:
yalh76 2019-04-13 16:38:19 +02:00
parent d90907e81a
commit eae20d82a6

View file

@ -92,6 +92,11 @@ ynh_print_info "Configuring system user..."
# Create a system user
ynh_system_user_create --username=$SYNCUSER --home_dir=$SYNCHOME/ --use_shell
#=================================================
# CREATE SYNC DIRECTORY
#=================================================
ynh_print_info "Creating sync directory..."
# Make directories and set rights
sudo chown -R $SYNCUSER:$SYNCUSER $SYNCHOME/
sudo find $SYNCHOME/ -type f | while read LINE; do sudo chmod 640 "$LINE" ; done