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

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

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

   chmod 0o666, "file1";

fixes the issue.

 	Ch.



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