Answer the question
In order to leave comments, you need to log in
Why can't I see my files via FTP/shell?
There is a VPS on Ubuntu. There is a folder /var/www/domain.ru.
I have the owner of the folder: user:user.
If I set permissions to 664 on folders, I don't see them. Only under root. Or set 775. Where am I wrong? Perhaps he messed up something with the group?
Answer the question
In order to leave comments, you need to log in
Well, that's right. To see the contents of the directory, he must have rights 775.
You are mistaken in the rights to the directory. To be able to open it, it must have execute permissions, i.e. opening the directory itself.
To see the contents of a directory on Linux, you need to "execute" ls in it. Accordingly, the "x" bit must be set for the directory.
chmod +x to the directory, and it will become possible to enter it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question