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: LuisCapriles
Subject: Re: [Gnumed-devel] Windows status line: Script must have permissions "0600"
Date: Thu, 12 May 2011 09:55:23 -0700 (PDT)

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

So, I think that you are at a loss...

Regards




Karsten Hilbert wrote:
> 
> Hello Luis,
> 
>> I made several tests: changing the "owner" mix, hangin the readonly
>> attribute...
> 
> thanks a lot for this investigation !
> 
>> *******************************
>> Administrators: Full Control
>> LuiCapriles: Full Control 
>> SYSTEM: Full Control
>> *******************************
>> readonly attribute
>> Administrators: Full Control
>> LuiCapriles: Full Control 
>> SYSTEM: Full Control
>> *******************************
>> LuiCapriles: Read, Execute.
>> *******************************
>> SYSTEM: Full Control
>> *******************************
>> readonly attrybute
>> SYSTEM:Read, Execute
>> *******************************
> 
> The conceptual setting we are after is this:
> 
>       - readonly attribute does not matter
>       - full control for LuisCapriles *only*
>       - no one else has *any* control
> 
> Can you perhaps check that, too ?
> 
> Perhaps this is something the Windows security model does
> not directly support ?  In that case we'd have to settle for
> something else.
> 
> Thanks,
> Karsten
> -- 
> GPG key ID E4071346 @ gpg-keyserver.de
> E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346
> 
> _______________________________________________
> Gnumed-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnumed-devel
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Windows-status-line%3A-Script-must-have-permissions-%220600%22-tp31571465p31603629.html
Sent from the GnuMed - Dev mailing list archive at Nabble.com.




reply via email to

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