Web Gui access rights problem?

    • Offizieller Beitrag

    Try this as root:


    nano /root/fix-perms


    Put the following code in the file:

    Bash
    #!/bin/sh
    
    
    set -e
    
    
    . /usr/share/openmediavault/scripts/helper-functions
    
    
    omv_install_fixperms


    ctrl-o to save ctrl-x to exit
    chmod +x /root/fix-perms
    ./fix-perms

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thanks for your suggestion. Unfortunately this didn't change anything. The only success I had so far was putting my user and open openmediavault in the root group.

    • Offizieller Beitrag

    Is the OS installed on the hard drive with this device?

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Just checking :) The popular guide mentions a usb stick.


    I can't think of much else... Uninstalling OMV with purge flag and reinstalling. Or upgrading to omv 0.5 are two the more extreme ideas.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • OS is on the hard disk. It is initially copied from USB stick.


    My quick and dirty fix works. Just add myuser and openmediavault to root in /etc/group. Does that give you any clue? Does it mess up anything else?

    • Offizieller Beitrag

    Just tells me that an executable file(s) (/usr/share/openmediavault/ or /usr/share/php/openmediavault/ maybe?) somwhere has the wrong permissions. How did you copy the files from the usb stick?

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Right, after installation (it's done by a script on the USB stick) it worked fine for a few days. I am not sure if it really was related to the bad rsync job. This was hours before.


    Another hint maybe: Windows also can't access the share. I used to use myuser to access the share. It's not working anymore unless I put myuser into the root group.

    • Offizieller Beitrag

    Last thing I would do:


    Code
    chown -R root:root /usr/share/php/openmediavault
    chmod 644 /usr/share/php/openmediavault/*
    
    
    chown -R root:root /usr/share/openmediavault
    chmod -R 755 /usr/share/openmediavault/scripts /usr/share/openmediavault/mkconf
    chmod -R 755 /usr/share/openmediavault/engined
    chmod -R 755 /usr/share/openmediavault/engined/module /usr/share/openmediavault/engined/rpc
    chmod 644 /usr/share/openmediavault/engined/module/*
    chmod 644 /usr/share/openmediavault/engined/rpc/*


    and reboot.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Those are 0.5 directories. ;)


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!