Closed davidshutter closed 6 years ago
Seems it's not only for "local" storages.
I tried the following locally:
% sudo -u wwwrun php occ files_external:create --user user1 /smb smb password::password
Storage created with id 1
% sudo -u wwwrun php occ files_external:list user1
+----------+-------------+------------+-----------------------+---------------+-----------------------+
| Mount ID | Mount Point | Storage | Authentication Type | Configuration | Options |
+----------+-------------+------------+-----------------------+---------------+-----------------------+
| 1 | /smb | SMB / CIFS | Username and password | | enable_sharing: false |
+----------+-------------+------------+-----------------------+---------------+-----------------------+
Even if I allow users to mount "SMB", the mount doesn't appear. That must be a bug.
However in your case @davidshutter you are trying to mount a "local" storage as user. So the bug is that the command should not allow it at all instead of saying ok. Only admins are allowed to mount "local" storages. Please try mounting it without "--user" and then use the ":applicable" command to scope the mount only for that specific user.
Let's keep this ticket open to provide a better error output for the commands.
Hey, this issue has been closed because the label status/STALE
is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)
Low priority and rare case. If anyone is interested in contributing, feel free to reopen.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Steps to reproduce
Expected behaviour
/media/drives/username folder to be mounted as an external storage location for the user with the above UUID shows in files_external:list accessible through webui
Actual behaviour
files_external:create command runs and returns Storage created with id 13 shows in files_external:list FEDCBA09-9876-ABCD-4321-FF7312345678, but not if run without the username no external source shows for user on client side
Server configuration
Operating system: ubuntu 14.04 Web server: apache2 Database: mysql PHP version: 5.5.9 ownCloud version: (see ownCloud admin page) 9.0.3 Updated from an older ownCloud or fresh install: updated from 8.2.6 Where did you install ownCloud from: apt-get from latest repo Signing status (ownCloud 9.0 and above):
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)