You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code does a chown -R across file system boundaries. Unfortunately neither busybox chown (nor gnu chown) do have -xdev option. The -P option is the default - but doesn’t help as this stops following symbolic links but does allow crossing the file system boundary.
The code can mistakenly reset ownership (that it may not have too)
A few ideas
check that there are no filesystems mounted under the $i
create a new variable and
Set the default option not to do the chown
only set ownership of if docker.linuxserver.plex does the mkdir
Can you list some actual scenarios where this code would cause an issue?
Libreelec system is read only. This code only chowns the folders that are selected in addon settings and none of the defaults refer to any system folders. Even then, libreelec runs as root.
Can you list some actual scenarios where this code would cause an issue?
Libreelec system is read only. This code only chowns the folders that are selected in addon settings and none of the defaults refer to any system folders. Even then, libreelec runs as root.
I had mistakenly put /var/media as one of the folders, whilst the exfat filesystems (most of /var/media) just errored with unable to change. My ext4 filesystem (/var/media/DATA) did not fair so well. Not real issue with it - given only a folder that neede to be changed back to 1000:1000 and lost+found.
in thinking more about it - sleep helps, and your query:
why do we need to do $V_data_ anyhow?
V_config and V_transcode - yes (but probably only chown and not chown -R)
The following code does a
chown -R
across file system boundaries. Unfortunately neither busybox chown (nor gnu chown) do have -xdev option. The -P option is the default - but doesn’t help as this stops following symbolic links but does allow crossing the file system boundary.The code can mistakenly reset ownership (that it may not have too)
A few ideas
docker.linuxserver.plex
does themkdir
libreelec-addon-repo/docker.linuxserver.plex/bin/docker.linuxserver.plex
Lines 44 to 52 in 2ffa76e
The text was updated successfully, but these errors were encountered: