mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
extend the HINT on backend ownership and its contents (#9846)
This commit is contained in:
+1
-1
@@ -140,7 +140,7 @@ func NewFSObjectLayer(fsPath string) (ObjectLayer, error) {
|
||||
} else {
|
||||
username = "<your-username>"
|
||||
}
|
||||
hint := fmt.Sprintf("Use 'sudo chown %s %s && sudo chmod u+rxw %s' to provide sufficient permissions.", username, fsPath, fsPath)
|
||||
hint := fmt.Sprintf("Use 'sudo chown -R %s %s && sudo chmod u+rxw %s' to provide sufficient permissions.", username, fsPath, fsPath)
|
||||
return nil, config.ErrUnableToWriteInBackend(err).Hint(hint)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user