Foi mal, Raphael, eu mesmo fiquei confuso em como explicar a situação.
Não ficou clara, não é nem que eu não tenha dito. De qualquer forma,
valeu!


Em 23/07/07, Raphael Menezes<[EMAIL PROTECTED]> escreveu:
> Orra, cyrano. Mas vc nao disse que todos usavam o mesmo usuario. Todos aqui
> partiram do pressuposto q esse usuario era só seu.
>
> Se for assim, era o chown apartir do root, mesmo, ora bolas.
>
> Dê as informações completas, né, camarada.
>
> On 7/23/07, Cyrano . <[EMAIL PROTECTED]> wrote:
> >
> > Ei!
> >
> > rere, na verdade quem entendeu a gambiarra foi o Vinícius, Raphael! :)
> >
> > É que todo mundo aqui usa o mesmo usuário, e eu preciso proteger essa
> > pasta. Fazer com que só o root tenha acesso é melhor, porque só eu uso
> > root. O meu usuário é o único registrado no sistema. :)
> >
> > vou dar um man chown aqui e aprender a usar esse comando. ;)
> >
> > valeu!
> >
> >
> > Em 23/07/07, Raphael Menezes<[EMAIL PROTECTED]> escreveu:
> > > Nao, vinicius. Ele quer que apenas que ele acesse o diretorio home dele.
> > > Ou seja, apenas ele e o root. Um chmod feito pelo user dele, ja basta.
> > Como
> > > eu disse ali em cima e funcionou.
> > >
> > > On 7/23/07, Vinícius Batistela <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Para permitir que somente o root tenha acesso a pasta, creio que será
> > > > necessário coloca-lo como dono da mesma, usando o comando chown. E ai
> > sim
> > > > alterar as permissões, deixando que somente o dono da pasta, no caso o
> > > > root,
> > > > acesse a mesma.
> > > >
> > > > Seria isto, ou estou enganado?
> > > >
> > > > Em 23/07/07, Cyrano . <[EMAIL PROTECTED]> escreveu:
> > > > >
> > > > > maravilha! vou fazer as duas coisas! rere
> > > > >
> > > > > bom, fucei aqui e no XUbuntu tem como mudar essas propriedades de
> > > > > pastas pelo próprio X. Mas ou eu não soube como dizer pra ele que
> > > > > queria que só o root tivesse acesso à pasta, ou ele entendeu mas
> > > > > fingiu de besta. Porque continuou dando pra abrir a pasta como
> > usuário
> > > > > normal depois disso. :/
> > > > >
> > > > > Então, chmod nele!
> > > > >
> > > > >
> > > > > obrigado!
> > > > >
> > > > > cyrano
> > > > >
> > > > > Em 23/07/07, Ruy Marvulle Bueno<[EMAIL PROTECTED]> escreveu:
> > > > > > Alem das permições, para ocultar um diretorio ou arquivo renomeie
> > com
> > > > um
> > > > > .
> > > > > > (ponto) antes do arquivo.
> > > > > > Só com um ls -a ou no gerenciador de arquivos mandar exibir
> > arquivos
> > > > > > ocultos.
> > > > > >
> > > > > > Em 23/07/07, Raphael Menezes <[EMAIL PROTECTED]> escreveu:
> > > > > > >
> > > > > > > cyrano, qd tiveres duvidas em comandos do linux, experimente
> > digitar
> > > > > no
> > > > > > > terminal:
> > > > > > >
> > > > > > > man (nome do comando)
> > > > > > >
> > > > > > > enfim, basicamente, o chmod altera as permissoes. Ele pode ser
> > usado
> > > > > do
> > > > > > > jeito mais facil ( pelo menos pra mim ):
> > > > > > >
> > > > > > > chmod UGO - User ( autor do arquivo ) Group - Others
> > > > > > >
> > > > > > > após o UGO, vc pode usar o + para incluir as permissoes ou -
> > para
> > > > > retirar
> > > > > > > as
> > > > > > > permissoes, que sao: Read Write eXecute.
> > > > > > >
> > > > > > > entao, no seu caso, para evitar que outros mexam nos seus
> > arquivos,
> > > > eu
> > > > > > > sugeri: chmod GO-RWX ... que é pra q seu GRUPO e os outros
> > usuarios
> > > > > nao
> > > > > > > possam nem ler, nem gravar e mt menos executar os arquivos no
> > seu
> > > > > > > diretorio
> > > > > > > home.
> > > > > > >
> > > > > > > On 7/22/07, Cyrano . <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Oi Raphael,
> > > > > > > >
> > > > > > > > com esse chmod (meunome) go-rwx  eu estarei fazendo o que,
> > > > > exatamente?
> > > > > > > > fazendo com que apenas o root tenha acesso à pasta?
> > > > > > > >
> > > > > > > > cyrano
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Em 22/07/07, Raphael Menezes<[EMAIL PROTECTED]> escreveu:
> > > > > > > > > Eh vero! o Luiz está certo, desculpe-me pelo equivoco.
> > > > > > > > >
> > > > > > > > > Com seu usuario, vc pode mudar as permissoes de acesso a sua
> > > > > pasta:
> > > > > > > > >
> > > > > > > > > digitando: chmod (seuhome) go-rwx
> > > > > > > > >
> > > > > > > > > On 7/22/07, Luiz Mineo <[EMAIL PROTECTED]> wrote:
> > > > > > > > > >
> > > > > > > > > > por padrão todos podem acessar os seus arquivos, mas não
> > > > > > > modificá-los.
> > > > > > > > > > De qualquer forma, vc pode alterar as permissões dos seus
> > > > > arquivos
> > > > > > > > como
> > > > > > > > > > achar melhor. Difícil eh proteger seus arquivos de pessoas
> > q
> > > > > usam o
> > > > > > > > > > mesmo usuário q vc...
> > > > > > > > > >
> > > > > > > > > > Em Dom, 2007-07-22 às 21:33 -0300, Raphael Menezes
> > escreveu:
> > > > > > > > > > > ueh, por definicao ng pode acessar seu diretorio local,
> > do
> > > > seu
> > > > > > > > usuario!
> > > > > > > > > > >  somente o root!!!
> > > > > > > > > > >
> > > > > > > > > > > On 7/22/07, Cyrano . <[EMAIL PROTECTED]> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > tentei achar isso mas não consegui. o que quero é
> > proteger
> > > > o
> > > > > > > > conteúdo
> > > > > > > > > > > > de uma pasta para que, para acessá-la, o usuário
> > precise
> > > > > digitar
> > > > > > > > uma
> > > > > > > > > > > > senha. ou, se essa maneira não for possível, arrumar
> > algum
> > > > > jeito
> > > > > > > > de
> > > > > > > > > > > > impedir que essa pasta específica fique visível e a
> > apenas
> > > > > um
> > > > > > > > > > > > clique-duplo de acesso.
> > > > > > > > > > > >
> > > > > > > > > > > > a pasta fica dentro do usuário normal do meu xubuntu.
> > > > > > > > > > > >
> > > > > > > > > > > > alguém?
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Cyrano.
> > > > > > > > > > > > http://cyranodisse.blogspot.com
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Interessado em aprender mais sobre o Ubuntu em
> > português?
> > > > > > > > > > > > http://wiki.ubuntu-br.org/ComeceAqui  -
> > > > > > > > > > > > ubuntu-br mailing list
> > > > > > > > > > > > ubuntu-br@lists.ubuntu.com
> > > > > > > > > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > "If builders built buildings the way programmers wrote
> > > > > programs,
> > > > > > > > then
> > > > > > > > > > the
> > > > > > > > > > > first woodpecker that came along would destroy
> > > > civilization."
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Interessado em aprender mais sobre o Ubuntu em português?
> > > > > > > > > > http://wiki.ubuntu-br.org/ComeceAqui  -
> > > > > > > > > > ubuntu-br mailing list
> > > > > > > > > > ubuntu-br@lists.ubuntu.com
> > > > > > > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > "If builders built buildings the way programmers wrote
> > programs,
> > > > > then
> > > > > > > > the
> > > > > > > > > first woodpecker that came along would destroy
> > civilization."
> > > > > > > > > --
> > > > > > > > > Interessado em aprender mais sobre o Ubuntu em português?
> > > > > > > > > http://wiki.ubuntu-br.org/ComeceAqui  -
> > > > > > > > > ubuntu-br mailing list
> > > > > > > > > ubuntu-br@lists.ubuntu.com
> > > > > > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Cyrano.
> > > > > > > > http://cyranodisse.blogspot.com
> > > > > > > >
> > > > > > > > --
> > > > > > > > Interessado em aprender mais sobre o Ubuntu em português?
> > > > > > > > http://wiki.ubuntu-br.org/ComeceAqui  -
> > > > > > > > ubuntu-br mailing list
> > > > > > > > ubuntu-br@lists.ubuntu.com
> > > > > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > "If builders built buildings the way programmers wrote programs,
> > > > then
> > > > > the
> > > > > > > first woodpecker that came along would destroy civilization."
> > > > > > > --
> > > > > > > Interessado em aprender mais sobre o Ubuntu em português?
> > > > > > > http://wiki.ubuntu-br.org/ComeceAqui  -
> > > > > > > ubuntu-br mailing list
> > > > > > > ubuntu-br@lists.ubuntu.com
> > > > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> > > > > > >
> > > > > > --
> > > > > > Interessado em aprender mais sobre o Ubuntu em português?
> > > > > > http://wiki.ubuntu-br.org/ComeceAqui  -
> > > > > > ubuntu-br mailing list
> > > > > > ubuntu-br@lists.ubuntu.com
> > > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Cyrano.
> > > > > http://cyranodisse.blogspot.com
> > > > >
> > > > > --
> > > > > Interessado em aprender mais sobre o Ubuntu em português?
> > > > > http://wiki.ubuntu-br.org/ComeceAqui  -
> > > > > ubuntu-br mailing list
> > > > > ubuntu-br@lists.ubuntu.com
> > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Vinícius Batistela
> > > > --
> > > > Interessado em aprender mais sobre o Ubuntu em português?
> > > > http://wiki.ubuntu-br.org/ComeceAqui  -
> > > > ubuntu-br mailing list
> > > > ubuntu-br@lists.ubuntu.com
> > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> > > >
> > >
> > >
> > >
> > > --
> > > "If builders built buildings the way programmers wrote programs, then
> > the
> > > first woodpecker that came along would destroy civilization."
> > > --
> > > Interessado em aprender mais sobre o Ubuntu em português?
> > > http://wiki.ubuntu-br.org/ComeceAqui  -
> > > ubuntu-br mailing list
> > > ubuntu-br@lists.ubuntu.com
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> > >
> >
> >
> > --
> > Cyrano.
> > http://cyranodisse.blogspot.com
> >
> > --
> > Interessado em aprender mais sobre o Ubuntu em português?
> > http://wiki.ubuntu-br.org/ComeceAqui  -
> > ubuntu-br mailing list
> > ubuntu-br@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> >
>
>
>
> --
> "If builders built buildings the way programmers wrote programs, then the
> first woodpecker that came along would destroy civilization."
> --
> Interessado em aprender mais sobre o Ubuntu em português?
> http://wiki.ubuntu-br.org/ComeceAqui  -
> ubuntu-br mailing list
> ubuntu-br@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>


-- 
Cyrano.
http://cyranodisse.blogspot.com

-- 
Interessado em aprender mais sobre o Ubuntu em português?
http://wiki.ubuntu-br.org/ComeceAqui  -
ubuntu-br mailing list
ubuntu-br@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

Responder a