aham!
da um chmod 777 na pasta e deixa o grupo e o dono como root.


Em 21/08/07, Maxwillian Miorim <[EMAIL PROTECTED]> escreveu:
>
> On 8/21/07, Gunther Furtado <[EMAIL PROTECTED]> wrote:
> > Em 21/08/07, gunix<[EMAIL PROTECTED]> escreveu:
> > (...)
> > > Alguem sabe como fazer isso?
> > >
> > dê uma olhada em,,,
> >
> > http://checkmyip.com/man/chmod.html
> >
> > ou execute
> >
> > $ man chmod
>
> Depois que ele tirar as permissões de write do diretório ele não pode
> mais criar arquivos lá dentro...
>
> ----
> [EMAIL PROTECTED]:~$ mkdir permission_test
> [EMAIL PROTECTED]:~$ chmod a-w permission_test/
> [EMAIL PROTECTED]:~$ touch permission_test/file
> touch: cannot touch `permission_test/file': Permission denied
> ----
>
>
> Uma alternativa é ligar o sticky bit no diretório, definir o root como
> dono e deixar as permissões como 777, da man page do chmod:
>
> ----
> STICKY DIRECTORIES
>        When the sticky bit is set on a directory, files in that
> directory may be unlinked or renamed only by root or their owner.
> Without
>        the sticky bit, anyone able to write to the directory can
> delete or rename files.  The sticky bit is commonly found on
> directories,
>        such as /tmp, that are world-writable.
> ----
>
> --
> Max
>
>


-- 
     .~.
     / v \
    /(   )\  GNU/Debian/Linux
    ^   ^

Responder a