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 correction to the above.

When creating a file as root it got the permissions 644. A user may not access this file in any way. When I issue "chmod 664 file" or any other permission different from "644" and after that change back using "chmod 644 file" any $user can read it.

Maybe there is some bug during file creation?

Ahh and I forgot to meantion that not even root can change the ownership of any file or folder.

Reply via email to