Cannot rename a file uploaded by other user in shared folder

Support intro

Trace":[{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/l ib/DAV/Tree.php",“line”:157,“function”:“setName”,“class”:“OCA\DAV\Connector\Sabre\Node”,“type”:"->"},{" file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",“line”:641,“function”:“move”,“cla ss”:“Sabre\DAV\Tree”,“type”:"->"},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitt erTrait.php",“line”:89,“function”:“httpMove”,“class”:“Sabre\DAV\CorePlugin”,“type”:"->"},{“file”:"/var/ww w/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:474,“function”:“emit”,“class”:“Sabre\DAV\S erver”,“type”:"->"},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:251,“fun ction”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:"->"},{“file”:"/var/www/html/nextcloud/3rdparty/s abre/dav/lib/DAV/Server.php",“line”:319,“function”:“start”,“class”:“Sabre\DAV\Server”,“type”:"->"},{“file “:”/var/www/html/nextcloud/apps/dav/lib/Server.php”,“line”:325,“function”:“exec”,“class”:“Sabre\DAV\Serve r”,“type”:"->"},{“file”:"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php",“line”:35,“function”:“exec “,“class”:“OCA\DAV\Server”,“type”:”->”},{“file”:"/var/www/html/nextcloud/remote.php",“line”:167,“args”:[" /var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"],“function”:“require_once”}],“File”:"/var/www/html/ nextcloud/apps/dav/lib/Connector/Sabre/Node.php",“Line”:143,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15”, “version”:“20.0.1.1”

Nextcloud version (eg, 18.0.2): 20.1.1
Operating system and version (eg, Ubuntu 20.04): 18.04
Apache or nginx version (eg, Apache 2.4.25): 2.4
PHP version (eg, 7.1): 7.4

The issue you are facing:
cannot rename a file

Is this the first time you’ve seen this error? (Y/N):
No has happened before
Steps to replicate it:

  1. Share a folder with user B
  2. User B uploads a file to the shared folder
  3. User A tries to rename the file but error occurs. (doesnt work)

Sharing doesn’t automatically mean that it has been done in read-write mode. So you should provide DETAILED information how you’ve exactly shared the folder with which access rights etc., etc. It might also be worth to check the Nextcloud log file for any related messages.