Missing hard drive space

Amedee Van Gasse (Ubuntu) amedee-ubuntu at amedee.be
Mon Apr 20 15:43:39 UTC 2009


On Mon, April 20, 2009 17:37, Karl Larsen wrote:
> Nils Kassube wrote:
>
>> Karl F. Larsen wrote:
>>
>>
>>> Nils Kassube wrote:
>>>
>>>
>>>> That would be:
>>>>
>>>>
>>>> gksudo gedit /etc/fstab
>>>>
>>>> or for KDE users:
>>>>
>>>> kdesudo kate /etc/fstab
>>>>
>>> I wonder why it works? On 8.04 to 9.04 I still use sudo gedit and
>>> it works fine. Why is that I wonder?
>>>
>>
>> It _may_ work with sudo as well but you may also have trouble with your
>>  config files afterwards if they are overwritten by root. Then you
>> can't access them any longer as normal user. The commands gksudo or
>> kdesudo are the preferred safe way to start graphical applications.
>>
>>
>> Nils
>>
>>
>>
> Well I never thought about that. But I usually use sudo gedit and
> change something and then turn it back off. Not clear how a config file
> would be written while root.

(I think)
If the file already exists: original ownership is preserved.
If it is a new file: owner = root.

-- 
Amedee





More information about the ubuntu-users mailing list