Comments (5)
I have a similar operating environment. Every time I start metube, it reports lots of errors when modifying permissions, but it does not affect.
I think the key is whether the permissions are configured correctly when the host mounts /mnt/nas. You should first check whether it can be read and written normally, and then map it to the container.
If the host is a synology, I recommend setting the user id to the same as the synology admin's id.
from metube.
The root user can write the folders just fine - in fact the .metube folder gets created. The problems start when metube tries to change the owner of the directory and lowers its privileges to user 1000:1000. I am using Truenas, but this is in fact not dependent on the nas at all - the owner setting is a limitation of the samba protocol itself.
I tried specifying in the compose file user: "0:0"
but this changed nothing. I maintain: The ideal solution would be if metube just tried to create every downloaded file as root.
from metube.
As far as I know compose will change the folder permissions when creating the container. This may cause the folder permissions to not match what you expect.
I don't use compose, and I force read and write permissions when mounting the nas path. See #195 .
set UID: 0
and GID: 0
via environment variables, if you want to try.
from metube.
I am not mounting the cifs share with docker: the cifs drive is already mounted by fstab, so I cannot change the permissions at mount (I'm not allowed to change fstab settings by company policy). I just tried user: "0:0"
, this does the same thing as UID: 0, GUID: 0
. Compose will not change permissions, because fstab does the mounting. Samba does not support changing acls post-mount, pursuing that route is meaningless.
The solution would be if metube just tried to create every downloaded file as root. Is this possible?
from metube.
I just tried user: "0:0", this does the same thing as UID: 0, GUID: 0
i think the entrypoint.sh
query the uid/gid in env only.
The solution would be if metube just tried to create every downloaded file as root. Is this possible?
yes UID: 0 and GID: 0 via env
will do this but sometime root user is not 0:0 or disabled (ubuntu for example, root user name is not 'root' by default
from metube.
Related Issues (20)
- restrict public access over IP HOT 4
- WARNING: [crunchyroll] This episode is for premium members only HOT 2
- getting 256kbps audio from youtube music premium HOT 2
- Download audio as .flac format HOT 9
- How to embed metadata and thumbnail? HOT 2
- Getting this error: http.cookies.CookieError: Illegal key 'ys-api/dvr/entry/grid_upcoming' HOT 1
- "Best" quality setting not downloading best quality HOT 14
- Unable to translate --parse-metadata into required JSON syntax HOT 1
- Truenas Scale App does not work HOT 1
- WebSocket fails when running behind Authelia & Caddy HOT 3
- Caddy reverse proxy redirect loop HOT 2
- Document how to load yt-dlp plugins into MeTube
- "The Following Content is not Available on this App. Watch on the Latest Version of YouTube" Error HOT 1
- [Feature request] Add support for curl-cffi HOT 5
- Pre-defined custom directories?
- Support for embedding videos with start and end time parameters
- Can't download Instagram videos/reals in an iOS compatiable codec HOT 5
- basic auth not asking for credentials
- STATE_DIR & TEMP_DIR Environmental Variables are ignored?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metube.