Gossamer Forum
Home : Products : Links 2.0 : Discussions :

CHMOD (511) ?

Quote Reply
CHMOD (511) ?
When I ran the "Build All" command in Windows98 with Xitami & Activestate Perl, the progress report shows CHMOD (511). I can't get into my site right now to test it. I though it was suppose to be 777, or just in Windows ?

Quote Reply
Re: CHMOD (511) ? In reply to
This was said by a user widgetz before, 0777 is printed as 511 in unix or perl.

See http://lookhard.hypermart.net/look-bin/Look/511.cgi
the code for this is
#!/usr/local/bin/perl
print "Content-type: text/plain\n\n";
print 0777;


Quote Reply
Re: CHMOD (511) ? In reply to
Thanks for the clarification.