shithub: mycel

Download patch

ref: c2393c32d18cc8a2c0d72d51fb75b3424fe964b7
parent: 90df0ec3e9f20610f08332bc08f8df9d1cfdf090
author: Philip Silva <philip.silva@protonmail.com>
date: Sat Sep 10 08:53:45 EDT 2022

Fix permissions in fs

--- a/browser/fs/fs.go
+++ b/browser/fs/fs.go
@@ -63,8 +63,9 @@
 func Srv9p() {
 	c.L.Lock()
 	var root *fs.StaticDir
+	var err error
 
-	un, gn, err := userGroup()
+	un, gn, err = userGroup()
 	if err != nil {
 		log.Errorf("get user: %v", err)
 		c.L.Unlock()