Most probably yes. Some hacker dude might find a way to prevent this from happening (for example hazzle around with inode numbers to 'hide' a file), but if you're only talking about permissions, then root user is able to "see everything". That's pretty much the point of having a root user.
EDIT: also a file with permissions set that nobody has any permissions, specifically that nobody can write to the file, can be removed as root without problems. Root "doesn't need permissions" for that, if you like to put it (in this case) that way. It is possible, though, to se a special bit on the file which prevents anybody from removing or altering it in any way. But even if you did that, root could change the bit, alter the file (or remove it) and then set the bit back. Since root user is the highest user (superuser) on the system, if you could create a file which root cannot access, you could create a file nobody can access -- it would be a problem, since then the creator shouldn't have been able to create it, even.
Last edited by b0uncer; 01-28-2007 at 10:19 AM.
|