1. There are a number of ways you can give your user account better privileges. The first is to add your user to a member of a group. Each file and directory in your system belongs to a group. All users that belong to that gropu will have access to the file and directory.
The other way is to change the owner of the file. All files have an owner. Bluefish probable is owned by the root account if you cant access it.
The other option is to change the owner, user, and group permissions associated with a file or directory.
Type this in a terminal.
ls -l
The -l switch tells the ls (list files and directories) command to show permissions, files size, owner group etc etc, of files in the current directory.
You will get something like this.
Code:
drwxr-xr-x 11 jack root 4096 Jul 22 09:03 Applications
drwxr-xr-x 15 jack jack 4096 Jul 11 03:52 armyops
drwx------ 3 jack jack 4096 Jul 22 13:26 Desktop
drwxr-xr-x 3 jack jack 4096 Jul 20 07:34 downloads
drwx------ 8 jack jack 4096 Jul 22 10:59 evolution
-rw-rw-r-- 1 jack jack 2713 Jul 18 10:52 mactor.log
-rw-rw-r-- 1 jack jack 12 Jul 18 05:02 mactor.mccb
-rw-rw-r-- 1 jack jack 350 Jul 18 10:51 mactor.mckw
drwxr-xr-x 3 jack jack 4096 Jul 18 06:10 mp3s
drwxrwxr-x 2 jack jack 4096 Jul 9 05:38 pictures
dr-xr-xr-x 2 jack jack 4096 Jul 10 03:44 sdm
drwxrwxr-x 9 jack jack 4096 Jul 9 05:38 source2
drwxrwxr-x 9 jack jack 4096 Jul 19 09:57 teaching
drwxrwxr-x 5 jack jack 4096 Jul 9 05:38 teachingTools
For the first file above the permission are drwxr-xr-x the user is "jack" and the group is "root" and the file name is "Applications"
permission work like this
the first letter in this case "d" represents the sort of file. "d" is a directory so the file "Applications" is a directory. The remaining six represent the permissions for the OWNER, GROUP. OTHER. They represent READ (r), WRITE (w), and EXECUTE (x).
These permission are changed by using the chmod command.
type man chmod for more information about this command but basically if you wanted to give everyone full access to Applications you would type thie following in the ROOT account.
chmod -R 777 /usr/bin/Applications
(the 777 is octal so dont worry about this too much. There is anothe way to assign command which you will find in the chmod manpage)
This tells the system to change the permissions of the directory Application and all files and directories below it (the -R option does this) to be given the following permissions, rwxrwxrwx. So in other words the user, group and other will all gain full privlidges to the Applications. This is of course dangerous so changing the use will suffice. And of couse there are ways to only give the "OTHER" read access and the group only "EXECUTE" access etc.
To change owner use
chown -R jack Applications
This will change the owner to jack for the directory application and all directories and files below it (remember the -R option tells it to be recursive and apply the changes to everything below it).
To chnage bluefish to be accessible for the user (you) use the following command. (LOGIN AS ROOT TO DO THIS)
chown YOUR_USER_NAME /usr/bin/Bluefish
this is assuming that the command to run bluefish is Bluefish.
2. To get root privileges use the su command which i explained above. Open a terminal and type
su
then type the password.
You will then be logged in as root and have access to the whole system.
3. Don't always use root. I know this is annoying. But when you work out whoe to change the permissions of files and things I think you will have no problem.