Version: 1.6.6 (using KDE KDE 3.5.7) Installed from: Debian testing/unstable Packages OS: Linux (forgive me, my English isn't very good, but I'll try to do it :>) ) Hello, friends!!! I think it is weird, but I'll describes the situation: 1 - Open Konsole 2 - su 3 - execute a shell script that converts mp3 files to ogg files 4 - open new guide in the same window of Konsole 5 - su - 6 - create a root's simple text file 7 - logout 8 - using non-root user, type "rm root's_file.txt" 9 - do you want to remove this write-protected file? y 10 - the file was removed... But when my script finishes, "rm" command fails to remove the file...(permission denied, of course!) look at follow command lines bellow: simba@mufasa:/dados/musicas/Embrace$ cd .. simba@mufasa:/dados/musicas$ ls -la *.txt -rw-r--r-- 1 root root 22765 2007-09-15 12:50 arquivosapagarordem.txt simba@mufasa:/dados/musicas$ rm arquivosapagarordem.txt rm: remove write-protected arquivo comum `arquivosapagarordem.txt'? y simba@mufasa:/dados/musicas$ ls -la *.txt ls: *.txt: Arquivo ou diretório não encontrado simba@mufasa:/dados/musicas$ su Password: mufasa:/dados/musicas# touch teste.txt mufasa:/dados/musicas# ls -la | grep teste.txt -rw-r--r-- 1 root root 0 2007-09-15 13:54 teste.txt mufasa:/dados/musicas# exit simba@mufasa:/dados/musicas$ rm teste.txt rm: remove write-protected arquivo comum vazio `teste.txt'? n simba@mufasa:/dados/musicas$ cd\ > cd bash: cdcd: command not found simba@mufasa:/dados/musicas$ su - Password: mufasa:~# echo "teste" > teste.txt mufasa:~# ls -la | grep teste -rw-r--r-- 1 root root 6 2007-09-15 14:12 teste.txt mufasa:~# logout simba@mufasa:/dados/musicas$ cd /root simba@mufasa:/root$ ls -la | grep teste -rw-r--r-- 1 root root 6 2007-09-15 14:12 teste.txt simba@mufasa:/root$ rm teste.txt rm: remove write-protected arquivo comum `teste.txt'? y rm: imposível remover `teste.txt': Permissão negada dictionary: arquivo comum vazio = an empty common file Arquivo ou diretório não encontrado = no such file or directory rm: imposível remover `teste.txt': Permissão negada = can't remove the file, permission denied Hugs for you!! Thanks a lot!!!
In order to remove files you need write permissions for the directory containing them, not the files themselves. Furthermore, this has nothing to do with Konsole.
The KDE bug report system is not the best place to get help with troubleshooting problems using the shell and the Unix command-line tools. For that I would recommend using distribution forums or local Linux user group forums.