[Samba] Re: How to create a write-only share?

Ash Gosh gosha.asha at gmail.com
Mon Apr 7 09:43:33 GMT 2008


On Mon, Apr 7, 2008 at 12:29 PM, Jason Haar <Jason.Haar at trimble.co.nz>
wrote:

> Real easy. We did it to create a "quarantine share" for Windows AV agents
> to move viruses to. The share is world-writable - but not readable by anyone
>
> You simply create a share and set the following smb.conf settings
>
> [sharename]
>  path = /dir
>  read only = No
>       create mask = 0333
>       directory mask = 0333
>       guest ok = Yes
>
> Then if the actual directory is 1777, then anyone can write to it. Of
> course you can always fiddle with those perms to suit...
>
Hello Jason,

Thanks for the answer but in this case anyone can look into the folder and
see the file list. Sometimes even a filenames could be the secret. So this
is not helps us.

Thanks,
Ash.


More information about the samba mailing list