Hi.
My question is really very simple, I believe.
I have a user called "teste"
[EMAIL PROTECTED]:~$ id teste
uid=1001(teste) gid=1001(teste) grupos=1001(teste)
I am user "aluno" and as so, I create a directory in my own $HOME
[EMAIL PROTECTED]:~$ mkdir trash
[EMAIL PROTECTED]:~$ ls -ld trash
drwxr-xr-x 2 aluno aluno 4096 2006-08-14 23:09 trash
I want the user called "teste" to be the owner of this directory
[EMAIL PROTECTED]
:~$ chown teste trash
chown: mudando permissões de `trash': Operação não permitida
That means "aluno" cannot do this.
Can someone explain me why he can't ?
More info:
[EMAIL PROTECTED]
:~$ uname -a
Linux maq13 2.6.15-1-486 #2 Mon Mar 6 15:19:16 UTC 2006 i686 GNU/Linux
[EMAIL PROTECTED]:~$ cat /etc/debian_version
testing/unstable
[EMAIL PROTECTED]:~$ ls -l /bin/ch*
-rwxr-xr-x 1 root root 33588 2006-05-27 17:28 /bin/chgrp
-rwxr-xr-x 1 root root 30800 2006-05-27 17:28 /bin/chmod
-rwxr-xr-x 1 root root 35912 2006-05-27 17:28 /bin/chown
Thanks for help.