Article View: csu.unix.linux
Article #83Re: FTP directory creation
From: Mike
Date: Sat, 23 Sep 2000 00:00
Date: Sat, 23 Sep 2000 00:00
16 lines
1242 bytes
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
Technical Details
Message-ID:
<slrn8sooon.8ik.tcsh@localhost.localdomain>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39CBD91F.836DD0F6@colostate.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1159f7,fc560b97e2a9681c X-Google-Attributes: gid1159f7,public From: tcsh@holly.colostate.edu (Mike) Subject: Re: FTP directory creation Date: 2000/09/23 Message-ID: <slrn8sooon.8ik.tcsh@localhost.localdomain> X-Deja-AN: 673144591 References: <39CBD91F.836DD0F6@colostate.edu> X-Trace: 23 Sep 2000 01:37:24 -0700, dialup0457.ppp.colostate.edu User-Agent: slrn/0.9.6.2 (Linux) Reply-To: tcsh@holly.colostate.edu Newsgroups: csu.unix.linux