Messages in this thread | | | Date | Thu, 27 Jul 2006 23:22:40 -0400 | From | Josef Sipek <> | Subject | Re: [RFC] #define rwxr_xr_x 0755 |
| |
On Fri, Jul 28, 2006 at 12:59:11AM +0400, Alexey Dobriyan wrote: > Every time I try to decipher S_I* combos I cry in pain. Often I just > refer to include/linux/stat.h defines to find out what mode it is > because numbers are actually quickier to understand. > > Compare and contrast: > > 0644 vs S_IRUGO|S_IWUSR vs rw_r__r__ > > I'd say #2 really sucks.
Yep. I like the idea, but I think some kind of prefix is in order.
Josef Sipek.
-- "Memory is like gasoline. You use it up when you are running. Of course you get it all back when you reboot..."; Actual explanation obtained from the Micro$oft help desk. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |