Re: Setting file/directory permissions
From: Marten Engblom (nospam_at_nospam.com)
Date: 03/25/05
- Next message: Feroze [msft]: "Re: HttpWebRequest and Host header (ANSWERED)"
- Previous message: Marten Engblom: "Re: Setting file/directory permissions"
- In reply to: Steve Bugden: "Setting file/directory permissions"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Mar 2005 15:04:52 -0800
This is the best I have found:
http://support.microsoft.com/kb/818362/EN-US/
If anyone has a better solution, please post it.
Marten
"Steve Bugden" <SteveBugden@discussions.microsoft.com> wrote in message
news:43AD335B-F036-48BC-A0A0-6354B8D4A399@microsoft.com...
> Hi,
>
> Is there a simple way to set file/directory permissions programatically in
> .net.
>
> All I want to do is to check that I have write access to a file or
> directory. If I don't have access I want to change the permission of the
file
> before writing.
>
> I assume that the assembly that makes the change would need some kind of
> permission to do it.
>
> The files are installed on an ISPs web server, and for some reason unknown
> the permissions change unpredictably, could be to do with ftp and
frontpage
> server extensions but I am not in a position to make any changes there.
>
> Many thanks in anticipation,
>
> Steve.
>
- Next message: Feroze [msft]: "Re: HttpWebRequest and Host header (ANSWERED)"
- Previous message: Marten Engblom: "Re: Setting file/directory permissions"
- In reply to: Steve Bugden: "Setting file/directory permissions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|