Skip to content

User without permissions is not warned when moving an external storage folder #26671

Closed

Description

@SergioBertolinSG

Steps to reproduce:

  1. Enable files_external app.
  2. Using admin set up a mount point called External.
  3. As a regular user not admin try to move External folder into another folder.

Expected behaviour:

A warning appears telling the user why he cannot move that folder.

Actual behaviour

It doesn't happen but the user is not warned.

Server configuration

Operating system:
Ubuntu 16.04

Web server:
Apache

Database:
MySQL

PHP version:
7.0

ownCloud version: (see ownCloud admin page)
Current master
{"installed":true,"maintenance":false,"needsDbUpgrade":false,"version":"9.2.0.3","versionstring":"9.2.0 pre alpha","edition":"","productname":"ownCloud"}

Updated from an older ownCloud or fresh install:
Fresh

The content of config/config.php:


Are you using external storage, if yes which one: local/smb/sftp/...
Yes, SFTP

Are you using encryption:
No

Logs



Client configuration

Chrome.

Activity

  1. changed the title [-]User without permissions is not warned when moving an external storage[/-] [+]User without permissions is not warned when moving an external storage folder[/+] on Nov 21, 2016
  2. SergioBertolinSG commented on Nov 21, 2016

    @SergioBertolinSG
    ContributorAuthor
  3. cdamken commented on Nov 21, 2016

    @cdamken
    Contributor
  4. pmaier1 commented on Nov 22, 2016

    @pmaier1
    Contributor

    A warning would be nice to explain to users why they can not move an external storage folder like they can do with e.g. shared folders. However, it would be even nicer to be able to move such a folder around as you wish.

  5. SergioBertolinSG commented on Nov 22, 2016

    @SergioBertolinSG
    ContributorAuthor

    @PVince81 what do you think about regular users moving global external folders in their filesystem without affecting other users? It is feasible?

    At the moment I think this is the expected behaviour as the administrator set up those folders for all users at once.

    Not sure if this behaviour change is too complex for files external app.

  6. PVince81 commented on Nov 22, 2016

    @PVince81
    Contributor

    It is too complex for now with the current data structure, and we really don't want to mess / split / convert the admin-side configuration every time a user decides to have their own way.

    However if we want this long term, we could leverage the new oc_mounts table to make it possible for users to move any of their mounts. But before we can do this, oc_mounts needs to become an authoritative fstab like list: #26190
    Because currently it's just a cache of existing mounts, you cannot change anything there. The contents of it is dictated by the sharing and ext storage apps.

  7. added this to the backlog milestone on Nov 22, 2016
  8. ownclouders commented on Dec 21, 2017

    @ownclouders
    Contributor

    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.

  9. ownclouders commented on Jan 29, 2018

    @ownclouders
    Contributor

    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.)

  10. ownclouders commented on Mar 9, 2018

    @ownclouders
    Contributor

    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.)

  11. stale commented on Sep 21, 2021

    @stale

    This issue has been automatically closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions