Skip to contentSkip to conversation

Problem with test from aa9c83c2

DISCUSSION Mike Hommey 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

When run as root, the test added in aa9c83c2 fails, because root is allowed to remove files in unreadable and unwriteable directories. Now, the problem is that I don't know what to do with that. Should we care ?

Mike

#1 lore raw
Quoted 3 lines · Mike Hommey

When run as root, the test added in aa9c83c2 fails, because root is allowed to remove files in unreadable and unwriteable directories. Now, the problem is that I don't know what to do with that. Should we care ?

Of course not. You are nuts running tests as root.

If "git foo" should refuse to remove a file for revision control reason, and it does refuse correctly for a non-root user but it fails to refuse when run as root, then that is a bug and we do care about it. IOW, I am not saying you are nuts running git as root.