Reading the access attributes of directories in Windows

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sat Aug 28 01:07:30 CEST 2010

In message <mailman.99.1282894128.29448.python-list at>, Rami 
Chowdhury wrote:

> On Wed, Aug 25, 2010 at 05:04, Lawrence D'Oliveiro
> <ldo at geek-central.gen.new_zealand> wrote:
>> In message <pan.2010. at>, Nobody wrote:
>>> Having this as a separate permission allows normal users to add entries
>>> to log files but not to erase existing entries.
>> Unix/Linux systems can do this already.
> Ooh, I didn't know that -- what combination of permissions would I
> have to use to get such an effect?

No special permissions needed at all—just use the syslog(3) functions.

And the nice thing is, you don’t have to know whether the system logs are 
kept on the local machine or on a remote machine, or how different 
categories of messages are divided up into different files, how log rotation 
is done, or anything like that—it’s all transparent.

More information about the Python-list mailing list