Re: Hiding dot files with ftpd

2006-06-05 Thread Kyrre Nygard

At 12:25 04.06.2006, Daniel A. Akulenok wrote:

On Sun, June 4, 2006 08:49, Lawrence Horvath wrote:
 On 6/3/06, Daniel A. Akulenok [EMAIL PROTECTED] wrote:
 On Sat, June 3, 2006 22:57, Kyrre Nygard wrote:
 
  What's up all?
 
  Just wondering if it's possible to hide dot files somehow
  with FreeBSD's default ftpd when I invoke it from inetd?
 
  ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
  ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l
 
  Thanks,
  Kyrre
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 Hi Kyrre,
 Files prepended with dots in UNIX operating systems usually symoblize a
 file which is not shown to the user on a regular basis because the user
 will actually not _need_ to know of it's prescense in daily use.
 Therefore, it is entirely up to the FTP client of the user if files
 prepended with dots are shown or not.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


 Is there a way to get the ftp server to not list the dot prepended
 files? if say you REALLY don't want the client to see the files, can
 you get the server to not send it in a list reply? and by the same
 means could you get the server to not list dirs as well?(that was just
 being my curiosity)

 --
 -Lawrence

As far as I know, you can only achieve that by hacking the ftpd itself. If
you want users to only be able to see a certain set of files, you should
create a user with ftproot in an empty directory which only contains the
files they are allowed to see/use.



Hello guys!

Well, I was just curious, since the option to hide dot files is widely
available in most FTP daemons, like vsftpd:

hide_file=.*

However, it seems, not in FreeBSD's default ftpd?

All the best,
Kyrre



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hiding dot files with ftpd

2006-06-05 Thread Eric
Kyrre Nygard wrote:

 Hello guys!
 
 Well, I was just curious, since the option to hide dot files is widely
 available in most FTP daemons, like vsftpd:
 
 hide_file=.*
 
 However, it seems, not in FreeBSD's default ftpd?
 
 All the best,
 Kyrre
 

just switch over to vsftpd. its way better anyways =)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hiding dot files with ftpd

2006-06-04 Thread Lawrence Horvath

On 6/3/06, Daniel A. Akulenok [EMAIL PROTECTED] wrote:

On Sat, June 3, 2006 22:57, Kyrre Nygard wrote:

 What's up all?

 Just wondering if it's possible to hide dot files somehow
 with FreeBSD's default ftpd when I invoke it from inetd?

 ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
 ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l

 Thanks,
 Kyrre

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hi Kyrre,
Files prepended with dots in UNIX operating systems usually symoblize a
file which is not shown to the user on a regular basis because the user
will actually not _need_ to know of it's prescense in daily use.
Therefore, it is entirely up to the FTP client of the user if files
prepended with dots are shown or not.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Is there a way to get the ftp server to not list the dot prepended
files? if say you REALLY don't want the client to see the files, can
you get the server to not send it in a list reply? and by the same
means could you get the server to not list dirs as well?(that was just
being my curiosity)

--
-Lawrence
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hiding dot files with ftpd

2006-06-04 Thread Daniel A. Akulenok
On Sun, June 4, 2006 08:49, Lawrence Horvath wrote:
 On 6/3/06, Daniel A. Akulenok [EMAIL PROTECTED] wrote:
 On Sat, June 3, 2006 22:57, Kyrre Nygard wrote:
 
  What's up all?
 
  Just wondering if it's possible to hide dot files somehow
  with FreeBSD's default ftpd when I invoke it from inetd?
 
  ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
  ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l
 
  Thanks,
  Kyrre
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 Hi Kyrre,
 Files prepended with dots in UNIX operating systems usually symoblize a
 file which is not shown to the user on a regular basis because the user
 will actually not _need_ to know of it's prescense in daily use.
 Therefore, it is entirely up to the FTP client of the user if files
 prepended with dots are shown or not.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


 Is there a way to get the ftp server to not list the dot prepended
 files? if say you REALLY don't want the client to see the files, can
 you get the server to not send it in a list reply? and by the same
 means could you get the server to not list dirs as well?(that was just
 being my curiosity)

 --
 -Lawrence

As far as I know, you can only achieve that by hacking the ftpd itself. If
you want users to only be able to see a certain set of files, you should
create a user with ftproot in an empty directory which only contains the
files they are allowed to see/use.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hiding dot files with ftpd

2006-06-03 Thread Kyrre Nygard


What's up all?

Just wondering if it's possible to hide dot files somehow
with FreeBSD's default ftpd when I invoke it from inetd?

ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l

Thanks,
Kyrre

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hiding dot files with ftpd

2006-06-03 Thread Daniel A. Akulenok
On Sat, June 3, 2006 22:57, Kyrre Nygard wrote:

 What's up all?

 Just wondering if it's possible to hide dot files somehow
 with FreeBSD's default ftpd when I invoke it from inetd?

 ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
 ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l

 Thanks,
 Kyrre

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hi Kyrre,
Files prepended with dots in UNIX operating systems usually symoblize a
file which is not shown to the user on a regular basis because the user
will actually not _need_ to know of it's prescense in daily use.
Therefore, it is entirely up to the FTP client of the user if files
prepended with dots are shown or not.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]