mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 09:09:03 +03:00
fix: perms on dufs -A -a @/:ro (#619)
This commit is contained in:
@@ -962,7 +962,7 @@ impl Server {
|
||||
uri_prefix: self.args.uri_prefix.clone(),
|
||||
allow_upload: self.args.allow_upload,
|
||||
allow_delete: self.args.allow_delete,
|
||||
auth: self.args.auth.exist(),
|
||||
auth: self.args.auth.has_users(),
|
||||
user,
|
||||
editable,
|
||||
};
|
||||
@@ -1226,7 +1226,7 @@ impl Server {
|
||||
allow_search: self.args.allow_search,
|
||||
allow_archive: self.args.allow_archive,
|
||||
dir_exists: exist,
|
||||
auth: self.args.auth.exist(),
|
||||
auth: self.args.auth.has_users(),
|
||||
user,
|
||||
paths,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user