Shared Folders: the "Reset Permissions" Tab is not available anymore

  • I had the same problem and know python. To fix, comment out rows 119 and 120, then it works.


    Note that this python script does not use classes and the keyword 'self' refers to the current class, so it throws an exception. Also note that 'if not port_no' is repeated so the first block seems to have been left in the script, perhaps an oversight by the developer.



  • Note that this python script does not use classes and the keyword 'self' refers to the current class, so it throws an exception. Also note that 'if not port_no' is repeated so the first block seems to have been left in the script, perhaps an oversight by the developer.

    Wrong thread? Not sure which one is should be moved to.

    omv 5.5.12 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Hi guys,


    Is there a way one can run reset perm in terminal for a specific folder?
    Reason I ask is that I have a folder that at random times, once every second day or so it loses its permissions, I have to then restart my server at run resetperms on that folder to get my permissions back.


    Want to try and create a scheduled job to run a resetperms command every day to see if this solves my annoying random problem.


    to give background, this is a movies folder where I have sonarr move and rename my downloads to, it works well but for some odd reason every second or third day this folder becomes read only then sonarr can no longer write to the directory. its getting super annoying and I'm not entirely sure whats causing it. then I need to restart and run resetperms, then its good for another couple of days.

  • s there a way one can run reset perm in terminal for a specific folder?

    Kind of. If you execute /usr/sbin/omv-resetperms as root, it will always fix the folder you have set in the web interface.

    omv 5.5.12 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I was also reading and found this, surely this should do the same thing right?


    find /sharedfolders/Movies -type d -exec chmod 777 {} \;


    find /sharedfolders/Movies -type f -exec chmod 666 {} \;

    Thank for the reply though, appreciate it

  • surely this should do the same thing right?

    The reset perms script/plugin actually resets them to the permissions you select. Those commands will work but anyone will be able to read/write them. If that isn't a problem, it should work.

    omv 5.5.12 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!