Any directory named with "0" is not visible in a SFTP external storage


#1

Steps to reproduce

  1. Create a set of directories which names can be numbered, “0”, “1”, “2”, …, for example in a SFTP external storage
  2. Log into owncloud and go to the SFTP external storage to check the directory in which the new sub-directories with their numeric names were created.

Expected behaviour

The new sub-directories should be visible there in such a directory

Actual behaviour

All the sub-directories with the exception of the sub-directory, “0”, are visible there. Only the sub-directory, “0”, is hidden despite having the same rights as the other sub-directories. Even, the number of sub-directories shown there does not include the sub-directory, “0”. Besides, all the contents of the SFTP are visible with the exception of any directory named as “0”.

Server configuration

Operating system: CentOS 3.10.0-862.14.4.el7.x86_64

Web server: Apache/2.4.6 (CentOS)

Database: sqlite x86_64 3.7.17

PHP version: PHP 7.1.23 (cli) (built: Oct 10 2018 12:11:12) ( NTS )

ownCloud version: 10.0.10.4 (Community Version)

Updated from an older ownCloud or fresh install: Fresh install

Where did you install ownCloud from: The official repository

Signing status (ownCloud 9.0 and above): No errors have been found.

The content of config/config.php:

{
    "system": {
        "updatechecker": false,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "x.x.x.x"
        ],
        "datadirectory": "\/var\/www\/html\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbtype": "sqlite3",
        "version": "10.0.10.4",
        "logtimezone": "UTC",
        "installed": true,
        "instanceid": "oct85fy63bib",
        "ldapIgnoreNamingRules": false
    }
}

List of activated apps:

Enabled:

  • comments: 0.3.0
  • configreport: 0.1.1
  • dav: 0.4.0
  • federatedfilesharing: 0.3.1
  • federation: 0.1.0
  • files: 1.5.1
  • files_clipboard: 0.7.1
  • files_external: 0.7.1
  • files_pdfviewer: 0.9.0
  • files_sharing: 0.11.0
  • files_texteditor: 2.2.1
  • files_trashbin: 0.9.1
  • files_versions: 1.3.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • gallery: 16.1.0
  • market: 0.2.5
  • notifications: 0.3.5
  • provisioning_api: 0.5.0
  • systemtags: 0.3.0
  • updatenotification: 0.2.1
  • user_ldap: 0.11.0
    Disabled:
  • encryption
  • external
  • user_external

Are you using external storage, if yes which one: sftp

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Chrome and Microsoft Edge

Operating system: Centos 7 and Windows 10


#2

Hi,

this is obviously a bug.

I will create a ticket in the ownCloud repository and link it here.

Thanks for taking the time and writing in here, you are improving the product :slight_smile: