The uid field of stat() gives you the owner. Just not by name. But from the uid you could figure out the user's name. I don't know whether anyone has written a package to parse /etc/passwd and extract the user names from their uids, but if not it shouldn't be terribly hard to do.
--Tim On Wednesday, September 17, 2014 10:56:45 AM Kuba Roth wrote: > Hi, > I can't find in julia stdlib equivalent of: > stat -c %U path > > Basically I'd like to query the owner of the file. > There is stat() function but it lacks some features of unix stat command and > I wonder if I overlooked something. > > Thanks > Kuba
