What's up with chown.c doing a chmod?

Mike Frysinger vapier at gentoo.org
Thu Jan 5 22:39:18 UTC 2006


On Thursday 05 January 2006 15:57, Shaun Jackman wrote:
> I found this comment in the source code that suggests a chown can change
> permission bits. So perhaps someone was trying to undo that effect,
> despite this comment's warning. I'd suggest removing the chmod call.

running `chown` and having it reset the special permission bits is "normal" 
and "expected" behavior so if busybox is trying to negate that effect, it's 
broken imho :)
-mike



More information about the busybox mailing list