[Bug]: files_external SFTP can loop infinitely on symlink and fill databases and prevent cron to finish #52214
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
2. developing
Work in progress
31-feedback
bug
Bug description
files_external SFTP does not treat specially symbolic links so if a target directory of a symbolic link is "upward" nextcloud file indexer will loop infinitely which will fill the nextcloud database and prevent regular cron jobs from completing
Steps to reproduce
Expected behavior
Nextcloud works normally, for example ignoring symbolic links completely in external_files SFTP or making sure it doesn't loop following them.
Nextcloud Server version
31
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: