X Tutup
Skip to content

files_external:list options column does not display the current settings of the storage #36839

@phil-davis

Description

@phil-davis

Steps to reproduce

  1. as the admin, setup some local storage that provides files on the local server to the ownCloud users
  2. set the storage settings option read-only (or change some other settings option from the defaults)
  3. files_external:list
  4. files_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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup