LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-29-2008, 06:20 AM   #1
RattleSn@ke
Member
 
Registered: Oct 2007
Location: Netherlands, ZH
Posts: 32

Rep: Reputation: 15
Enter directory with name "."


Hi there,

We have some strange directories on a server, see listing below:
root: /var/tmp # ls -lash
total 2078
2 drwxrwxrwt 14 root wheel 2.0K Sep 29 12:27 .
2 drwxr-xr-x 3 1018 wheel 512B Dec 6 2006 .
2 drwxr-xr-x 29 root wheel 512B Aug 3 2007 ..

As you see, there is a directory named ".", but I can't figure out how to enter this directory. And ofcourse I don't mean the single-dot dir that means 'current directory'!

Thanks!
Onno.
 
Old 09-29-2008, 06:43 AM   #2
bkcreddy17
Member
 
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Rep: Reputation: 15
Code:
2 drwxrwxrwt 14 root wheel 2.0K Sep 29 12:27 .
this is a soft link create to
Code:
2 drwxr-xr-x 3 1018 wheel 512B Dec 6 2006 .
using
Code:
#ln -s ./
which is a current directory.
you can remove the soft link by
Code:
#rmdir ./ 
or 
#rm -rf ./
 
  


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
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
"Permission denied" and "recursive directory loop" when searching for string in files mack1e Linux - Newbie 5 06-12-2008 07:38 AM
What does "Directory "/usr/src/linux" doesn't appear to contain kernel source." mean? jtp51 Linux - General 4 06-11-2007 12:22 AM
"Disk boot failure. Enter system disk and press enter" Fear58 Linux - Hardware 3 06-25-2004 05:17 PM
"could not enter directory /mnt/cdrom" Kaiser Linux - General 2 01-17-2004 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:20 PM.

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
Open Source Consulting | Domain Registration