This is definitely not a bug. Deleting a file (under *nix) does not
"modify" the file at all, it is modifying the directory where the file
resides. In this case, a user _will_ have permission to write into
their home directory, so they can delete the file, but not modify it.
Why do such a thing? If you have group/world write permission on a
directory, then people who have write permission to the _directory_
should be able to delete files even if they don't own them. However,
if you set the "sticky" bit on the directory (chmod +t /dir), then only
the owner of the file can delete it, like in /tmp.
Cheers, Andreas
-- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/