file appender - file creation permissions

2010-04-19 Thread Igor Lautar
Hi All,

I've search through documentation bug could not find answer to this question.

We are using file appender to output logs to a file, minimal lock is
used for locking model.

We have encountered a problem where logs are not being written when
output file already exists and is created by different user. The
problem is in permissions.

Is there a way to force created file permissions to be 'Everyone full control'?

Thank you,
Igor


Re: file appender - file creation permissions

2010-04-19 Thread Ron Grabowski
Can you do that with a FileStream? Aren't those types of permissions down 
another level beneath the Framework?



- Original Message 
From: Igor Lautar igor.lau...@gmail.com
To: log4net-user@logging.apache.org
Sent: Mon, April 19, 2010 4:26:00 AM
Subject: file appender - file creation permissions

Hi All,

I've search through documentation bug could not find answer to this question.

We are using file appender to output logs to a file, minimal lock is
used for locking model.

We have encountered a problem where logs are not being written when
output file already exists and is created by different user. The
problem is in permissions.

Is there a way to force created file permissions to be 'Everyone full control'?

Thank you,
Igor