[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Prevent file deleteion from samba shares



On Sun, Oct 21, 2001 at 02:26:16PM +0200, Meir Kriheli wrote:
> I have trigger happy :-( windows users accessing samba shares on an internal 
> network.
> 
> Once in a while those users inadvertly delete needed files. The software used 
> by them requires write access to the directory.
> 
> Is there a way to prevent file deletion while keeping the write permissions 
> to the folder ?
> 
> Or the least backup the files upon deletion on the samba shares ?
chattr +i, will prevent any modification of the files. other way is a
script that periodically copies all files to a backup dir, this way
leaving deleted files in the backup dir, which you could manually restore
-- 
,-------------------------------------------.
> Name:           Alson van der Meulen      <
> Personal:        alson@flutnet.org        <
> School:       alson@gymnasiumleiden.nl    <
`-------------------------------------------'
Do you smell something?
---------------------------------------------



Reply to: