Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Testing for group or world writable files

by Loops (Curate)
on Jul 07, 2015 at 01:34 UTC ( #1133489=note: print w/replies, xml ) Need Help??


in reply to Testing for group or world writable files

Seems you need the parenthesis for precedence:
ok( ! ($mode & 022), "File is not group or world writable" );
Works here.

Replies are listed 'Best First'.
Re^2: Testing for group or world writable files
by choroba (Archbishop) on Jul 07, 2015 at 08:41 UTC
    I've just seen a presentation on Coccinelle, this kind of error was quite common in the Linux kernel. See here.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1133489]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2021-04-15 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?