Open moutonjr opened 4 years ago
Hi,
The workaround i found is to:
/var/www/nextcloud/lib/private/Files/Storage/Local.php
into protected $allowSymlinks = true;
The is an issue about the "risks" of allowing symlinks here
Ping @YunoHost-Apps/apps-group do you have any idea?
Acknowledge the workaround (and associated security issue) I'm eager to look forward the fix though.
Thank you @kay0u
Ping @YunoHost-Apps/apps-group do you have any idea?
no idea :/
Came accross this issue, too. Simply deleting the symlinks is probably the simplest for now, while not elegant.
I need as well the possibility to follow symlinks created by the root, so I had to change Local.php which is not ideal at all. I'm upvoting for a config.php option so we can upgrade safely.
@kay0u I saw you merged the commit "Allow symlinks" but I don't see it now in the master branch. Did you give up on allowing symlinks in the end?
Hello team,
Since https://github.com/nextcloud/server/issues/20592, the NextCloud file scan does not follow symlinks. OK, it's written in README, but my %USER%/Multimedia is broken after manual update: "Forbidden operation". I'm pretty sure that there is a YNH workaround. Either there is a wrapped (yet unknown to myself) command to update, or there is a bug ? This is blocking my prod instance as my multimedia files disappeared.
Intended :
# sudo -su nextcloud php7.3 /var/www/nextcloud/occ files:scan MYUSER
Expected : All files scanned. MYUSER files available from WebUI.
Got:
Version: nextcloud 19.0.3~ynh1 from yunohost 4.0.8