🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

4 total messages Started by Adam Carheden Fri, 22 Sep 2000 00:00
FTP directory creation
#82
Author: Adam Carheden
Date: Fri, 22 Sep 2000 00:00
8 lines
792 bytes
Does anyone know how to make ftpd set the directory owner and permission
on directory that the anonymous user creates?  My upload directive in
ftpaccess works for files just fine, but doesn't apply to directories.

-- 
Adam Carheden
adam.carheden@colostate.edu
(970) 689-1363
Re: FTP directory creation
#83
Author: Mike
Date: Sat, 23 Sep 2000 00:00
16 lines
1242 bytes
adam.carheden@colostate.edu (Adam Carheden):
> Does anyone know how to make ftpd set the directory owner and permission
> on directory that the anonymous user creates?  My upload directive in
> ftpaccess works for files just fine, but doesn't apply to directories.

A quick look at the ftpaccess manpage reveals that the dirs & d_mode option
should do what you want.  Getting a different owner for directories than files
doesn't appear to be an option, but why would you need that?

       upload   [absolute|relative]   [class=<classname>]...  [-]  <root-dir>
       <dirglob> <yes|no> <owner> <group> <mode> ["dirs"|"nodirs"] [<d_mode>]

ex:
upload /home/ftp /incoming   yes adam adam 0440 dirs 3773
--
Mike Grandin
Re: FTP directory creation
#84
Author: Adam Carheden
Date: Sat, 23 Sep 2000 00:00
8 lines
790 bytes
What version of ftpd are you using?  My man page doesn't say anything
about d_mode, just dirs|nodirs.

Thanks.
-- 
Adam Carheden
adam.carheden@colostate.edu
(970) 689-1363
Re: FTP directory creation
#85
Author: Mike
Date: Tue, 26 Sep 2000 00:00
9 lines
865 bytes
adam.carheden@colostate.edu (Adam Carheden):
> What version of ftpd are you using?  My man page doesn't say anything
> about d_mode, just dirs|nodirs.

A pretty recent one(not on box now), whatever comes with RH6.2.  Just 
download the latest and you should be set.

-- 
Mike
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads