Olf fashioned 'anonynous' FTP 'incoming' directory

Jelmer Vernooij jelmer at vernstok.nl
Thu Jan 6 10:39:18 MST 2011


On Thu, 2011-01-06 at 17:34 +0000, Dirk-Willem van Gulik wrote:
> On 6 Jan 2011, at 16:59, TAKAHASHI Motonobu wrote:
> 
> > 2011/1/7 Dirk-Willem van Gulik <Dirk-Willem.van.Gulik at bbc.co.uk>:
> >> Was looking for FTP style incoming directory functionality in CIFS (windows or unix).
> > 
> > Does the settings below help you?
> > 
> > -----
> > [incoming]
> >  path = /some/where/incoming
> >  writeable = yes
> >  inherit owner = yes
> >  force create mode = 444
> >  hide unwriteable files = yes
> > -----
> > 
> > # chmod 1777 /some/where/incoming
> > # chown root /some/where/incoming
> 
> Hmm - trying this gives me a denied on the very mount itself (due to the 1777 of the directory). And looking at the log level all:99 output - that is because /ssome/where/incoming does not allow opendir() by the default smbd daemon.
What version of Samba are you running ? I think TAKAHASHI Motonobu's
configuration snippet is for Samba 3.

Cheers,

Jelmer


More information about the samba-technical mailing list