-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Steps to reproduce
- as the admin, setup some local storage that provides files on the local server to the ownCloud users
- set the storage settings option read-only (or change some other settings option from the defaults)
files_external:listfiles_external:list --mount-options
Expected behaviour
The read-only setting is mentioned in the Options column. (any options that are not set differently from the ssystem defaults should be reported)
The read-only setting is mentioned with value true (not false) in the Options column. (i.e. all options should be reported with their actual currently-set values)
Actual behaviour
The options column is empty:
$ php occ files_external:list
+----------+-------------+---------+---------------------+------------------------------+---------+------------------+-------------------+
| Mount ID | Mount Point | Storage | Authentication Type | Configuration | Options | Applicable Users | Applicable Groups |
+----------+-------------+---------+---------------------+------------------------------+---------+------------------+-------------------+
| 22 | /zzz | Local | None | datadir: "\/home\/phil\/zzz" | | All | |
+----------+-------------+---------+---------------------+------------------------------+---------+------------------+-------------------+
The options column shows the system defaults, not the current settings:
$ php occ files_external:list --mount-options
+----------+-------------+---------+---------------------+------------------------------+------------------------------------------------------------------------------------------------------------------------------------+------------------+-------------------+
| Mount ID | Mount Point | Storage | Authentication Type | Configuration | Options | Applicable Users | Applicable Groups |
+----------+-------------+---------+---------------------+------------------------------+------------------------------------------------------------------------------------------------------------------------------------+------------------+-------------------+
| 22 | /zzz | Local | None | datadir: "\/home\/phil\/zzz" | encrypt: true, previews: true, filesystem_check_changes: 1, read_only: false, enable_sharing: false, encoding_compatibility: false | All | |
+----------+-------------+---------+---------------------+------------------------------+------------------------------------------------------------------------------------------------------------------------------------+------------------+-------------------+
Server configuration
current core master github
Reactions are currently unavailable