Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th June 2008, 04:22 AM
CMACOY Offline
Registered User
 
Join Date: Jan 2007
Posts: 7
How to hide Dot (. )( .) files using SFTP

How do I hide this files (..) when login user using SFTP on my server?
Reply With Quote
  #2  
Old 6th June 2008, 07:53 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
You mean hide the parent directory ? It is technically hidden - it doesn't appear in a "dir" command ,but it's always present. Remove read permissions for hthe parent directory from the acct then they can't see the entries.
Reply With Quote
  #3  
Old 9th June 2008, 11:46 PM
CMACOY Offline
Registered User
 
Join Date: Jan 2007
Posts: 7
Quote:
Originally Posted by stevea
You mean hide the parent directory ? It is technically hidden - it doesn't appear in a "dir" command ,but it's always present. Remove read permissions for hthe parent directory from the acct then they can't see the entries.
nope not necessary parent.... I want to hide all files and folder with a dot(.) when my clients connects using SFTP??

thanks
Reply With Quote
  #4  
Old 23rd June 2008, 10:49 PM
soltanis Offline
Registered User
 
Join Date: May 2008
Posts: 54
Those files are technically supposed to be hidden (typing ls will not list them, but ls -a will).

I don't know about hiding them, but you can make them unreadable by changing their permissions.
You can also run SFTP with the chroot(8) command, which will remove the parent directory of whatever directory you're in (making that the apparent root directory).

Other than that I would consult the SFTP documentation for the server you're using to see if you can "hide" files the way you want them.
Reply With Quote
  #5  
Old 24th June 2008, 12:12 AM
CMACOY Offline
Registered User
 
Join Date: Jan 2007
Posts: 7
ok thanks soltanis will wait for your reply
Reply With Quote
Reply

Tags
dot, files, hide, sftp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
How to hide files without renaming them? SpectrumDT Using Fedora 9 26th February 2009 12:51 AM
SFTP public files server LT72884 Servers & Networking 4 5th December 2008 04:12 PM
Copying files with sftp CrackedLCD Servers & Networking 4 28th December 2007 10:40 PM
sftp creating restricted shell for sftp only 105547111 Using Fedora 3 29th May 2007 02:14 AM
able to sftp files. what about directories? bowie101 Servers & Networking 3 3rd May 2006 11:33 PM


Current GMT-time: 06:52 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat