-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose posix fs settings #8598
Expose posix fs settings #8598
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Quality Gate passedIssues Measures |
661f0f9
to
025acea
Compare
UseSpaceGroups bool `yaml:"use_space_groups" env:"STORAGE_USERS_POSIX_USE_SPACE_GROUPS" desc:"Use space groups to manage permissions on spaces."` | ||
|
||
WatchType string `yaml:"watch_type" env:"STORAGE_USERS_POSIX_WATCH_TYPE" desc:"Type of the watcher to use for getting notified about changes to the filesystem. Currently available options are 'inotifywait' (default), 'gpfswatchfolder' and 'gpfsfileauditlogging'."` | ||
WatchPath string `yaml:"watch_path" env:"STORAGE_USERS_POSIX_WATCH_PATH" desc:"Path to the watch directory/file. Only applies to the 'gpfsfileauditlogging' and 'inotifywait' watcher, in which case it is the path of the file audit log file/base directory to watch."` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when inotify is used this is actually overwritten with the posix root path:
watchPath := o.WatchPath
var err error
switch o.WatchType {
case "gpfswatchfolder":
t.watcher, err = NewGpfsWatchFolderWatcher(t, strings.Split(o.WatchFolderKafkaBrokers, ","))
if err != nil {
return nil, err
}
case "gpfsfileauditlogging":
t.watcher, err = NewGpfsFileAuditLoggingWatcher(t, o.WatchPath)
if err != nil {
return nil, err
}
default:
t.watcher = NewInotifyWatcher(t)
watchPath = o.Root
}
Using
on first login I get an error in the log
and I do not get a space in the web ui |
was fixed by enabling redis with
|
When creating files and directories via cli they would get assimilated, but the browser listing would not change when reloading the page. The cause was that the web ui somehow was using old spaceids ... cached somewhere. when cutting everything but the domain web would pick up the new personal spaceid and new files would show up properly. |
ok, only issues I am aware of:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no blockers from my POV
Quality Gate passedIssues Measures |
Has this currently be added to a release? I do not see mention in the changelogs. |
ocis companion PR for cs3org/reva#4562
Example settings for gpfs with the
gpfswatchfolder
watcher: