No write access to share created with OMV Web admin

  • I'm new on Linux-Raspbian-OMV-FTP-shares. But I would love to gain more knowledge and experience. So what did I do?


    I have a Raspberry Pi, model B, 512 MB, 6 GB SD card. I downloaded OMV 2.0.15 version (Stone Burner) with Raspbian 7.8 (Wheezy).


    Installation went pretty smooth (beside some hick ups caused by my lack of Linux knowledge). Through the OMV Web interface I created a user TestUser1 in groups NAS and Pi. Also I created a share at a USB stick, named TestShare on which TestUser1 has read/write access.
    Btw: I put the files on the USB using my Windows 7 pc.


    With FileZilla on my pc I could see the files on TestShare but I am not allowed to alter the filename or to delete him. The same goes for AndFTP on my smartphone.


    Now I am out of brilliant ideas? Anyone?
    Thanks in advance!

  • Thanks! Nice video.
    I'm watching it now and I noticed some interesting differences in my approach. I will try to set up my share again.
    I'll report later.

    Well, this took some time. (I watched the video twice, writing down all the actions you did in order to have a nice document with a lot of steps I will have to follow.) After some attemps to repair the mistakes I probably made I decide to start all over again.


    So I wiped out the sd-card and used Win32DiskImager to load the OMV_2.0.15_rpi_rpi2.img file on the sd-card.
    After a while the system booted up and I followed (allmost) all steps from the video. Btw, I did nog upgrade the php5 modules due to earlier problems I encountered,


    I created a user and the share "Docs" on filesystem "Files" was successfully made with r/w permissions to the user.
    I could connect it through Windows Explorer on my pc. But here's the permission-problem again:
    I have no permission to create a file in the share "Docs".
    For testing purposes I enabled FTP and connected the share using FileZilla. Same disappointing result, no permissions to create a file.


    Help! What should I do?

  • Use the reset permissions tab to reset the permission on the files for the shared folder you are trying to access.

    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!

  • Thanks, that's fast!
    I did a reset permissions on the share and got this message:
    Clearing ACLs ...
    Changing owner to root:users ...
    chown: changing ownership of `/media/c611e475-7a40-490f-a387-34b830a48901/Docs/': No space left on device


    The nospace part worries me a bit.
    Suppose there is not enough space on the device, how can I check this (via console or Webgui). Furthermore how can I format the device (which is a usb-stick) in order to free disk space?

  • Output in PuTTy of mount:


    root@raspberrypi:~# mount
    /dev/root on / type ext4 (rw,noatime,nodiratime,data=ordered)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=242776k,nr_inodes=60694,mode=755)
    tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=49412k,mode=755)
    tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=98800k)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortna me=mixed,errors=remount-ro)
    /dev/mmcblk0p3 on /media/fa36508a-b3c4-4499-b30a-711dd5994225 type ext4 (rw,noexec,relatime,data=ordered, jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group,_netdev)
    /dev/sda1 on /media/c611e475-7a40-490f-a387-34b830a48901 type ext4 (rw,noexec,relatime,data=ordered,jqfmt =vfsv0,usrjquota=aquota.user,grpjquota=aquota.group,_netdev)
    /dev/root on /var/folder2ram/var/lib/monit type ext4 (rw,noatime,nodiratime,data=ordered)
    /dev/root on /var/folder2ram/var/lib/openmediavault/rrd type ext4 (rw,noatime,nodiratime,data=ordered)
    folder2ram on /var/lib/monit type tmpfs (rw,relatime)
    folder2ram on /var/lib/openmediavault/rrd type tmpfs (rw,relatime)
    /dev/root on /var/folder2ram/var/lib/php5 type ext4 (rw,noatime,nodiratime,data=ordered)
    folder2ram on /var/lib/php5 type tmpfs (rw,relatime)
    /dev/root on /var/folder2ram/var/lib/rrdcached type ext4 (rw,noatime,nodiratime,data=ordered)
    folder2ram on /var/lib/rrdcached type tmpfs (rw,relatime)
    /dev/root on /var/folder2ram/var/log type ext4 (rw,noatime,nodiratime,data=ordered)
    folder2ram on /var/log type tmpfs (rw,relatime)
    /dev/root on /var/folder2ram/var/spool type ext4 (rw,noatime,nodiratime,data=ordered)
    folder2ram on /var/spool type tmpfs (rw,relatime)
    /dev/root on /var/folder2ram/var/tmp type ext4 (rw,noatime,nodiratime,data=ordered)
    folder2ram on /var/tmp type tmpfs (rw,relatime)

  • Maybe usefull info: while booting the RPI I noticed on the console just after the message "Starting watchdog deamon..." the error:
    "startpar: service(s) returned failure: f2r-var-lib-monit-tmpfs f2r-var-lib-openmediavault-rrd-tmpfs" and 5 other messages.
    Does this ring a bell?


    Btw: appreciate your help (and time) very much!

  • Those are flashmemory messages but I haven't see those cause the problem. Can you post the output of: df -h

    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!

  • root@raspberrypi:~# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/root 3.2G 1.6G 1.5G 53% /
    devtmpfs 238M 0 238M 0% /dev
    tmpfs 49M 452K 48M 1% /run
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 97M 0 97M 0% /run/shm
    /dev/mmcblk0p1 56M 20M 37M 36% /boot
    /dev/mmcblk0p3 12G 3.1M 11G 1% /media/fa36508a-b3c4-4499-b30a-711dd5994225
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/lib/openmediavault/rrd
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/lib/monit
    folder2ram 242M 276K 241M 1% /var/lib/openmediavault/rrd
    folder2ram 242M 8.0K 242M 1% /var/lib/monit
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/lib/php5
    folder2ram 242M 0 242M 0% /var/lib/php5
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/lib/rrdcached
    folder2ram 242M 14M 228M 6% /var/lib/rrdcached
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/log
    folder2ram 242M 7.2M 235M 3% /var/log
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/spool
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/tmp
    folder2ram 242M 752K 241M 1% /var/spool
    folder2ram 242M 0 242M 0% /var/tmp
    root@raspberrypi:~#


    Forget this output. I was testing with another usb-stick. I will post the correct output in a while. Sorry.


    Here is the output with the same usb-stick as in the beginning.
    root@raspberrypi:~# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/root 3.2G 1.6G 1.5G 53% /
    devtmpfs 238M 0 238M 0% /dev
    tmpfs 49M 448K 48M 1% /run
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 97M 0 97M 0% /run/shm
    /dev/mmcblk0p1 56M 20M 37M 36% /boot
    /dev/mmcblk0p3 12G 3.1M 11G 1% /media/fa36508a-b3c4-4499-b30a-711dd5994225
    /dev/sda1 114M 56K 112M 1% /media/c611e475-7a40-490f-a387-34b830a48901
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/lib/openmediavault/rrd
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/lib/monit
    folder2ram 242M 276K 241M 1% /var/lib/openmediavault/rrd
    folder2ram 242M 8.0K 242M 1% /var/lib/monit
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/lib/php5
    folder2ram 242M 0 242M 0% /var/lib/php5
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/lib/rrdcached
    folder2ram 242M 14M 228M 6% /var/lib/rrdcached
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/log
    folder2ram 242M 7.3M 234M 4% /var/log
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/spool
    folder2ram 242M 752K 241M 1% /var/spool
    /dev/root 3.2G 1.6G 1.5G 53% /var/folder2ram/var/tmp
    folder2ram 242M 0 242M 0% /var/tmp
    root@raspberrypi:~#

  • Some additional and maybe usefull info: when resetting the permissions on my share "Docs" an error message on the console shows up saying: "EXT4-fs error (device sda1) in ext4_setattr: 4807: error 28".


    Any idea what this might be?

  • Ryecoaaron,
    After more attempts and a few hours reading on this forum and the internet to get a share running with OMV I gave up.
    It fascinates me that despite of a well defined hardware platform (Raspbian Pi Model B), a freshly downloaded installation file (OMV 2.0.15) and all the necessary steps I took following your video, it seems to be not possible to obtain a working share on a RPI.
    Well, at least on my RPI.


    So I decided to go back to basics, I am going to install Samba and of course I will have to read and study once again a lot of documentation.


    Anyway, thanks again for your time and help!


    Btw: I am very much willing to use and install again the OMV software, in case there is a newer and hopefully better version. Just let me know. Because the concept of the webbased interface with all its available options in OMV is still very attractive!

Participate now!

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