FW: OSX permissions

Steve Miller <[email protected]> Sat, 03 Apr 2004 09:49:58 -0500
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <BC943946.AFBE%[email protected]>
>> Thanks Dave. Sorry, I didn't mean to email you directly, but when I hit the
>> reply button it sent to you instead of back to the maillist :(
>> 
>> I don't believe that Panther uses ftpaccess at all, but some other way of
>> setting defaults. Panther uses a wu-ftpd-like server, that does a subset of
>> wu-ftpd's feature set, called lukemftpd.
>> 
>> However, I found out that if you create a file called ftpd.conf in /etc, and
>> place one line in it, like : "umask all 022" or "umask all 000" you can
>> control how all files are created. Works great!
>> 
>> Thanks for the help,
>> steve
>> 
>>> From: Dave Mackintosh <[email protected]>
>>> Date: Fri, 02 Apr 2004 21:45:14 -0500
>>> To: Steve Miller <[email protected]>
>>> Subject: Re: OSX permissions
>>> 
>>> Hi Steve
>>> 
>>> On most unix systems it is in /etc -- it might be in another tree
>>> depending on how your ftp was built, but 99% of the time it is in /etc.
>>> 
>>> More information on the various methods:
>>> 
>>> 1.  There is the 'defumask' directive in /etc/ftpaccess.
>>> 
>>> 2.  The default umask is inherited from inetd. This can be a wrong one.
>>> There is a command line parameter -u. Edit the line in inetd.conf to
>>> something like ftpd -A -L -l -u077.
>>> 
>>> 3.  There is the upload command, which can look like this:
>>> 
>>> upload /opt/ftproot directory yes user group 0664
>>> 
>>> This last one is the one which should work, but in my experience
>>> doesn't.
>>> 
>>> On Fri, 2004-04-02 at 16:31, Steve Miller wrote:
>>> 
>>>> OK, dumb question: where is ftpaccess?
>>> 
>>> 
>>>> 
>>>>> From: Dave Mackintosh <[email protected]>
>>>>> Date: Fri, 02 Apr 2004 15:55:02 -0500
>>>>> To: Steve Miller <[email protected]>
>>>>> Cc: wuftp <[email protected]>
>>>>> Subject: Re: OSX permissions
>>>>> 
>>>>> Hi Steve
>>>>> 
>>>>> There are a couple of options:
>>>>> 
>>>>> You can fiddle with the umask of the uploaded files in the ftpaccess
>>>>> file.  I have used this method but have not been able to predict the
>>>>> resulting permissions with any reliability.
>>>>> 
>>>>> A second alternative I have heard of is to modify the umask of the
>>>>> in.ftpd binary itself before it runs -- I have no experience with this
>>>>> method.
>>>>> 
>>>>> The preferred method would be to control the ownership and permissions
>>>>> through an 'upload' directive in ftpaccess, but I have not been able to
>>>>> make it work and I have had no success on this list getting help.
>>>>> 
>>>>> On Fri, 2004-04-02 at 13:07, Steve Miller wrote:
>>>>>> I am really new to ftp servers, and have a question about how to set
>>>>>> directory permissions in OSX10.3:
>>>>>> 
>>>>>> Whenever I ftp files or directories into my web directory, they are
>>>>>> created
>>>>>> with rwxr----- permissions (no matter what they originally had) which
>>>>>> makes
>>>>>> them inaccessible to others via http requests. Is there a way to set the
>>>>>> permissions on received files?
>>>>>> 
>>>>>> Thanks,
>>>>>> steve 
>>>>>> 
>>>>>> 
>>>>> -- 
>>>>> /\oo/\
>>>>> / /()\ \ David Mackintosh |
>>>>> 
>>>> 
>>>> 
>>> -- 
>>> /\oo/\
>>> / /()\ \ David Mackintosh |
>>> 
>> 
>> <!DSPAM:406eb30b3254375321170>
> -- 
> /\oo/\
> / /()\ \ David Mackintosh |
>