How exactly does Linux file permission inheritance work
I'm familar with file permissions under Linux. However, one thing I'm not sure of is how come I'm able to delete a file when I shouldn't have the right to. I have it set that the parent folder has rights to read/write/execute but the file only has read/execute permission. So why am I able to delete the file? I'm using Debian Sarge and here's the parent folder's permission:
drwxrwxr-x 2 root users 48 2006-04-13 11:35 test
The file's permissions are as so:
-rw-r--r-- 1 root root 0 2006-04-13 12:45 testfile
Now as geneanthony which belongs to the user's group I can delete testfile. However, the permissions on the file says I can't, how come I can? What's the purpose of a file ACL if the parent folder always overrides it?