If you don't find an easy solution, you might try running a daemon on the
samba server which scans the files in this directory and changes the files
to read only. The find command sounds like just the thing for this job.
Now, don't tell me you have tens of thousands of documents on this server
and this will be too much overhead!
Perhpas the create mode parameter might be of use here.
Joel
On Mon, Sep 08, 2003 at 08:35:10PM +0100, Simon Oexl
wrote:> Dear Sirs,
>
> I like to ask you for some help. I am fairly new to samba so I do not know
> if my intention will work.
>
> I like to set up a directory where I can save new documents only. Old
> documents should be read only. This will prevent from accidental deletion
> and overwriting.
>
> I configured "set mask" to 0555 as this will generate the read
only
> attribute on Windows. This works fine when I create a text file with an
> editor. But when I try to save a word document it will not. Word creates
> some temporary file ~xxx.txt and when I try to save with the proper file
> name I get an error message. "Disk Full".
>
> Could you please give me a clue what I could do to get this working with
> Word?
>
> Many thanks and kind regards,
>
> Simon Oexl
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba