develooper Front page | perl.perl5.porters | Postings from August 2019

Re: [perl #134389] Wrong Perl's chmod behavior

Thread Next
From:
E. Choroba
Date:
August 30, 2019 11:21
Subject:
Re: [perl #134389] Wrong Perl's chmod behavior
Message ID:
alpine.LSU.2.21.1908301321180.5066@lenonovo.gooddata.com
The 666 must be octal, not decimal. Replacing your command with

   chmod 0o666, "file1";

fixes the issue.

Ch.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About