in reply to Log4Perl: file permissions

You almost certainly want to use 0600 rather than 600. See the docs for chmod for details of the oct/dec/string differences.

Replies are listed 'Best First'.
Re^2: Log4Perl: file permissions
by Anonymous Monk on Sep 15, 2017 at 08:23 UTC
    0600 still leads to
    ---x-wx--T
    I think 0600 is interpreted as a string rather then a octal number, but how can I avoid this ?
      $ perl -wE 'say 0600' 384
      ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,