marcopeocchi / yt-dlp-web-ui

A terrible web ui and RPC server for yt-dlp. Designed to be self-hosted.
GNU General Public License v3.0
820 stars 85 forks source link

Rights to delete #11

Closed Spp595 closed 2 years ago

Spp595 commented 2 years ago

I installed this container on a raspberry pi and created an smb storage to access the video using my PC, but I ran into a problem, I can't delete the videos buzzed through the container because of access rights. How can this be changed?

marcopeocchi commented 2 years ago

Hi @Spp595, First of all there are things to consider. Your smb share has write permission? What mask is applied to the share folder? I'd suggest to mount the share folder with :rw option.

-v <your dir>:/usr/src/yt-dlp-webui/downloads:rw
MarcusRiemer commented 2 years ago

Maybe this is because the files on the host system have root as user on many systems where docker runs as root?

Spp595 commented 2 years ago

Maybe this is because the files on the host system have root as user on many systems where docker runs as root? I have already solved this problem, just made a regular user the owner of the directory