[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Special requirements for scripts in /etc/rcS.d?



Re: Bob Proulx in <[🔎] 20031104050909.GB14090@misery.proulx.com>
>   perl -e 'printf("%o\n",(stat($ARGV[0]))[2]);' /tmp # print mode in octal
>   41777
> 
> My only question now is where did that '4' come from in the mode?  But
> the last four digits always seem to be correct.

stat(2):
       S_IFDIR    0040000   directory

Christoph
-- 
Christoph Berg <cb@df7cb.de>, http://www.df7cb.de/
Wohnheim D, 2405, Universität des Saarlandes, 0681/9657944

Attachment: signature.asc
Description: Digital signature


Reply to: