Skip to content

allowSymlinks in /lib/private/Files/Storage/Local.php #1257

@Pecadis

Description

@Pecadis

Hi,

i just want to know why you added this variable to prevent the system to follow Symbolic links. I coldn't see a override option to do it directly in the config.php file.

My case why i want to know it is the following.
I have a Samba AD up and running where the HomeDrive of each user is located on a Disk.
My NC server is validationg the User with the Ldap component and mounting the User Directories on /mnt/userdir/
The /www/data/Exampleuser folder has a symlink to /mnt/userdir/Exampleuser.

With your code to prevent NC to follow symlinks, i'm not able to access those files anymore.

I don't need a solution for that atm but i just want to know why you've decide this way.

Thanks
Pecadis

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions