-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: Wrong permissions for top folder of a view only share #49111
Comments
Hello @mgallien I can reproduce but I do think this is correct:
So there is no bug in my opinion, only the content of the share is read-only, the user is allowed to name it and move it as he wishes in his home folder as expected. |
@mgallien can you confirm? Was there some sort of misunderstanding? |
@sorbaugh I am investigating |
Yes, the root of a received share always has move+delete permissions since the recipient can move and leave the share. |
Yes, since this is cause for misunderstanding I think documenting this would indeed be very helpful before closing. Can you please do so @come-nc 🙏 |
the needed client changes are included in nextcloud/desktop#7477 |
Bug description
I get "DNVS" permissions: delete, rename, move and shared reported on the top level folder of the view only shared folder.
Any child item reports "S" permissions indicating the item is shared to the user.
Steps to reproduce
Expected behavior
Any folders in a view only share should be reported as view only.
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
{
"system": {
"debug": true,
"profiler": true,
"apps_paths": [
{
"path": "/var/www/html/apps",
"url": "/apps",
"writable": false
},
{
"path": "/var/www/html/apps-extra",
"url": "/apps-extra",
"writable": false
},
{
"path": "/var/www/html/apps-shared",
"url": "/apps-shared",
"writable": false
},
{
"path": "/var/www/html/apps-writable",
"url": "/apps-writable",
"writable": true
}
],
"allow_local_remote_servers": true,
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "1025",
"skeletondirectory": "/skeleton",
"setup_create_db_user": false,
"loglevel": 2,
"log_query": false,
"query_log_file": "/shared/log/querylog-nextcloud.log",
"query_log_file_requestid": "yes",
"diagnostics.logging": false,
"diagnostics.logging.threshold": 0,
"log.condition": {
"apps": [
"diagnostics",
"admin_audit"
]
},
"bulkupload.enabled": false,
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"localhost"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "29.0.8.2",
"overwrite.cli.url": "http://localhost",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"instanceid": "REMOVED SENSITIVE VALUE",
"lookup_server": ""
}
}
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: