Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chown issues? #583

Open
eblieb opened this issue Jan 31, 2025 · 0 comments
Open

Chown issues? #583

eblieb opened this issue Jan 31, 2025 · 0 comments

Comments

@eblieb
Copy link

eblieb commented Jan 31, 2025

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant