metube icon indicating copy to clipboard operation
metube copied to clipboard

Chown issues?

Open eblieb opened this issue 11 months ago • 0 comments

Trying to setup on a new debian VM and never seen issues like this before... any idea?

Setting umask to 022

Creating download directory (/downloads), state directory (/downloads/.metube), and temp dir (/downloads)

Changing ownership of download and state directories to 1000:1000

chown: changing ownership of '/downloads/.metube': Operation not permitted

chown: changing ownership of '/downloads': Operation not permitted

chown: changing ownership of '/downloads/.metube': Operation not permitted

chown: changing ownership of '/downloads/.metube': Operation not permitted

chown: changing ownership of '/downloads': Operation not permitted

Running MeTube as user 1000:1000

Traceback (most recent call last):

File "/app/app/main.py", line 118, in

dqueue = DownloadQueue(config, Notifier())

         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/app/app/ytdl.py", line 210, in init

self.queue = PersistentQueue(self.config.STATE_DIR + '/queue')

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/app/app/ytdl.py", line 166, in init

with shelve.open(path, 'c'):

     ^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/shelve.py", line 243, in open

return DbfilenameShelf(filename, flag, protocol, writeback)

       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/shelve.py", line 227, in init

Shelf.__init__(self, dbm.open(filename, flag), protocol, writeback)

                     ^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/dbm/init.py", line 95, in open

return mod.open(file, flag, mode)

       ^^^^^^^^^^^^^^^^^^^^^^^^^^

_gdbm.error: [Errno 13] Permission denied: '/downloads/.metube/queue'

eblieb avatar Jan 31 '25 00:01 eblieb