Shared folder permissions

  • I need remote access to some directories of the '/' filesystem, Specifically:-


    I need ftp access so I can edit config files on my Mac and simply save them. This is easy in BBEdit and I've been doing it for years with my Mac server.


    I also need to be able to rsync some files to various locations.


    No problem with either of the above when the target is one of the other drives on my OpenMediaVault server, but simply fail when the target is within '/'. In the case of ftp, I can easily open the required file, but although 'saving' creates no error, nothing actually is saved. Rsync however complains about the target being a 'read only' filesystem which is nonsense as I have write access with any user from direct login or ssh over the network and files can be copied/sync'd both with scp and/or rsync when not using a defined daemon module - IOW just direct rsync to the specified folder. No problem.


    So, the issue only arises when using 'Services' configured in OMV (i.e. FTP and rsync). From which I figure that OMV is placing some overall restriction on remote access to anywhere within '/'. I sort of understand that this could be an issue for unknowledgeable users and publicly accessible servers, but I'm not ignorant in such matters (just how OMV is doing things behind the scenes) and this is my private home network which if under attack means I've got bigger problems than unauthorised access to my media. So…


    Could anyone possibly explain how to allow ftp and rsync(d) access to the root filesystem? Would be much appreciated.

  • Yes I do. I think I had to do that before I could even create the 'shared folders' I need. They are all set up and I've tried various user perms, but no matter what I try, saving via FTP doesn't and rsyncd complains the filesystem is 'read only'.


    As I said, I can use plain rsync and that works without problem (as does scp), but neither ftp nor rsync daemons can write to anywhere in '/'.

Participate now!

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