Ok I played around a bit and what I got so far is this.
A file or directory created by a common user can be access by root as it should be. A file created by root can not read by a user even though the permissions allow it (644). When I issue "chmod 644 file" as root, it works. A directory created by root or a user works as it should.
Little mistake. When creating a file as root, the file has 644 as permissions. When I do "chmod 664" or anything else different from the original value and than "chmod 644" back any $user can read it.

Reply via email to