On 10/28/2015 7:25 AM, jdd wrote:
Le 28/10/2015 15:19, Bernhard Voelker a �crit :
The problem or solution may well be somewhere else, of course.
I think an user can remove any file in his owned folder:
create a test folder:
jdd@linux-uegt:~> cd jdd@linux-uegt:~> mkdir test
go root and create a file:
jdd@linux-uegt:~> su Mot de passe : linux-uegt:/home/jdd # touch test/test.txt linux-uegt:/home/jdd # ll test/ total 0 -rw-r--r-- 1 root root 0 28 oct. 15:20 test.txt
exit root:
linux-uegt:/home/jdd # exit
remove the file
jdd@linux-uegt:~> rm test/test.txt rm : supprimer fichier vide (prot�g� en �criture) � test/test.txt � ? o jdd@linux-uegt:~> ll test/ total 0
did I miss something?
jdd
Yes, that is true for simple files. (Although it seems like it shouldn't be). It depend on the permissions of the containing directory. If root creates a subdirectory in a user's space, and then places files into it, the user can't delete the files OR the directory. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org