i am used to tapatalk. it would be great to have it back!
Posts by nicodemus
-
-
maybe you can try to disable WOL in the BIOS settings?
-
I'm having the same problem. I adress the privileges and ACP, but still can't acess the files. Since I need control of my files, public share won't work.
And the log in omv? Is the message related to privileges or to max connection limit or...?
The auth log may show the reason is rejecting the access
Enviado desde mi SM-G960F mediante Tapatalk
-
Just a guess... You can give to the parent directory only read access to both users... To avoid anyone deleting whatever...
Enviado desde mi SM-G960F mediante Tapatalk
-
Does omv give any message of the process? Look at the log section... Auth or ftp section
It may give you a clue of what is going on....Enviado desde mi SM-G960F mediante Tapatalk
-
Did some more tests but whatever I do. I can only connect as long as user is not in group sftp-access, but whole root tree is displayed then.
Adding the user to sftp-access, I cannot login anymore due to "connection abort".
Turning On "Allow Groups" while user is not in sftp-access leads to "Auth failed".
Joining the group again leads to "connection abort".Found no other settings that would change anything. Sys Log displays "service started" only. Going to SFTP LOG I get the error "Failed to open the log file (filename=/var/log/openmediavault-sftp.log).".
@ryecoaaron any further tips?
Edit:
So in the auth.log I found the error message
'fatal: bad ownership or modes for chroot directory component "/"'and therefore I checked the permissions. I found that my / was set as root:root 775 and not root:root 755.
I backed up my system and changed the permissions with "chmod 755 /".After that, auth.log gave me another error saying
'fatal: safely_chroot: stat("/sftp/"): No such file or directory'So I checked /etc/ssh/omv_sftp_config and there it says 'ChrootDirectory /sftp/%u'. Ok, creating the dir /sftp/testUser/blabla/ with the right permissions and I can finally connect and I see only the directory blabla/.
But what is going on there? In the OMV GUI at SFTP in the Access List TAB I set testUser should see the sharedfolder "testSF". That setting seems to be ignored. Why is omv_sftp_config chroot'in to /sftp/%u?
Same problem here with the privilege in /
Same error message. I could solve the error with chmod 755 /
After that everything works as expected and the user is jail. The folders were correctly created so, in my case, just a chmod problemVersion omv 4
Thanks
Enviado desde mi SM-G960F mediante Tapatalk