C
C#4mo ago
ocula :33

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)
No description
7 Replies
The Fog from Human Resources
What filetype are you trying to download
Pobiega
Pobiega4mo ago
How are you doing the download? Are you sure the process is running under admin?
Omnissiah
Omnissiah4mo ago
access under program files is usually denied, except for trusted platform were you trying to write there?
Pobiega
Pobiega4mo ago
some kinda mod launcher, based on the path bepinex is a mod framework for unity games, iirc
jcotton42
jcotton424mo ago
The path is a Steam library, and Steam usually sets pretty relaxed perms inside there.
Omnissiah
Omnissiah4mo ago
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
ocula :33
ocula :33OP4mo ago
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
Want results from more Discord servers?
Add your server