Message "Insecure world writable dir ..."

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. "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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default Re: Message "Insecure world writable dir ..."

    Quote Originally Posted by Harry Ohlsen View Post
    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.
    Same here.

    If you do not want to turn warnings completely off but get rid of this msg you can do something like
    Code:
     $ alias shutup="sed -ne '/warning: Insecure world writable dir/d;p'"
    and pipe the output. eg:
    Code:
    $ rake 2>&1 | shutup
    $ mongrel_rails -B 2>&1 | shutup
    It's dirty but I use it from time to time.

    Cheers, Roger
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139