rmdir(/var/lib/php5/oc_tmp_VIcdEy-folder): Operation not permitted at /home/vhosting/r/

Nextcloud version (eg, 11):
Operating system and version (eg, shared hosting so is unknown to me):
Apache or nginx version (eg, Apache 2.4.25): shared hosting so is unknown to me
PHP version (eg, 5.6): 5.6
Is this the first time you’ve seen this error and can you replicate it?:

The issue you are facing:
After install (with mysql db) the following error is shown in the log:

rmdir(/var/lib/php5/oc_tmp_VIcdEy-folder): Operation not permitted at /home/vhosting/r/ …
Also when I try to use the share option a message is shown that the page will be refreshed after 5 secons which makes it impossible to use the share feature.

The output of your Nextcloud log in Admin > Logging:
Error PHP rmdir(/var/lib/php5/oc_tmp_VIcdEy-folder): Operation not permitted at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#219 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_VIcdEy-folder/news): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#213 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_VIcdEy-folder/news/vendor): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#213 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_VIcdEy-folder/news/vendor/bin): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#213 2017-01-10T20:57:21+0100
Error PHP unlink(/var/lib/php5/oc_tmp_VIcdEy-folder/news/vendor/bin/picofeed): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#211 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_fhyqDi-folder): Operation not permitted at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#219 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_fhyqDi-folder/news): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#213 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_fhyqDi-folder/news/vendor): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#213 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_fhyqDi-folder/news/vendor/bin): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#213 2017-01-10T20:57:21+0100
Error PHP unlink(/var/lib/php5/oc_tmp_fhyqDi-folder/news/vendor/bin/picofeed): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#211 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_9plptE-folder): Operation not permitted at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#219 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_9plptE-folder/news): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#213 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_9plptE-folder/news/vendor): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#213 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_9plptE-folder/news/vendor/bin): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#213 2017-01-10T20:57:21+0100
Error PHP unlink(/var/lib/php5/oc_tmp_9plptE-folder/news/vendor/bin/picofeed): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#211 2017-01-10T20:57:21+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_VIcdEy-folder): Operation not permitted at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#219 2017-01-10T20:57:09+0100
Error PHP rmdir(/var/lib/php5/oc_tmp_VIcdEy-folder/news): Permission denied at /home/vhosting/r/vhost0010610/domains/pels.eu/htdocs/nextcloud/lib/private/legacy/helper.php#213 2017-01-

etc…

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php $CONFIG = array ( 'instanceid' => 'oc9vj7yqg48y', 'passwordsalt' => 'hpTOrY7C5QY90+DsOSYB0a6uNfQRkq', 'secret' => 'IcAXdpQ17OwQDU1IOeO+/EdjgvaFhOh99KnC8RLHfPfIOxLd', 'trusted_domains' => array ( 0 => 'nextcloud.xx', ), 'datadirectory' => '/home/vhosting/r/vhost0010610/domains/xxx/htdocs/nextcloud/data', 'overwrite.cli.url' => 'http://nextcloud.xx', 'dbtype' => 'mysql', 'version' => '11.0.0.10', 'dbname' => 'xx', 'dbhost' => 'xx', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'xx', 'dbpassword' => 'xx', 'logtimezone' => 'UTC', 'installed' => true, 'mail_from_address' => 'xx', 'mail_smtpmode' => 'php', 'mail_domain' => 'xx, ); The output of your Apache/nginx/system log in `/var/log/____`: unavailable due to shared hosting --- Remember, this information may be requested if it isn't supplied; for fastest response please provide as much as you can :heart: Feel free to use a pastebin service, otherwise log files can be indented with 4 spaces on each line to present them in a friendlier way on the forum.

Same issue here after update to 11.0.1 (from 9.x) executed by hosting company (as a paid service).
However, hosting company states it’s an issue just on our configuaration and is not helping with this.
It worked smooth before, after upgrade this troubles.
Which (restriction of) permissions could cause this behaviour you think?

I found another thread: change value ENABLE_AVATARS Tto value “true” in config/config.php
Solved it.