jim owens wrote: > Using root's default attributes is almost never desired. ^^^^^^ Exactly. When it is desired, it shouldn't be impossible :-) Setting attributes to those of a new file outside the kernel requires parsing /proc/mounts and knowing filesystem-type-specific things, among other things. Ugly stuff - should never be written. Don't make such ugly stuff be written (and fail when /proc isn't mounted). There is also the principle of least surprise... Shell scripts which behave differently for root - that's asking for trouble. -- Jamie -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html