Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Testing for group or world writable files

by Loops (Curate)
on Jul 07, 2015 at 01:34 UTC ( [id://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 (Cardinal) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1133489]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found