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/64530d    Inode: 64          Links: 2


Access: (2775/drwxrwsr-x)  Uid: (    0/    root)   Gid: ( 2323/ UNKNOWN) < 
------  I need to get this..

Greatly appreciate some pointers.
Thanks a lot 
Serguei


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to