David Wells | 3 Aug 2007 15:33
Picon

Re: [Proftpd-user] help with hidden dirs/files

I recently had to configure something similar to what you want and I solved it with something like this within a directory section of my configuration file

  HideFiles                     "(^|/)\\."
  <Limit ALL>
    IgnoreHidden                on
  </Limit>



Thomas L. Shinnick escribió:
At 09:48 PM 8/2/2007, nix4me wrote:
Hi,

I have added:

ListOptions -a
and
ListOptions "" strict

and I still can see .hidden files/folders

Any idea why?

I think you want
        ListOptions "+a"
    or
        ListOptions "+a" strict

The "+a" with the "strict" will prevent remote users from being able to see dot-files even when they enter a command
        ls "-a"

This works for me, though the system I'm testing against is quite old (1.2.8) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ ProFTPD Users List <proftpd-users <at> proftpd.org> Unsubscribe problems? http://www.proftpd.org/list-unsub.html
Attachment (d.wells.vcf): text/x-vcard, 423 bytes
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Gmane