-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save As on a shared file creates new document under owner folders #177
Comments
Confirmed. |
The same in Nextcloud version: 13.0.2.1 |
Is there any info on if and/or when this bug is being put on the roadmap? |
@ChristNeeskens there seems to exist a Patch, look at commit 4b57b6a26775f2be08a6800c450243cc9a94c073 I hand-patched my app and it is working as expected now. |
Perfect, thanks! I'll plan on installing the patch . |
Hi. After applying the patch :
Thanks |
@nickvsh: what do you mean by
Is there an error right after saving the document under a different name? |
Fixed with #199 |
Steps to reproduce
1.Create a file as user A
2.Share it with user B allowing edits
3.As user B open shared file and "Save As" a new filename (specifying no path)
4.The new file is created relative to Owner path and not editor's one, if the path is not also shared this means User B cannot find the file anywhere in NextCloud
Expected behaviour
For files shared "directly" (not because they're in a shared folder) either I'd expect that :
or
or
Actual behaviour
The new file is created relative to Owner path and not editor's one, if the path is not also shared this means User B cannot find the file anywhere in NextCloud.
Also this means the editor can in fact write in a path in which he hasn't any write permission granted
Server configuration detail
Operating system: Linux 3.16.38-xen #1 SMP Sat Oct 22 00:13:20 CEST 2016 x86_64
Webserver: Apache/2.4.20 (Unix) OpenSSL/1.0.2h PHP/5.6.23 (apache2handler)
Database: mysql 10.0.26
PHP version: 5.6.23
Modules loaded: Core, date, ereg, libxml, pcre, fileinfo, filter, hash, SPL, json, mcrypt, session, bz2, posix, Reflection, standard, SimpleXML, sockets, imap, sysvmsg, sysvsem, sysvshm, xml, xmlwriter, mysqlnd, apache2handler, bcmath, openssl, calendar, ctype, curl, dba, dom, enchant, mbstring, ftp, gd, gettext, gmp, iconv, intl, ldap, exif, mysql, mysqli, odbc, zlib, PDO, pdo_mysql, pdo_sqlite, PDO_ODBC, pspell, shmop, snmp, soap, sqlite3, tokenizer, wddx, xmlreader, xsl, zip, Phar, redis, Zend OPcache
Nextcloud version: 12.0.5 - 12.0.5.3
The text was updated successfully, but these errors were encountered: