Skip to content

Commit

Permalink
Update sabnzbd_setup.m4
Browse files Browse the repository at this point in the history
resolve post-installation permissions bug
  • Loading branch information
1ccs-todd committed Jan 1, 2020
1 parent 103cf09 commit 8ba6c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sabnzbd_setup.m4
Expand Up @@ -21,7 +21,8 @@ iocage exec __SABNZBD_JAIL__ "pw user add __MEDIA_USER__ -c media -u __MEDIA_UID
iocage exec __SABNZBD_JAIL__ "pw groupmod __MEDIA_GROUP__ -m __SABNZBD_USER__"
iocage exec __SABNZBD_JAIL__ mkdir -p /__MOUNT_LOCATION__/downloads/__SABNZBD_FILES__/incomplete
iocage exec __SABNZBD_JAIL__ mkdir /__MOUNT_LOCATION__/downloads/__SABNZBD_FILES__/complete
iocage exec __SABNZBD_JAIL__ chown -R __SABNZBD_USER__:__SABNZBD_GROUP__ /__MOUNT_LOCATION__/downloads/__SABNZBD_FILES__ /config
iocage exec __SABNZBD_JAIL__ chown -R __SABNZBD_USER__:__SABNZBD_GROUP__ /config
iocage exec __SABNZBD_JAIL__ chown -R __SABNZBD_USER__:__MEDIA_GROUP__ /__MOUNT_LOCATION__/downloads/__SABNZBD_FILES__

iocage exec __SABNZBD_JAIL__ ln -s /usr/local/bin/python2.7 /usr/bin/python
iocage exec __SABNZBD_JAIL__ ln -s /usr/local/bin/python2.7 /usr/bin/python2
Expand Down

0 comments on commit 8ba6c4b

Please sign in to comment.