hello
I'm having a little issue i'm trying to troubleshoot, and I want to run
on my "data" directory just to make sure that it isn't a permissions thing (I don't think it is, but anyway). So I copy the absolute path of my 'data' directory from the OMV GUI, ssh in as root (I presume I might need all the access possible..), cd .. down one level so I can see the actual directory, run the chown command - no such directory, even though I can see it!
root@openmediavault:/srv/dev-disk-by-uuid-b8422a16-c905-4b41-becb-a38e3f3ce159/data/shares/ddata# cd ..
root@openmediavault:/srv/dev-disk-by-uuid-b8422a16-c905-4b41-becb-a38e3f3ce159/data/shares# ls -lan
total 28
drwxrwsrwx+ 7 0 100 4096 Jan 7 14:11 .
drwx--s---+ 7 0 100 4096 Jan 6 14:09 ..
drwxrwsr-x 17 0 100 4096 Jan 8 14:49 appdata
drwxrwsr-x 2 0 100 4096 Jan 7 14:11 backup
drwxrwsr-x 6 0 100 4096 Jan 8 13:59 ddata
drwx--x--- 12 0 0 4096 Jan 9 13:31 docker
drwxrwsrwx 3 0 100 4096 Jan 6 14:19 testmedia
root@openmediavault:/srv/dev-disk-by-uuid-b8422a16-c905-4b41-becb-a38e3f3ce159/data/shares# sudo chown -R appuser:users /ddata
chown: cannot access '/ddata': No such file or directory
root@openmediavault:/srv/dev-disk-by-uuid-b8422a16-c905-4b41-becb-a38e3f3ce159/data/shares#
Display More
if I go up into ddata (which it does allow!) and try it on one of the sub-directories there, same issue
Does OMV restrict the changing of the permissions somehow?
Is there actually somewhere else I should be applying changes to (some sort of bind or symlink which i'm trying to change the wrong end of - you can probably tell i'm just guessing now, but I am very much at the guessing stage!!)
The ddata directory was being shared with nfs (but it's not now - I took it off to check this wasn't the issue)
Any ideas what I'm doing / have done wrong? (and ideally how to fix things!)
thanks