Topic: HideFiles directive not working properly
Hi,
I have setup MySecureShell on 2 servers:
Fedora Core12 x64 using the packages
Fedora release 9 x86 manually from source
Both work fine except that the HideFiles directive doesn't work properly on the FC12 server. I am still able to see some of the folders that should be excluded, event though I'm using exactly the same configuration file as the FC9 setup.
The regex I use is this one:
"^(bin|etc|lib|media|opt|sbin|srv|tmp|var|boot|dev|lost\+found|mnt|media|proc|root|selinux|sys|usr|www)$"
On the FC12 server, I can still see /bin and /etc.
The strangest thing is that the white space around the string seems to influence it. I sometimes see all the excluded folder...
Is there a size restriction on the regex or some issue maybe with x64?
Because of our particular configuration, I need to allow users only access to /data and /home only.
The only solution I have found was to hide everything else.