RE: [Zope3-Users] ZDaemonTests testUmask error

2005-06-21 Thread Alen Stanisic

[Tim Peters]
> The cause was that the poster ran the tests as root.  If that's what
> you did, don't run the tests (or Zope!) as root.  If that's not what
> you did, it will take some digging on your end.

That was the problem, I ran installation and tests as root.  

After creating a non-privileged zope3 user and running installation and
tests as that users all tests passed.

If it still means anything I am running Debian Stable 3.1 (sarge), umask
is  0022.

Thanks
Alen

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] ZDaemonTests testUmask error

2005-06-21 Thread Tim Peters
[Alen Stanisic]
> I managed to download Zope 3.1b (thanks Tim and Stephan),

Thank Stephan and Jim -- I just built the Windows installers, and I
can guarantee testUmask doesn't fail on Windows .

> when running 'make check' I get the following error:
>
> Failure in test testUmask (zdaemon.tests.testzdrun.ZDaemonTests)
> Traceback (most recent call last):
>  File
> "/usr/local/zope3/install/Zope-3.1.0b1/build/lib.linux-i686-2.3/zdaemon/
> tests/testzdrun.py", line 260, in testUmask
>self.assert_(not os.access(path, os.W_OK))
>  File "/usr/lib/python2.3/unittest.py", line 278, in failUnless
>if not expr: raise self.failureException, msg
> AssertionError
> 
> It seems to be a problem with permissions on a temp file created during
> the test.
>
> I then tried installing ZopeX3-3.0.0 and got exactly the same error.
>
> This is the only error I get when running 'make check' should this be of
> major concern?
>
> (Running: Python 2.3.5, GCC 3.3.5, Debian, Intel Pentium III)

The only other report of this I recall is here:

http://www.zope.org/Collectors/Zope/1453

The cause was that the poster ran the tests as root.  If that's what
you did, don't run the tests (or Zope!) as root.  If that's not what
you did, it will take some digging on your end.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] ZDaemonTests testUmask error

2005-06-21 Thread Jim Fulton

Stephan Richter wrote:

On Tuesday 21 June 2005 02:56, Alen Stanisic wrote:


This is the only error I get when running 'make check' should this be of
major concern?



It's not a big concern, but it would be nice, if it could be fixed. If you 
have a patch, send it in.


Some detective work is needed first.  This isn't failing for me.
I imagine that this isn't failing for most people.

Alan,

What specific OS are you running.

What is your umask setting?

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] ZDaemonTests testUmask error

2005-06-21 Thread Stephan Richter
On Tuesday 21 June 2005 02:56, Alen Stanisic wrote:
> This is the only error I get when running 'make check' should this be of
> major concern?

It's not a big concern, but it would be nice, if it could be fixed. If you 
have a patch, send it in.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users