Hello everybody,
since updating from 3.0.13 to 3.0.31 the "Reset Permissions" Tab in the "Shared Folders" section suddenly disappeared.
Can anyone tell me how I can reset the permissions for my shares now?
Thanks in advance!
Hello everybody,
since updating from 3.0.13 to 3.0.31 the "Reset Permissions" Tab in the "Shared Folders" section suddenly disappeared.
Can anyone tell me how I can reset the permissions for my shares now?
Thanks in advance!
I moved it to its own plugin called openmediavault-resetperms. Does same thing.
I moved it to its own plugin called openmediavault-resetperms. Does same thing.
Thank you very much! This is exactly what I was looking for
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.
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.
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.
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
Based on this helpful example, I added this hourly cron job to my OMV5 to reset the files on my share used for plex
find /export/media -type d -exec chown root:users {} \; && find /export/media -type f -exec chown root:users {} \; &&find /export/media -type d -exec chmod 2775 {} \; && find /export/media -type f -exec chmod 664 {} \;
Seems to be working well so far. Good? Or is there a better way?
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!