[xubuntu-users] security problem? (again)

Wybo Dekker wybo at xs4all.nl
Thu Jul 26 10:22:37 UTC 2012


Thanks Mike, it's clear now!

On 2012-07-26 05:08, Mike Kupfer wrote:
> Wybo Dekker wrote:
> 
>> On 2012-07-24 18:14, I wrote:
>>> When I create a file in my home directory as root:
>>>
>>> $ sudo touch test
>>>
>>> I get:
>>>
>>> $ ls -l test
>>> -rw-r--r-- 1 root root 0 2012-07-24 18:09 test
>>>
>>> I cannot, without sudo, overwrite this file, but I can remove it with rm
>>> -rf. Is that correct? And if not: how can I find out what's wrong with
>>> my system?
>>
>> I know, this was a stupid question, but that's because of my lack of
>> intelligence, sorry. But could someone verify that the described
>> behavior is, or is not, normal?
> 
> That behavior is normal.  Anyone with write permission to a directory
> can create a new file in it, or remove an existing file.  (Well, there's
> an exception to that rule, but it probably doesn't apply to your home
> directory.)
> 
> mike
> 


-- 
Wybo




More information about the xubuntu-users mailing list