gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Windows status line: Script must have permissions "06


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Windows status line: Script must have permissions "0600"
Date: Fri, 13 May 2011 23:49:20 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, May 12, 2011 at 09:55:23AM -0700, LuisCapriles wrote:

> I repeated the tests with the same result:
> 1)
> LuisCapriles Full Control
> I removed everybody else from the permission window.  So, I suppose that
> only LuisCapriles has rights over the file...
> >>> oct(stat.S_IMODE(os.stat('readonly').st_mode))
> '0666'
> 2)
> LuisCapriles read & execute
> I removed everybody else from the permission window.
> >>> oct(stat.S_IMODE(os.stat('readonly').st_mode))
> '0666'
> 3)
> LuisCapriles Full Control
> Everybody group Deny all permission
> >>> oct(stat.S_IMODE(os.stat('readonly').st_mode))
> '0666'
> 
> So, because this seems to have no sense, I researched and found the
> following!!!
> http://bugs.python.org/issue10888
> 
> I made the following tests
> 1)File: readonly
> >>> oct(stat.S_IMODE(os.stat('readonly').st_mode))
> '0666'
> 2)File: readonly.exe
> >>> oct(stat.S_IMODE(os.stat('readonly.exe').st_mode))
> '0777

Brilliant, thanks for the analysis !

I disabled the check in Windows starting with 0.9.5 so the
hooks framework should start working there, too.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]