←back to thread

Ubuntu on Windows

(blog.dustinkirkland.com)
2049 points bpierre | 1 comments | | HN request time: 0.232s | source
Show context
cabirum ◴[] No.11391054[source]
Are posix permissions supported/emulated? Or are they set to 777 for all Windows drives in /mnt like shared folders in a VM?
replies(4): >>11391267 #>>11393116 #>>11393552 #>>11445615 #
1. AaronFriel ◴[] No.11393552[source]
It looks like alternize was almost right, at 4:39 you can see that within the Ubuntu (not /mnt) part, default permissions are used. e.g.: `ls -l proc` reveals that much of it is read only.

If the Ubuntu on Windows personality/subsystem gave Linux processes full permissions to /mnt/c, I'd expect that would be a security vulnerability, and I'd assume they are doing some mapping. Unfortunately, in the video they posted I never see them do `ls -l` on `/mnt/c`, only a subdirectory they created.