mirror of
https://github.com/hassio-addons/addon-tasmoadmin.git
synced 2025-05-04 19:11:26 +00:00
🚑 Fixes incorrect data directory
This commit is contained in:
parent
2208703a28
commit
55844ec474
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ if ! hass.directory_exists "/data/tasmoadmin"; then
|
|||
|
||||
# Ensure file permissions
|
||||
chown -R nginx:nginx /data/tasmoadmin
|
||||
find /data/tasmoadmin/tasmoadmin -not -perm 0644 -type f -exec chmod 0644 {} \;
|
||||
find /data/tasmoadmin/tasmoadmin -not -perm 0755 -type d -exec chmod 0755 {} \;
|
||||
find /data/tasmoadmin -not -perm 0644 -type f -exec chmod 0644 {} \;
|
||||
find /data/tasmoadmin -not -perm 0755 -type d -exec chmod 0755 {} \;
|
||||
fi
|
||||
|
||||
hass.log.debug 'Symlinking data directory to persistent storage location...'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue