chore: bump version v2.29.3 (#766)

This commit is contained in:
Viktor Scharf
2025-05-02 14:20:10 +02:00
committed by GitHub
parent 1cdd21591a
commit e0f05003ef
4 changed files with 9 additions and 5 deletions
@@ -129,7 +129,11 @@ func (fs *Decomposedfs) CreateStorageSpace(ctx context.Context, req *provider.Cr
}
// 770 permissions for the space
if err := os.MkdirAll(rootPath, 0770); err != nil {
if err := os.Mkdir(rootPath, 0770); err != nil {
if os.IsExist(err) {
// Someone has created the space in the meantime. Abort.
return nil, errtypes.AlreadyExists(spaceID)
}
return nil, errors.Wrap(err, fmt.Sprintf("Decomposedfs: error creating space %s", rootPath))
}