-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
umask not taking? #866
Comments
It looks like this is only an issue in folders in |
I think this is a symptom of a more general issue -- AFAIK file permissions in general aren't fully supported on DrvFS (ie., /mnt/*) |
Well, NTFS file permissions are supported and enforced, they just aren't translated to the usual linux attributes. Apparently, the only way to find out if you have permission to do something (from within WSL) on a file in DriveFS is to try it and see if it works. |
I noticed when I
touch a.js
it's created with the default permissions of-rwxrwxrwx
and I'm wanting to change that to-rw-r--r--
. I tried usingumask 022
but it's not seeming to make a difference.touch a.js ls -l a.js -rwxrwxrwx a.js umask 022 touch b.js ls -l b.js -rwxrwxrwx b.js
The text was updated successfully, but these errors were encountered: