[Mono-devel-list] File permissions in C#
christopher.orr at gmail.com
Sat Aug 28 13:42:36 EDT 2004
On Sat, 28 Aug 2004 16:41:26 +0100, Garthfield Carter
<garth at webconexion.net> wrote:
> I'm trying to work out how to change the permissions of a file in a C# ASP.NET page. I've read through cover to cover "Mono - A Kick Start" and the file sections talk about how to create a file but not how to change the permissions afterwards.
Take a look at Mono.Posix.Syscall, which has its own chmod and chown methods.
For more detail on this sort of thing, I'd recommend "Mono: A
Developer's Notebook" (http://www.oreilly.com/catalog/monoadn/). The
sample chapter on the website even illustrates an example covering
More information about the Mono-devel-list