• Jakob Unterwurzacher's avatar
    loopback: preserve owner when running as root · 493adfb7
    Jakob Unterwurzacher authored
    If we are running as root have caller information from
    the context, try to set the owner of newly created files
    and directories.
    
    Lays the foundation for fixing xfstests generic/087
    (xfstests always run as root).
    
    Change-Id: Ib8d768153f3ec82ce572021a433a6398560efd44
    493adfb7
loopback.go 9.96 KB