Skip to content

What is scope? #1323

Answered by Frank4411
kulak asked this question in Q&A
Discussion options

You must be logged in to vote

From my understanding Scope is like a relative path that account, like a home directory for a given user. If your scope is "." then that is the root path of your filebrowser instance that you defined with the "-r" flag.

See "filebrowser --help"
-r, --root string root to prepend to relative paths (default ".")

For example (in a linux instance):
If I run "filebrowser -r /home/testuser/" then my scope of "." would also be "/home/testuser" within the filebrowser web interface.

The doc page might be able to elaborate a bit more on this. I personally would recommend just adding some test files in and making a few different user accounts. I was able to sort most of that out just by playing aroun…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kulak
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants