Rob Landley wrote: > On Friday 16 January 2009 03:01:42 Timo Teräs wrote: >> And in any case >> you should be relying on umask and not some fixed mode. > > When working as a normal user, it respects umask, but working as root it sets > all permissions even when root has a umask.
I believe umask applies to open(2) mode even on root case. Some things do go differently when being root, but the umask does apply to root, AFAIK. > Does your patch keep root's behavior correct? So yes, behavior as root would be correct. - Timo _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
