• Seth Jennings's avatar
    Avoid setting S_ISGID on files in volumes. · 67f31342
    Seth Jennings authored
    Directories in volumes are set S_ISGID to ensure files created inside
    them inherit group ownership.  Currently, files are also set S_ISGID
    however this is not relevant to the original intent, and indicates
    'mandatory file locking' (stat(2)).
    
    With this commit, only directories are set S_ISGID.
    67f31342
volume_linux.go 1.85 KB