** Reply to message from Sasa Stupar <[EMAIL PROTECTED]> on Tue, 16 Sep
2003 07:44:24 +0200

> Ed Wilts pravi:
> 
> >On Mon, Sep 15, 2003 at 08:03:03PM +0200, Sasa Stupar wrote:
> >  
> >
> >>I have a question regarding the configuration of wu-ftp: I have it 
> >>working for guest and anonymous (I don't want to enable real unix). How 
> >>do I set up default permissions for upload (eg. 755) for guest? Now it 
> >>is set to 022.
> >>    
> >>
> >
> >I use upload clauses like so:
> >upload  /cust/*/*       *       no
> >upload  /cust/*/*       /pub/upload             yes * * 2770
> >
> >This forces all uploads to go the upload folder and allows group access.
> >There are a bunch of examples in the man page for ftpaccess.  Also look
> >at the upload.configuration.HOWTO file which was installed as part of
> >the rpm.
> >
> >You can also use the defumask statement to tweak the permissions.
> >
> >  
> >
> I am using webmin to configure wu-ftp. I have setup default umask to 755 
> for all classes but looks like this doesn't work because when I upload 
> files they have 022 permission.

Which is exactly what you told it to do with the umask which is *subtractive*
from the 777 permission ordinal. So a umask of 755 gets you a file permission
of 022. A "man bash" will get you all the gory details.

jb


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to