You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I configure both -a "@/path1, /path2" and -a "admin:123456@/:rw" at the same time, then admin's access rights to files in the /path1 directory will become readonly.
I can use -a "admin:123456@/:rw, /path1:rw, path2:rw" to fix this.
The text was updated successfully, but these errors were encountered:
The anonymous auth paths will be merged with user auth paths. -a admin:123456@/:rw -a @/path1,/path2 will expand to -a admin:123456@/:rw,/path1,/path2 -a @/path1,/path2
Since dufs supports auth precedule (#325), so the perm of /path1,/path2 is read-only.
How to improve
After you reported this issue, we noticed that this is not a good design. We can download /path1, make some change, then re-upload /path1 to bypass this limitation.
So we need to make adjustments: A parent path with higher permissions can shadow a child path with lower permissions.
/:rw,/path1 will expand to /:rw, but /,/path1:rw will remain unchanged.
If I configure both
-a "@/path1, /path2"
and-a "admin:123456@/:rw"
at the same time, then admin's access rights to files in the/path1
directory will become readonly.I can use
-a "admin:123456@/:rw, /path1:rw, path2:rw"
to fix this.The text was updated successfully, but these errors were encountered: