You are not logged in.

#1 2009-10-07 17:06:09

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Why Do I Have FTP Dir?

I noticed today on my server that I have a "/srv/ftp" directory and I don't understand why. I know I did install MySQL (mysqld) and Apache (httpd) on my Arch server however I don't see why I have a FTP directory. The only reason I want to know is beause FTP is not allowed on my domain and I never installed an FTP daemon on this machine. Can someone please help me locate why this directory is on the server.

carlos /  $  uname -a
Linux mail 2.6.30-ARCH #1 SMP PREEMPT Wed Sep 9 14:16:44 CEST 2009 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux
carlos /  $  cd /srv/
carlos /srv  $  ls -l
total 8
dr-xr-xr-x 2 root ftp  4096 2009-07-18 00:39 ftp
drwxr-xr-x 2 root root 4096 2009-10-05 16:04 http

./

Offline

#2 2009-10-07 17:36:41

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Why Do I Have FTP Dir?

pacman -Ql filesystem

Offline

#3 2009-10-07 17:45:14

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Why Do I Have FTP Dir?

lucke wrote:
pacman -Ql filesystem

I have no idea why I ran this command or how this helps me understand what dependency installed or created this /srv/ftp directory.

filesystem /root/
filesystem /sbin/
filesystem /srv/
filesystem /srv/ftp/
filesystem /srv/http/
filesystem /sys/
filesystem /tmp/
...
...
...

./

Offline

#4 2009-10-07 17:48:53

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Why Do I Have FTP Dir?

It's a part of a base filesystem package. You will see this directory on every Arch's installation.

Offline

#5 2009-10-07 17:50:05

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Why Do I Have FTP Dir?

Carlwill wrote:

I have no idea why I ran this command or how this helps me understand what dependency installed or created this /srv/ftp directory.

Then I firmly suggest you look into pacman's man page so you can understand what this command does. When you do, you'll understand why lucke suggested it to you. Show some initiative wink.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB