Change file permission on a Unix file using C# / .NET
Posted on 2003-12-04
I am in the process of converting an existing Windows Perl program to C# using Visual Studio .NET.
This is a Windows Application and it will create a text file on a shared UNIX file server. By default it creates the file with RWE permission only to user that invokes the appplication. How can I change the file permission on the file using C# or the .NET framework? That is perform what would be equivalent to "chmod 777" to the UNIX file.
I was able to perform the above in Perl but haven't been able to figure out how to do it on C#.