ftp problems

David Richards DavidR at eurosoft-uk.com
Thu Nov 7 15:25:08 GMT 2002


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C28671.DAD69E80
Content-Type: text/plain;
	charset="iso-8859-1"

hi
I have created a directory in the pub on an ftp server. I have changed all
the permissions so only a group of users can access. I did chmod a-rwx dir
and then chmod g+rwx dir
Then i try to create a symbolic link to that dir in the ftp.

When i log in as the user who has access to this dir, and try accessing this
directory i get 
226 Transfer complete.
ftp> cd public_ftp
550 public_ftp: No such file or directory.
ftp>

but when i list everything i get 
ftp> ls
227 Entering Passive Mode (193,195,74,154,88,52)
150 Opening ASCII mode data connection for directory listing.
total 0
lrwxrwxrwx   1 503      503            22 Nov  7 15:10 public_ftp ->
/home/ftp/pub/private/
226 Transfer complete.
ftp>

the current permissions for the private directory is
d---rwx---    3 eurosoft eurosoft     4096 Nov  7 14:54 private 
and the symbolic link
lrwxrwxrwx    1 eurosoft eurosoft       22 Nov  7 15:10 public_ftp ->
/home/ftp/pub/private/


i cant see where i am going wrong. Could someone point it out to me.
Just a little off topic here! any one know of a limit for the amount of user
account u can have on the system. 



david

------_=_NextPart_001_01C28671.DAD69E80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>ftp problems</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>hi</FONT>
<BR><FONT SIZE=3D2>I have created a directory in the pub on an ftp =
server. I have changed all the permissions so only a group of users can =
access. I did chmod a-rwx dir&nbsp; and then chmod g+rwx dir</FONT></P>

<P><FONT SIZE=3D2>Then i try to create a symbolic link to that dir in =
the ftp.</FONT>
</P>

<P><FONT SIZE=3D2>When i log in as the user who has access to this dir, =
and try accessing this directory i get </FONT>
<BR><FONT SIZE=3D2>226 Transfer complete.</FONT>
<BR><FONT SIZE=3D2>ftp&gt; cd public_ftp</FONT>
<BR><FONT SIZE=3D2>550 public_ftp: No such file or directory.</FONT>
<BR><FONT SIZE=3D2>ftp&gt;</FONT>
</P>

<P><FONT SIZE=3D2>but when i list everything i get </FONT>
<BR><FONT SIZE=3D2>ftp&gt; ls</FONT>
<BR><FONT SIZE=3D2>227 Entering Passive Mode =
(193,195,74,154,88,52)</FONT>
<BR><FONT SIZE=3D2>150 Opening ASCII mode data connection for directory =
listing.</FONT>
<BR><FONT SIZE=3D2>total 0</FONT>
<BR><FONT SIZE=3D2>lrwxrwxrwx&nbsp;&nbsp; 1 =
503&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
503&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
22 Nov&nbsp; 7 15:10 public_ftp -&gt; /home/ftp/pub/private/</FONT>
<BR><FONT SIZE=3D2>226 Transfer complete.</FONT>
<BR><FONT SIZE=3D2>ftp&gt;</FONT>
</P>

<P><FONT SIZE=3D2>the current permissions for the private directory =
is</FONT>
<BR><FONT SIZE=3D2>d---rwx---&nbsp;&nbsp;&nbsp; 3 eurosoft =
eurosoft&nbsp;&nbsp;&nbsp;&nbsp; 4096 Nov&nbsp; 7 14:54 private </FONT>
<BR><FONT SIZE=3D2>and the symbolic link</FONT>
<BR><FONT SIZE=3D2>lrwxrwxrwx&nbsp;&nbsp;&nbsp; 1 eurosoft =
eurosoft&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22 Nov&nbsp; 7 15:10 =
public_ftp -&gt; /home/ftp/pub/private/</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>i cant see where i am going wrong. Could someone =
point it out to me.</FONT>
<BR><FONT SIZE=3D2>Just a little off topic here! any one know of a =
limit for the amount of user account u can have on the system. </FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>david</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C28671.DAD69E80--




More information about the Ukfreebsd mailing list