Skip to content

Cannot delete files in shared folder when an open_basedir is set, error #465 #8510

@VincentvgNn

Description

@VincentvgNn

Description

In OC server 6.0.3. I still cannot delete files in a shared folder when an open_basedir is set.
In OC server 6.0.2. Deleting files and creating/deleting folders via the ownCloud client did not work at all. Error message: 403 Forbidden
So the closed issue "Fix for Should work with open_basedir enabled #6472" seems to have solved a lot, but not all.

I described the problem and a temporary fix in my posts on the forum at:
"Patch fix open_basedir enabled for 6.0.2"
http://forum.owncloud.org/viewtopic.php?f=26&t=20244
by: Vincentvg » Wed Apr 16, 2014 3:09 pm

I can help testing a next fix.

Steps to reproduce

  1. Create a file in a folder shared with you (editor permission set).
  2. Delete that file.

Expected behaviour

The file should be deleted and not be downloaded again.

Actual behaviour

The client sync activity log screen reports:
"The file has been removed from a read only share. It was restored."
And indeed I got the deleted file restored.
Strange is that I'm having a read/write share !! Why do I get this false message?

Server configuration

Operating system: Linux Hosting Package
Web server: Apache
Database: MySQL
PHP version: 5.4
ownCloud version: 6.0.3.1
Updated from an older ownCloud or fresh install: recently updated from a fresh installed version 6.0.2
List of activated apps: default apps + encryption app
Are you using external storage: no
Are you using encryption: yes

Client configuration

Browser: (IE8) IE11 or Google Chrome
Operating system: Win XP or Win 7

Logs

ownCloud log (data/owncloud.log)

Error PHP 
curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set at /home/"user name"/domains/"domain name"/public_html/owncloud/3rdparty/Sabre/DAV/Client.php#465
2014-05-06T18:16:44+00:00
The client sync activity log screen reports:
Action: The file has been removed from a read only share. It was restored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions