Chmod windows powershell10/3/2023 ![]() Given that there fundamentally isn't one single simple clear way to map Linux permissions to DrvFs (do they affect Windows permissions?, do different Windows users' bash installs see each others' permissions?, etc), I think there's a reasonable chance that whatever you're hitting could be relevant to the design decisions that the WSL team might decide to make in the future. So it seems to me that there's some difference that explains why things work for me and not for you. But it clearly doesn't work well for you. (WSL devs usually have the "Member" or "Owner" tags on their posts.) So, as to whether the permissions could be kept in memory (presumably in lxss somewhere so that they would be scoped to the current user) - I'm sure it would be technically feasible, as long as you don't have too many files, but I'm not in a position to do it :-)Īs a user, I'm trying to do something that's very similar to my reading of your description above, and it works great for me. I just want a more-precise bug report - I'm not a WSL developer I'm just a user. I can keep going for a while with the decision tree here - basically, 's particular report was very broad the limited information provided so far could be pointing to any of several WSL limitations as well as a variety of ordinary system misconfigurations. If it's pointing directly at DrvFs, I would ask whether Apache's own (Allow/Deny) permissions are set up to allow it to serve from that directory. In the latter case, I'd ask whether Apache has FollowSymlinks set correctly. If Apache isn't seeing the files, I would ask whether Apache is pointing directly at DrvFs or if it's pointing at a symlink. icacls.exe key.pem /reset icacls.exe key.pem /grant:r '(env:username):(r)' icacls.exe key. ![]() Note: first change the DIR to the folder where you have your. De esta forma podemos usar los comandos del Símbolo. Apache is, generally speaking, happy to serve any files that it has access to and that are within its DocumentRoot (or that Apache is otherwise configured to serve). In windows 10 powershell I did run the below commands which will be equivalent to chmod. PowerShell nos va a permitir realizar todo tipo de tareas básicas dentro de Windows y también ofrece compatibilidad con los comandos de CMD. ![]() ![]() I meant to refer specifically to, whose concern seemed to be (if I understand it correctly) developing a Web app using Windows tools while serving it via Apache. I didn't mean to refer to you in my original comment. I use ssh all the time I'm quite familiar :-)Īs a workaround, could you simply have two copies of your SSH keys, one in a Windows-accessible directory and one in Linux? Or do you change them often enough, or have enough of them, that this would be problematic? If (for example) you have one key and you rotate it once per year, will the amortized cost of copying it to two places be prohibitive? Of course, if you have lots of keys and/or use a key-management tool, then you're right that there is (to my knowledge) no great workaround right now. Ditto for it sounds like a very similar use case. yep, your use case definitely makes sense to me. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |