[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

user/group permissions in linux

hey guys,
i had sent a query a couple of weeks ago. 

consider the below case:
 file : temp
 perm: ----rwx---
 owner: myself
 group: myself

 i.e a file temp is owned by me and i'm the only member in the group
"myself". if i try to open the file it gives an error that permission
denied for opening the  file.
though the file cannot be opened based on the user permissions, it has to
be opened due to the rwx permissions for the group.

this is because linux kernel makes accessibility test based only on the
user permissions if the user is the owner of the file and never considers
the group permissions in that case.

is this not a buggy feature......or is there any reason behind this
please comment.