I have had an ubuntu 12.10 server running for a while with dlna and samba running successfully. On a previous build, I had an sftp server running and I wanted to do it again.
First, I updated all the installed packages (but didn't upgrade to 13.04). I then installed SSH and openSSH and setup sftp. I can successfully log in to the ftp account.
Aftewards I noticed however that my default user could no longer access the mount where my raid is. The dlna still operated however, from this mount point. The owner / group of this directory was set to nobody:nobody. I wondered if something had gone wrong and tried setting the owner to my default user name. Didn't work, so I tried creating a new group, adding the user (and the sftp user for good measure) to the group, and making the group the owner of the mount point.
I performed a reset and my default user can't access ANY directories now (permission denied). Doing ls-l in the root directory shows that everything belongs to root:root.
If I elevate my permissions to the root user (sudo -i), I can access everywhere successfully.
Can anyone make any suggestions for fixing this permissions issue? I'm not sure what I've broken but it is rather frustrating.