> > É possivel eu bloquear a criação de arquivos em um
> determinado diretório
> > mas não bloquear que os arquivos atuais sejam apagados ou
> alterados?
>
> Creio que você possa fazer isso usando o comando chattr. Dá
> uma olhada no manual dele.
O chattr só funciona se o seu file system for ext2 ou ext3:
CHATTR(1) CHATTR(1)
NAME
chattr - change file attributes on a Linux *second extended file system*
SYNOPSIS
chattr [ -RV ] [ -v version ] [ mode ] files...
DESCRIPTION
chattr changes the file attributes on a Linux *second extended* file sys-
tem.
The format of a symbolic mode is +-=[ASacDdIijsTtu].
The operator `+' causes the selected attributes to be added to the
existing attributes of the files; `-' causes them to be removed; and
`=' causes them to be the only attributes that the files have.
---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br
Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html