Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st December 2005, 02:17
rosa hsiao rosa hsiao is offline
Member
 
Join Date: Oct 2005
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
Default How to hide those hidden files?

When login FTP server,there are many hidden files which I don't want to be displayed in the file list. What should I do?
Attached Images
 
Reply With Quote
Sponsored Links
  #2  
Old 21st December 2005, 06:18
benbalbo benbalbo is offline
Member
 
Join Date: Oct 2005
Posts: 50
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Checkout the proftpd configuration options. the "IgnoreHidden" option might offer what you're after.

Edit: note that you might want users to get to dot files - like the .ht(access|passwd) files for example.
Reply With Quote
  #3  
Old 21st December 2005, 08:55
rosa hsiao rosa hsiao is offline
Member
 
Join Date: Oct 2005
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by benbalbo
Checkout the proftpd configuration options. the "IgnoreHidden" option might offer what you're after.

Edit: note that you might want users to get to dot files - like the .ht(access|passwd) files for example.
There are two files under /etc directory:
proftpd.conf
proftpd_ispconfig.conf

And I can't find any option regarding "IgnoreHidden" in both files. Should I add the option "IgnoreHidden on" manually? Where should I add the option?
I am using FC3+Proftp+ISPConfig 2.1.2.
Reply With Quote
  #4  
Old 21st December 2005, 09:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Yes, you must add the line to /etc/proftpd.conf
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st December 2005, 10:31
rosa hsiao rosa hsiao is offline
Member
 
Join Date: Oct 2005
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
Yes, you must add the line to /etc/proftpd.conf
I add the following line to /etc/proftpd.conf under:

Default ~
IgnoreHidden on

Then I restart proftpd,but it display the following error message:

warning: AuthPAMAuthoritative is drprecated.
Fatal: Proftpd directive not allowed in server config context on line 141 in /etc/proftpd.conf.

What else do I miss?
Reply With Quote
  #6  
Old 21st December 2005, 10:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

This seems to be a different error that has nothing to do with the lines you put into /etc/proftpd.conf.

What's in line 141 of your proftpd.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 21st December 2005, 12:01
rosa hsiao rosa hsiao is offline
Member
 
Join Date: Oct 2005
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
This seems to be a different error that has nothing to do with the lines you put into /etc/proftpd.conf.

What's in line 141 of your proftpd.conf?
The 141 line I put into /etc/proftpd.conf is:

DefaultRoot ~ <==line 140
IgnoreHidden on <==line 141


Please see the attached images
Attached Images
 
Reply With Quote
  #8  
Old 21st December 2005, 13:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Which options do you have in the LsDefaultOptions configuration directive in your proftpd.conf ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 22nd December 2005, 02:37
rosa hsiao rosa hsiao is offline
Member
 
Join Date: Oct 2005
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
Which options do you have in the LsDefaultOptions configuration directive in your proftpd.conf ?
There is no LsDefaultOptions in my proftpd.conf. But I find the following lines in it:

AuthPAMAuthorititive on
ListOptions "-a"
Reply With Quote
  #10  
Old 22nd December 2005, 12:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
 
Default

Please try to set:

ListOptions ""

and restart postfix. The list options are passed to the linux command "ls", with the parameter "-a" the ls command lists also dot files.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Big client log files Jorem Installation/Configuration 2 13th November 2007 09:52
DNS service and files jeanjacquesjeanjacques Installation/Configuration 28 2nd July 2007 20:31
Zone files are not updated after deletion from web JAYDEE.U Installation/Configuration 1 1st January 2007 10:09
Webalizer tab files matheron Server Operation 4 11th December 2005 13:26
location of main files. jernis Feature Requests 3 24th August 2005 11:04


All times are GMT +2. The time now is 23:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.