[Mono-winforms-list] System.UnauthorizedAccessException: Access to the path to folder is denied on Linux
monoman at gmail.com
Thu Jan 22 08:49:11 EST 2009
Normally there is a Desktop directory in the home folder (with capital D),
so probably you doesn't have a desktop directory there and you won't be able
access a file inside a non existing directory.
Try at a console window:
to see if there is a desktop directory there.
Remember, in Linux and most other OSes, except Windows, the filesystem is
case sensitive so Desktop and desktop are 2 different folders or files.
Hope it helps,
On Thu, Jan 22, 2009 at 4:18 AM, aifaz <aifaz.khan at gmail.com> wrote:
> i have developed appliaction in c# .net 2005 to generate pdf file
> it worked fine on MONO 2.0 On WINDOWS, but i am trying to run on
> mono on Linux i got an error
> System.UnauthorizedAccessException: Access to the path
> '/home/jose/desktop/teste' is denied. at System.IO.FileStream..ctor
> (System.String path, FileMode mode, FileAccess access, FileShare share,
> Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] at
> System.IO.FileStream..ctor (System.String path, FileMode mode)
> i have all admin writes on Linux but Access to the path to perticular
> folder where some image file is located is DENIED.
> Please tell me how can i resolve this issue.
> i have been hoping for earliar response.
> Thank You
> View this message in context:
> Sent from the Mono - WinForms mailing list archive at Nabble.com.
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
Rafael "Monoman" Teixeira
"I myself am made entirely of flaws, stitched together with good
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-winforms-list