superkret@feddit.org to Linuxsucks@lemmy.worldEnglish · 2 months agoWSL goes brrrfeddit.orgimagemessage-square48fedilinkarrow-up1260arrow-down145
arrow-up1215arrow-down1imageWSL goes brrrfeddit.orgsuperkret@feddit.org to Linuxsucks@lemmy.worldEnglish · 2 months agomessage-square48fedilink
minus-squareBoomkop3@reddthat.comlinkfedilinkEnglisharrow-up2·2 months agoActually no, wine is pretty handy within wsl on windows to restrict windows apps to certain folders on your system
minus-squareBoomkop3@reddthat.comlinkfedilinkEnglisharrow-up1·2 months agoNot if you want to just pop it up with a single command line and close it as quickly
minus-squareBoomkop3@reddthat.comlinkfedilinkEnglisharrow-up2·2 months agoSu isn’t on windows, and does the exact opposite to restricting filesystem access to a specific subset
minus-squareBoomkop3@reddthat.comlinkfedilinkEnglisharrow-up2·2 months agorunas can do that, yes. Now how are you planning yo also create that user in the same command line? And to dispose of it automatically when the process ends?
minus-squareBoomkop3@reddthat.comlinkfedilinkEnglisharrow-up2·2 months agorunas can do that, yes. But it won’t make you a virtual file system, or give you a nat firewall. One use case for this is the backblaze backup utility. It’s kinda stupid in that it has an all-or-nothing approach to backups. Putting it in a container restricts it in a much easier and reliable way than running it with a special user account.
minus-squareabsGeekNZ@lemmy.nzlinkfedilinkEnglisharrow-up1·2 months agoYou had me right up till the end…nice work.
Actually no, wine is pretty handy within wsl on windows to restrict windows apps to certain folders on your system
Removed by mod
Not if you want to just pop it up with a single command line and close it as quickly
Removed by mod
Su isn’t on windows, and does the exact opposite to restricting filesystem access to a specific subset
Removed by mod
runas can do that, yes. Now how are you planning yo also create that user in the same command line? And to dispose of it automatically when the process ends?
runas can do that, yes. But it won’t make you a virtual file system, or give you a nat firewall.
One use case for this is the backblaze backup utility. It’s kinda stupid in that it has an all-or-nothing approach to backups.
Putting it in a container restricts it in a much easier and reliable way than running it with a special user account.
You had me right up till the end…nice work.