I have copied some directories over sftp on my raspberry pi but I get strange results when trying to access them. I have changed the owner to pi with this command:
sudo chown pi libs/ --recursive
but I cant access chmod without using sudo like this:
chmod 0644 libs --recursive and even if I execute this as super user, I still have no access to my directory. Where is the problem?