Re: FTP "LIST" command help

From: J. Peter Mugaas (oma00215_at_mail.wvnet.edu)
Date: 03/03/04


Date: Wed, 3 Mar 2004 13:54:47 -0500

On Sat, 28 Feb 2004 17:38:39 +0200, Chad Z. Hower aka Kudzu wrote:

> [snip]
> That being said there are several common format and the one you referenced is
> a Unix format.
>
> rwx means that you have read, write, and execute permissions. They can be
> listed twice -

Wrong, there's three sets of permissions. The first set is the permissions
for the owner. The second set is permissions for the group that owns the
file. The third set is for everybody else.

e.g.

rwxr-xr-x

rwx - read, write, execute for owner
r-x - read and execute for the group
r-x - all others are permitted to read and execute

on a directory, the x means you can traverse into the directory (CD).

The Unix FTP directory list format comes from the fact that many Unix
servers would pipe output from the /bin/ls command. The /bin/ls command is
standardized by the OpenGroup and I think they have man pages on their
website (http://www.opengroup.org/).

HTH.

-- 
J. Peter Mugaas - Indy Pit Crew
Internet Direct (Indy) Website - http://www.nevrona.com/Indy
Personal Home Page - http://www.wvnet.edu/~oma00215
If I want to do business with you, I will contact you.  Otherwise, do not
contact me.