[Mono-list] File permissions ...

Giuseppe Greco giuseppe.greco@agamura.com
09 May 2003 20:56:39 +0200


Hi all,

Try doing this from csharp code:

File.Copy( "mySource.txt", "myDest.txt", true );

... and then look at the file permissions:

-rw-rw-r-- mySource.txt
-rw------- myDest.txt

The File.Copy() method doesn't keep the original
file permissions; does anybody know if this is
a known bug in Mono?

Thanks,

-- 
----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  giuseppe.greco@agamura.com
web:    www.agamura.com
----------------------------------------