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
Copy file name to clipboardExpand all lines: tools/Documentation/installing-lanraragi/docker.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,19 @@ This is good enough for most scenarios, but in case you need to run it as the cu
130
130
131
131
This uses `id` to automatically fetch your userid/groupid.
132
132
133
+
## Skip permission fixing
134
+
135
+
By default, LANraragi will change the permissions for all files and folders in the thumbnail and content folder during startup:
136
+
137
+
- Everything in the thumbnail folder will be owned by the provided UID/GID (9001/9001 by default)
138
+
- Files and folders in the thumbnail folder can be read and written by the owner
139
+
- Files and folders in the content folder are readable by the owner
140
+
- Folders in the thumbnail/content folder can be executed by the owner
141
+
142
+
While this can resolve some permission issues, but it will result in a longer start-up time for large library and may even prevent the container from starting on Docker Swarm.
143
+
144
+
To disable this behaviour, you can set the environment variable `LRR_AUTOFIX_PERMISSIONS=-1`, but make sure you have manually set the permissions beforehand.
145
+
133
146
## Updating
134
147
135
148
As Docker containers are immutable, you need to destroy your existing container and build a new one.
0 commit comments