-
When I create a user I can assign scope with default set to ".". It is not quite clear what it is and how to use it. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
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" For example (in a linux instance): 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 around with the settings and adding in test files. |
Beta Was this translation helpful? Give feedback.
-
The user scope is a root directory that will be set for that user. For example, if you change the user scope to |
Beta Was this translation helpful? Give feedback.
-
Noob here. I've set the root directory to my user home folder I presume this has to do with granting permissions to FileBrowser. And I'm sure it's done with CHMOD. Would someone be so kind as to tell me how to do this? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
I am not sure if this is normal, but scope won't be applied until I re-login. Might help someone who scratching their head thinking why scope won't work. |
Beta Was this translation helpful? Give feedback.
-
Is the scope |
Beta Was this translation helpful? Give feedback.
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…