audiobookshelf/server/utils
Lars Kiesow 274b0e48be
Skip AUDIOBOOKSHELF_UID/GID if undefined
This patch slightly changes the behavior of the `AUDIOBOOKSHELF_UID` and
`AUDIOBOOKSHELF_GID` options. Instead of defining a default user and
group, trying to modify files and silently failing if the filesystem
mode cannot be changed, this patch will just skip the entire process in
the first place.

If these options are defined, Audiobookshelf should behave exactly as
before. If they are not defined, Audiobookshelf will now cause fewer
file modifications (or less failures when trying to modify files).

If this patch gets applied, it should probably be highlighted in the
release notes. This usually shouldn't cause problems for migrations
since the Docker guides explicitly configure the options and the
package installations do not seem to use this at all, but there is still
a change that it will and users should be aware of that.

If a problem arises, users can easily fix the problem by either setting
the permissions once manually to the audiobookshelf user or by simply
defining the `AUDIOBOOKSHELF_UID/GID` options.
2023-01-22 12:30:36 +01:00
..
parsers Add:OPF file pulls ASIN and subtitle #1330 2023-01-02 10:47:13 -06:00
abmetadataGenerator.js Fix:Series sequence parsed from metadata.abs allow non-numerical characters #1128 #1360 2023-01-04 15:55:02 -06:00
areEquivalent.js New model update details, author and series inputs with create new, compare & copy utils 2022-03-11 19:46:32 -06:00
constants.js Update:Default library view to detail instead of bookshelf view & update settings copy 2022-10-22 09:13:20 -05:00
dbMigration.js Fix:Check if Windows before cleaning file path for POSIX separators #1254 2023-01-05 17:45:27 -06:00
downloadWorker.js Remove fluent-ffmpeg dependency 2022-07-06 17:38:19 -05:00
ffmpegHelpers.js Add:Option to disable backup of audio files in embed metadata tool #1370 2023-01-07 15:16:52 -06:00
filePerms.js Skip AUDIOBOOKSHELF_UID/GID if undefined 2023-01-22 12:30:36 +01:00
fileUtils.js Fix filePathToPOSIX used in scan, updates for music track page 2023-01-06 17:10:55 -06:00
globals.js Add:Support for webm and webma audio files #1079 2022-10-20 17:24:51 -05:00
hlsPlaylistGenerator.js Remove fs-extra dependency 2022-07-05 19:53:01 -05:00
htmlEntities.js Ability to decode HTML Entities when all tags are stripped. Fixes #929 2022-08-30 19:20:35 -04:00
htmlSanitizer.js Optional match on ending ; 2022-08-30 21:15:18 -04:00
index.js Add:Option to disable backup of audio files in embed metadata tool #1370 2023-01-07 15:16:52 -06:00
libraryHelpers.js Don't list book twice in continue series 2023-01-13 00:50:04 +01:00
notifications.js Update:Notification system descriptions #996 2022-09-25 09:46:45 -05:00
podcastUtils.js Fix:Podcast pubDate parsing #1116 2022-11-06 15:43:17 -06:00
prober.js Update scanner, music meta tags and fix issue with force update 2023-01-02 16:35:39 -06:00
probeWorker.js Update:Scanner adjustable number of parallel audio probes to use less CPU 2022-07-16 18:54:34 -05:00
scandir.js Fix:Check if Windows before cleaning file path for POSIX separators #1254 2023-01-05 17:45:27 -06:00
toneHelpers.js Metadata embed and m4b merge fixes and cleanup 2022-11-05 13:13:52 -05:00
toneProber.js Update scanner, music meta tags and fix issue with force update 2023-01-02 16:35:39 -06:00