admin but no access?
pretty new to coding, got done making a .net windows form app that downloads files from github to a folder in program files x86, required admin perms, and it just will not download. (error message below)
7 Replies
What filetype are you trying to download
How are you doing the download? Are you sure the process is running under admin?
access under program files is usually denied, except for trusted platform
were you trying to write there?
some kinda mod launcher, based on the path
bepinex is a mod framework for unity games, iirc
The path is a Steam library, and Steam usually sets pretty relaxed perms inside there.
is permission inheritance active in program files? also what's the owner set in steam folder? in the end the app's denied writing, so maybe there are relaxed permissions for reading and executing, but writing in that folder still seems kinda weird to me
dll
forget how im doin the download i was coming up with sum random at 5am
cant view code rn
the dll is for a modding api
aka
bepinex
sleepy
all ik rn is that its pulling the dll from a raw github repo and trying to install it to the bepinex folder
if i remember correctly im using WriteAllBytes + Httpclient
pretty simple