Thanks to all ...
Now I'm curious about something else:
Is the mode in a stat(file) readout something still different
than octal or decimal?
I see `33261' show up in the `mode' slot on a file with 755 permissions
(from perldoc -f stat:
[...]
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks)
= stat($filename);
[...]
ls -l file
-rwxr-xr-x 1 reader staff 510 2009-07-06 15:25 file
My homemade script `mystat' prints out the various values:
./mystat file
file:
dev = 47776050
ino = 88208
mode = 33261
nlink = 1
uid = 1000
gid = 10
rdev = 4294967295
size = 510
atime = 1246912030
mtime = 1246911903
ctime = 1246911903
blksize = 512
blocks = 2
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/