The Cookie Machine - Click here to drag window

The Cookie Machine (TCM) Future Applications:

☑ View cookies used on the Pippim website.
☑ Send cookie via mail. For backup or sharing.
☑ Receive cookie via mail. From yourself or colleague.
☑ Countdown Timers. For multi-phase time sensitive missions.
☑ And in the future... Other ways of sharing/using Cookies.

If you can read me, I'm broken!

Views: 26,187     Votes:  6 
Tags: configuration   text-editor   editing  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗


Configuration files are usually owned by root. For example:

$ ll /etc/default/grub

-rw-r--r-- 1 root root 6801 Jul 18 13:26 /etc/default/grub

 ^^ ^  ^
 || |  +-- Users can only read
 || +----- Members of the group can only read
 |+------- The owner can write
 +-------- The owner can read

In order for a user (yourself) to edit /etc/grub/default you need to use sudo powers. So instead of using:

gedit /etc/default/grub

You must use:

sudo -H gedit /etc/default/grub

At which point you will be prompted for your password.

Note: Related question today: Grub file can't be saved after modification

⇧ How to find `.desktop` file location for a particular application Grub file can't be saved after modification  ⇩