Re: [go-nuts] Getting Uid/Gid for a folder

2017-08-08 Thread charlesforry
WOW this is exactly what I was looking for - Thanks sbez On Monday, July 31, 2017 at 8:46:44 PM UTC-6, Ian Lance Taylor wrote: > > On Mon, Jul 31, 2017 at 4:53 PM, Serguei Bezverkhi (sbezverk) > > wrote: > > > > I am having trouble getting GID for a folder. I checked os.Stat api but > it ret

Re: [go-nuts] Getting Uid/Gid for a folder

2017-07-31 Thread Ian Lance Taylor
On Mon, Jul 31, 2017 at 4:53 PM, Serguei Bezverkhi (sbezverk) wrote: > > I am having trouble getting GID for a folder. I checked os.Stat api but it > returns only permissions, there is no Uid or Gid. > > stat /mnt/disks/vol2 > File: ‘/mnt/disks/vol2’ > Size: 6 Blocks: 0

[go-nuts] Getting Uid/Gid for a folder

2017-07-31 Thread Serguei Bezverkhi (sbezverk)
Hello, I am having trouble getting GID for a folder. I checked os.Stat api but it returns only permissions, there is no Uid or Gid. stat /mnt/disks/vol2 File: ‘/mnt/disks/vol2’ Size: 6 Blocks: 0 IO Block: 4096 directory Device: fc12h/64530dInode: 64 Lin