You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Guys, firstly I'd like to say awesome job getting bash and Ubuntu working in win 10, BUT I seem to have an issue.
When I am, trying to set the permissions on a file using chmod it doesn't set the permissions as intended.
If I do this command on a true Ubuntu OS it works, as shown below...
Your Windows build number: (Type ver at a Windows Command Prompt)
10.0.15063
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
I created a sample.txt file
set 755 permissions on sample.txt file: 'chmod 755 sample.txt'
ls -all to see permissions
set 400 permissions on sample.txt file: 'chmod 400 sample.txt'
ls -all to see permissions.
Then I did a compare doing the same on a true Ubuntu install and you can clearly see permission changes don't match.
Bash CLI
TRUE Ubuntu OS 17.x
PLEASE LOOK INTO THIS AS IT DROVE ME NUTS TRYING TO WORK THIS OUT as it caused a problem trying to ssh with private key files that were NOT permissioned as -r-------- when using the BASH on ubuntu in win10.
Keep up the development team !!!!
What's wrong / what should be happening instead:
Permissions should be changed correctly
Strace of the failing command, if applicable: (If <cmd> is failing, then run strace -o strace.txt -ff <cmd>, and post the strace.txt output here)
Command doesn't fail as such just doesnt do what it is supposed to
The text was updated successfully, but these errors were encountered:
@GFRoSTY - That's common misunderstanding of WSL :).
Files in DrvFS, i.e., under /mnt/<drive letter>/<dir>, does not have permissions that same as linux. So, just cd ~ before your test begin and then create test files in VolFS.
I did cd ~ and then tested again and it now chmod 400 gives the correct permissions so I'll keep any eye out to make sure for true linux VoIFS mode when needed
Hi Guys, firstly I'd like to say awesome job getting bash and Ubuntu working in win 10, BUT I seem to have an issue.
When I am, trying to set the permissions on a file using chmod it doesn't set the permissions as intended.
If I do this command on a true Ubuntu OS it works, as shown below...
Your Windows build number: (Type
ver
at a Windows Command Prompt)10.0.15063
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
Then I did a compare doing the same on a true Ubuntu install and you can clearly see permission changes don't match.
Bash CLI
TRUE Ubuntu OS 17.x
PLEASE LOOK INTO THIS AS IT DROVE ME NUTS TRYING TO WORK THIS OUT as it caused a problem trying to ssh with private key files that were NOT permissioned as -r-------- when using the BASH on ubuntu in win10.
Keep up the development team !!!!
What's wrong / what should be happening instead:
Permissions should be changed correctly
Strace of the failing command, if applicable: (If
<cmd>
is failing, then runstrace -o strace.txt -ff <cmd>
, and post the strace.txt output here)Command doesn't fail as such just doesnt do what it is supposed to
The text was updated successfully, but these errors were encountered: