Ask a Question related to Ruby, Design and Development.
-
Harry Ohlsen #1
Message "Insecure world writable dir ..."
When File.popen() is passed an executable whose path contains a world writable directory, it produces a warning message.
While I think this is a good idea, I have no control over the permissions on one such directory, and it's driving me nuts seeing the warning twenty times whenever I run that script.
Is there a way to disable the warning ... other than re-building the ruby executable without it?
Thanks in advance,
Harry O.
Harry Ohlsen Guest
-
how to "bounce" sphere relative to world
:confused; Hi all...I'm a total newbie to 3D, but have a 2D understanding of what I'm looking for...I want to create a spehere that "bounces" or... -
what is javascript syntax of 'member("world").model.count'?
hi... what is javascript syntax of 'member("world").model.count'? and, what is javascript syntax of 'member("world").model("box")'? (it's not... -
Necessary world-writable files/directories
Hi, I've got a list of world-writable files and directories that exist on ALL my HP-UX systems. There are a few which I suspect may be needed for... -
"hello world" using SWIG or inline.pm ?
Can somebody teach me how to mix perl code with c++ ? That is, how can I use "inline.pm" or the SWIG package to write a c++ program which takes... -
3d models to "world"
Hello all, Im a newbie to director (2 days with the program/no formal training) and ive been working through the tutorials and i got on o.k. 1 big... -
Yukihiro Matsumoto #2
Re: Message "Insecure world writable dir ..."
Hi,
In message "Message "Insecure world writable dir ...""
on 03/11/24, Harry Ohlsen <harryo@qiqsolutions.com> writes:
|
|When File.popen() is passed an executable whose path contains a world writable directory, it produces a warning message.
|
|While I think this is a good idea, I have no control over the permissions on one such directory, and it's driving me nuts seeing the warning twenty times whenever I run that script.
|
|Is there a way to disable the warning ... other than re-building the ruby executable without it?
'-W0' if you're using 1.8; but I strongly recommend to fix the
permission problem.
matz.
Yukihiro Matsumoto Guest
-
Unregistered #3
Re: Message "Insecure world writable dir ..."
Same here.
If you do not want to turn warnings completely off but get rid of this msg you can do something like
and pipe the output. eg:Code:$ alias shutup="sed -ne '/warning: Insecure world writable dir/d;p'"
It's dirty but I use it from time to time.Code:$ rake 2>&1 | shutup $ mongrel_rails -B 2>&1 | shutup
Cheers, RogerUnregistered Guest



Reply With Quote


