I ran sudo chrgp somegroup ./
then: sudo chmod g+rwx ./
As I was trying to fix another issue; however suddenly all users cannot SFTP using WinSCP/Fillzella to thier own directores where they have full access 777.
How can I reverse the above commands? my guess is that I changed some other folders rights, esp. with chmod, which affected the SFTP functionality.
When checking /var/log/auth.log it shows:
fatal: bad ownership or modes for chroot directory component "/"
Thank you very much!
Edit: Sloved: write permission should be removed God knows why --> 755: https://serverfault.com/questions/418931/sftp-fatal-bad-ownership-or-modes-for-chroot-directory-ubuntu-12-04