[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to run automatically a script as soon root login



Richmond wrote: 
> I was experimenting, and found this works:
> 
> sudo xterm -e "echo 1 > hello"
> 
> It created a file owned by root. But I found I was able to remove it
> without being root even though group and world permissions were read
> only.

The owner of a directory can delete any file in it.


-dsr-


Reply to: