As the title says, I'm attempting to make it so my primary account on my ubuntu machine has rwx privileges over the home directory of another account. I made a group for both accounts to share and moved the home directory's group to that one
sudo chgrp -R sharedgroup /home/targetacct/, then
sudo chmod 776 -R /home/targetacct.
Now I can see the /home/targetacct/ folder, and some misc. files inside, but I can't see any of the other folders inside, unless I use
sudo ls -l /home/targetacct/. That shows that the permissions are set as I wanted them to be, and the filegroups have all been changed, but attempting just
ls -l /home/targetacct/ gets me
ls: cannot access '/home/targetacct/test': Permission denied and a list of the folders. Opening the home folder in the file viewer similarly gives me a list of the folders, but tells me I lack the permissions to view their contents.
Am I missing something? From what I read, I would expect this if I lacked execute permissions, but
sudo ls -l tells me my group has permissions over all the files in the directory.