mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 16:14:39 +00:00
chore (messaging): udpate assertion report
This commit is contained in:
@@ -40,13 +40,14 @@ func assertFS(path string) {
|
||||
}
|
||||
}
|
||||
fmt.Printf(`
|
||||
===========================================================================
|
||||
FATAL ERROR `+APPNAME+` can't write onto its own folder
|
||||
DIAGNOSIS the folder belongs to uid=%d but the process runs as uid=%d
|
||||
FIX chown -R %d:%d %s
|
||||
===========================================================================
|
||||
Shutting down ...
|
||||
`, stat.Uid, uid, uid, gid, GetAbsolutePath(""))
|
||||
=================================================================================
|
||||
FATAL ERROR %s can't write onto its own folder
|
||||
=================================================================================
|
||||
TEST RESULT expected application folder owner to be uid=%d, got uid=%d
|
||||
HOW TO FIX chown -R %d:%d %s
|
||||
=================================================================================
|
||||
shutting down ...
|
||||
`, APPNAME, uid, stat.Uid, uid, gid, GetAbsolutePath(""))
|
||||
time.Sleep(5 * time.Second)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user