LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2010, 02:17 AM   #1
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up hide hidden files (.kde .bash etc) to end user in vsftpd


Hi,

I have created a user named user1(home dir = /home/user1)
enabled vsftdp service
now when i access ftp://user1@myip using gftp i get to see hidden files like
.bash_logout
.bash_profile
.bashrc
.emacs

etc


i want to hide those files..

can any one suggest how to do it ..

i have tried force_dot_files option in vsftpd.conf file but it doesnt work

regards,
prayag
 
Old 09-09-2010, 02:37 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,826

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Hi,

You can use:
Code:
hide_file={.*}
Regards
 
Old 09-09-2010, 03:44 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Original Poster
Rep: Reputation: 147Reputation: 147
Thumbs up Thanks it worked

Hi Bathory,

Thanks it worked


Prayag
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: mv hidden and not hidden files lupe Linux - General 4 06-22-2009 01:27 PM
Bash scripting problem: Can't get a list of all files, including hidden ones oxi Programming 24 03-12-2007 06:19 AM
How to hide Windows hidden files in Linux Beauford-2 Linux - Server 1 02-27-2007 06:02 PM
Where are the KDE files hidden? sneckert Linux - Newbie 1 10-22-2006 02:45 PM
hidden files or partitions with user but O S can see funnybossvn Linux - Security 3 06-06-2006 09:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration