Insecure home writable warning

On a few of our systems, I get the following error all the time..

"testScript:61: warning: Insecure world writable dir /home, mode 04077"

I understand what is warning about. But, I can't really do anything about
it. I'm not the sys admin.

Regardless of the fact if this is safe/bad or not.

Can I disable/surpress this particular warning? I'd ideally like to be able
to just surpress this warning, and not all warnings or something like that.

Yeah, I just noticed this happening on some of my systems too, after
installing a new version of ruby. In my case the problem is interactions
between OpenAFS access-control-lists, standard unix access-mode bits,
and this check that ruby is trying to do. The upshot is that ruby's check is
NOT correct, even though it does see mode-bits which suggest the directory
is world-writable.

It happens every time your script will execute some command, such as
`command` or IO.popen.

In my case, I'm using a full pathname to the program I want to execute, such
as `/usr/bin/whoami`. So, my quick fix was to set:
ENV["PATH"]="/bin:/sbin:/usr/bin:/usr/sbin"
early in my ruby script. That solves my problem, but I'm not sure it will work
as well for your situation.

ยทยทยท

On 10/25/05, Grant Schoep <matobinder@idcomm.abcremooveabc.com> wrote:

On a few of our systems, I get the following error all the time..

"testScript:61: warning: Insecure world writable dir /home, mode 04077"

I understand what is warning about. But, I can't really do anything about
it. I'm not the sys admin.

Regardless of the fact if this is safe/bad or not.

Can I disable/surpress this particular warning? I'd ideally like to be able
to just surpress this warning, and not all warnings or something like that.

--
Garance Alistair Drosehn = drosihn@gmail.com
Senior Systems Programmer or gad@FreeBSD.org
Rensselaer Polytechnic Institute; Troy, NY; USA