c0defellas / enzo

core utilities
11 stars 2 forks source link

windows: ls doesn't builds anymore #38

Closed i4ki closed 7 years ago

i4ki commented 7 years ago

2017-04-17 2

i4ki commented 7 years ago

the place where taking a screenshot is easier than copying terminal output... My old paint skills are still useful here to crop images.

i4ki commented 7 years ago

there's no uid/gid concept in windows but SID, a kind of security token.. From this SID apparently we have a way to get username and their group. But Go lacks the syscall bits to retrieve that from windows kernel.. Maybe just print "unknown unknown" to user and group on windows? I think this is best than omitting the info because script could rely on the user/group field..