R
roger
I've created a web setup project for my aspnet app, and added
a web folder item "tmp" to the File System editor under the web
application folder.
(My app uses this folder for generating image files and such)
Problem is, I can't figure out how to make this folder writable by
the ASPNET user during installation.I've set the writable property
for the new folder object, but it doesn't give the permission to
the ASPNET user.
I thought to try and create a custom install action and manipulate
the directory permissions in there, but I can't figure out
how to change the current access permissions of an existing directory.
Alternatively, I could just create the tmp folder in the custom action,
but I don't see how to specify the permissions when creating a directory.
I see the FileStream constructor takes a FileAccess argument, but I don't
see any mechanism to pass one of those to Directory.CreateDirectory...
Any help appreciated..
Thanks
a web folder item "tmp" to the File System editor under the web
application folder.
(My app uses this folder for generating image files and such)
Problem is, I can't figure out how to make this folder writable by
the ASPNET user during installation.I've set the writable property
for the new folder object, but it doesn't give the permission to
the ASPNET user.
I thought to try and create a custom install action and manipulate
the directory permissions in there, but I can't figure out
how to change the current access permissions of an existing directory.
Alternatively, I could just create the tmp folder in the custom action,
but I don't see how to specify the permissions when creating a directory.
I see the FileStream constructor takes a FileAccess argument, but I don't
see any mechanism to pass one of those to Directory.CreateDirectory...
Any help appreciated..
Thanks