<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Ler e alterar correto?</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jasonnfedora@gmail.com href="mailto:jasonnfedora@gmail.com">Cristiano
Furtado</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=fedora-users-br@redhat.com
href="mailto:fedora-users-br@redhat.com">Lista de discussão voltada para os
usuários brasileiros do Fedora</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, April 09, 2008 9:51
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Fedora-users-br] EUDAKI:
STICKY BIT - AJUDA</DIV>
<DIV><BR></DIV>Exato, Uma pasta onde cada usuário so apaga o seu proprio
arquivo, porem os outros podem somente ler.<BR><BR>
<DIV><SPAN class=gmail_quote>Em 09/04/08, <B class=gmail_sendername>Redes -
Hábil Tecnologia</B> <<A
href="mailto:redes@habil.eti.br">redes@habil.eti.br</A>> escreveu:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>Então por ex. posso dar permissão para uma
pasta e nesta pasta os usuários podem fazer alteração, por ex. um arquivo de
BD mas não podem alterar</FONT></DIV>
<DIV><FONT face=Arial size=2>é isso?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>No aguardo</FONT></DIV>
<DIV><FONT face=Arial size=2>Sandro</FONT></DIV>
<DIV><SPAN class=e id=q_11935c1ad722ced2_1>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=jasonnfedora@gmail.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:jasonnfedora@gmail.com" target=_blank>Cristiano Furtado</A>
</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=fedora-users-br@redhat.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:fedora-users-br@redhat.com" target=_blank>Lista de discussão
voltada para os usuários brasileiros do Fedora</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Wednesday, April 09, 2008 9:06 PM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
Re: [Fedora-users-br] EUDAKI: STICKY BIT - AJUDA</DIV>
<DIV><BR></DIV>É onde vc pode dar permissão numa pasta onde cada usuário
so pode apagar o arquivo que ele mesmo criou. É uma permissão especial.
<BR><BR>
<DIV><SPAN class=gmail_quote>Em 09/04/08, <B class=gmail_sendername>Redes
- Hábil Tecnologia</B> <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:redes@habil.eti.br" target=_blank>redes@habil.eti.br</A>>
escreveu:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>O que é esse sticky bit?</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=arbonan@gmail.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:arbonan@gmail.com" target=_blank>Adilson Bonanovisky</A>
</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=fedora-users-br@redhat.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:fedora-users-br@redhat.com"
target=_blank>fedora-users-br@redhat.com</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Wednesday, April 09, 2008 7:41 PM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
[Fedora-users-br] EUDAKI: STICKY BIT - AJUDA</DIV>
<DIV><BR></DIV><BR><BR>
<DIV><SPAN class=gmail_quote>Ola lista, quem pode me ajudar
aqui...<BR><BR>Passo 1: Dentro do /opt foi criado o diretorio
sticky<BR># mkdir -v sticky<BR>mkdir: created directory
`sticky'<BR><BR><BR>Passo 2: Foi atribuido a ele permissão total
(777)<BR># chmod -v 777 /opt/sticky/<BR>mode of `/opt/sticky/' changed
to 0777 (rwxrwxrwx)<BR><BR><BR>Passo 3: Foi ativado o stick bit para
ele.<BR># chmod -v a+t sticky/<BR>mode of `sticky/' changed to 1777
(rwxrwxrwt)<BR><BR><BR>Passo 4: Foi feita uma verificaçao com o
comando stat que informou e ta<BR>tudo em ordem.<BR># stat
/opt/sticky/<BR>File: `/opt/sticky/'<BR>Size: 4096 Blocks: 8 IO Block:
4096 directory<BR>Device: fd00h/64768d Inode: 297240 Links:
2<BR>Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/
root)<BR>Access: 2008-04-09 19:17:41.000000000 -0300<BR>Modify:
2008-04-09 19:17:41.000000000 -0300<BR>Change: 2008-04-09
19:24:08.000000000 -0300<BR><BR><BR>Passo 5 (PROBLEMA): Um usuario
"aluno" por exemplo não consegue entrar<BR>nele<BR>[aluno@localhost
~]$cd /opt/sticky<BR>-bash: cd: /opt/sticky: Permission
denied<BR><BR><BR>Passo 6 (PROBLEMA): Um usuario "aluno" por exemplo
não consegue nem<BR>fazer um ls<BR>[aluno@localhost ~]$ls
/opt/sticky<BR>ls: cannot access /opt/sticky: Permission
denied<BR><BR><BR>Passo 6 (PROBLEMA): Um usuario "aluno" por exemplo
não consegue gravar<BR>ali<BR>[aluno@localhost ~]$ echo "oi" >
/opt/sticky/oi.txt<BR>-bash: /opt/sticky/oi.txt: Permission
denied<BR><BR>Qual era a idéia?<BR>A de usar o Sticky Bit para que
varios usuario tivessem seus arquivos<BR>mas somente o verdadeiro dono
apagasse eles.<BR><BR>Quem pode me dar uma luz
ai?<BR><BR>Brigaduuuuu<BR><BR></SPAN></DIV></SPAN></DIV>
<P></P>
<HR>
<P></P>--<BR>Fedora-users-br mailing list<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Fedora-users-br@redhat.com"
target=_blank>Fedora-users-br@redhat.com</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://www.redhat.com/mailman/listinfo/fedora-users-br"
target=_blank>https://www.redhat.com/mailman/listinfo/fedora-users-br</A><BR>
<P></P></BLOCKQUOTE></DIV><BR>--<BR>Fedora-users-br mailing list<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Fedora-users-br@redhat.com"
target=_blank>Fedora-users-br@redhat.com</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://www.redhat.com/mailman/listinfo/fedora-users-br"
target=_blank>https://www.redhat.com/mailman/listinfo/fedora-users-br</A><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Cristiano Furtado<BR>Gerente de TI - Projetos de
Software Livre<BR>Embaixador do Fedora no Brasil<BR><BR>Sites:<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.projetofedora.org"
target=_blank>http://www.projetofedora.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.jasonnfedora.eti.br"
target=_blank>http://www.jasonnfedora.eti.br</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.fedora.org.br"
target=_blank>http://www.fedora.org.br</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.ekaaty.com.br" target=_blank>http://www.ekaaty.com.br</A>
<P></P>
<HR>
<P></P>--<BR>Fedora-users-br mailing list<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Fedora-users-br@redhat.com"
target=_blank>Fedora-users-br@redhat.com</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://www.redhat.com/mailman/listinfo/fedora-users-br"
target=_blank>https://www.redhat.com/mailman/listinfo/fedora-users-br</A><BR>
<P></P></BLOCKQUOTE></SPAN></DIV></DIV><BR>--<BR>Fedora-users-br mailing
list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://www.redhat.com/mailman/listinfo/fedora-users-br"
target=_blank>https://www.redhat.com/mailman/listinfo/fedora-users-br</A><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Cristiano Furtado<BR>Gerente de TI - Projetos de Software
Livre<BR>Embaixador do Fedora no Brasil<BR><BR>Sites:<BR><A
href="http://www.projetofedora.org">http://www.projetofedora.org</A><BR><A
href="http://www.jasonnfedora.eti.br">http://www.jasonnfedora.eti.br</A><BR><A
href="http://www.fedora.org.br">http://www.fedora.org.br</A><BR><A
href="http://www.ekaaty.com.br">http://www.ekaaty.com.br</A>
<P>
<HR>
<P></P>--<BR>Fedora-users-br mailing
list<BR>Fedora-users-br@redhat.com<BR>https://www.redhat.com/mailman/listinfo/fedora-users-br<BR></BLOCKQUOTE></BODY></HTML>