no access

Asked by hugo

I try to install tengwar fonts /usr/share/fonts but I allways get notified that I am not authorized to install fonts in this file. Off course I am authorized! I am the only user of this computer. How can I chance this so I can install my fonts?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Fethi DILMI
Solved:
Last query:
Last reply:
Revision history for this message
Best Fethi DILMI (addictcook) said :
#1

Of course you are not authorized , you are not the administrator on this computer and you are not the only user , there is the administrator, and we call it the "root" user. It is the Only one who have the full control on your PC.

I'll explain somethings to you than I'll tell you how to have the access on that folder. When you install Ubuntu , the user you create is the friend of root , but it doesn't have the root privileges. Root is the only user who can make critical actions on the system like update (or upgrade) , modifying partitions, thats why when you try to do these actions a password is required . Being the root's friend , the password you have chosen during the installation process is somehow you can say the root's password. Now you tell me why I don't access to root from the GDM, in fact you can't , because the root user doesn't exist under Ubuntu , you can say it is VIRTUAL.

Now let's go back to the folder where you want to paste the fonts. Let's before a little check , Right Click on the Folder, click then on Properties , then go to Permissions; You'll see that this folder is owned by root. So you must access as root to it , a password is required , but you tell where is the password , nautilus doesn't give me access to the password box? You have 2 methods:

===========================================================
1- Method 1: Type this command in Terminal:
===========================================================
[CODE]
sudo nautilus
[CODE]
... A password is required ; Type your password and go to the folder you want and paste the Files.
===========================================================

===========================================================
2- Method 2: If you use Jaunty, Right Click the folder you want to access , then click "Open As Administrator". Type the password and do what you want.
===========================================================

===========================================================
3-
... and the most secure method:
Go to "/home/<USERNAME>/" and create this folder: .fonts (The point before is required)
and paste the fonts here.
===========================================================

This is what we call Permissions. I hope you have understood , because everything under Linux is secured because of this.

Good Luck.

Revision history for this message
hugo (hugoaernouts) said :
#2

Thanks Dilmi Fethi, that solved my question.