View Full Version : Insufficent Rights

28th October 2006, 04:47 AM
Ok so I have been trying to figure out the whole granting rights to my account on my Fedora 5. And well at one point I thought I figured it out but I have not. You see whenever I click on something that would commonly ask for the root password now all it says is "Insufficient Rights" and I was wondering how I fix something like that?

Saint Mike
28th October 2006, 11:08 AM
Guessing you using FC6? so you have selinux enabled?
what is it your clicking that comes up with insufficient right?
what is it ya changed?


28th October 2006, 05:42 PM
Guessing you using FC6? so you have selinux enabled?
what is it your clicking that comes up with insufficient right?
what is it ya changed?

:)No not on FC6 yet. I am using FC5. And what I changed was my USR folder. I made it so that all people in the root group could view and modify it. And now I can only view and modify it on the root account. Yes I do have selinux enabled

I click on stuff like "Add/remove Software" "Yum Extender" "hardware" "user accounts those kinds of things.

28th October 2006, 06:13 PM
Run this for me....let's see what we get:

ls -lFa /home

Saint Mike
29th October 2006, 01:50 AM
Here is an how chmod works, it lets ya change permissions in a shell

chmod ( u=owner,g=group,o=other,a=all)+or-(r=read,w=write,x=execute or access for directories) (folder/file name)

so eg if you wanted to add write permissions to your home directory for the assigned group its

chmod g+w /home

To assign owners and groups its

chgrp (groupname or group id) (location to change)
chown (username or user id) (location to change)


chgrp mygroupname /temp
chown myusername /temp

29th October 2006, 08:02 PM
Run this for me....let's see what we get:

ls -lFa /home

ls -lFa /home
total 32
drwxr-xr-x 4 root root 4096 Oct 16 00:11 ./
drwxr-xr-x 26 root root 4096 Oct 28 10:32 ../
drwx------ 34 darek darek 4096 Oct 28 10:46 darek/
drwx------ 3 visitor users 4096 Oct 16 00:11 visitor/w

Saint Mike:
Ok thanks for the brief tutorial. But I am not sure how to make it fix my problems? So allow me to recap what the problem is.

I log onto my account, named darek.
I go select Add/Remove Software from the System folder.
ORIGINALLY a prompt would pop up asking me for the root password. When I typed it in I would be given complete access to that program.
CURRENTLY when I go to select Add/Remove Software Fedora thinks for a second then pops up an error message saying that I have insufficent rights.
I am trying to fedora back to its original state. Or the ORIGINALLY part.

30th October 2006, 01:00 AM
Ok, sorry...I think I may have taken the wrong direction here. For some reason I got the impression that you didn't have permission to your home directory...

Anybody else have any bright ideas?

30th October 2006, 01:32 AM
Ha ha well I upgraded Fedora 5 to Fedora 6 and that seemed to fix this problem

30th October 2006, 05:56 AM
Well, that's ONE solution...

1st March 2007, 06:47 AM
Looks like I'm not the only one who was trying to fix a Fedora problem and break it worst in the process ;-)
Ok, for some reason, one of my users I support was not able to save her game scores, so I thought it was a permissions issue and decided to chown & chmod the usr dir to root:users and 0775, well that break things...
now when the user is logged in and tries to open a admin item like Config users gui, instead of getting a window that asks for the root password as before, they get Insufficent Rights error window, bbbboooooooooo

Ok, so lets talk about fixing this problem;
Is there any way to sync the permissions from one machine to another ? just for a dir like usr ?
maybe with rsync ?
Just some thoughts, this may happen again,
it would be cool to write a script that would fix this by copying another Fedora PC...


Saint Mike
1st March 2007, 06:53 AM
Easiesy fix will be to make a new user and then move stuff you want over bit by bit so you can find problems

su -
useradd -m username
passwd username

1st March 2007, 08:30 AM
I don't see how "Creating a New User" will fix the permissions for the (usr) folder...
we need a script that checks permissions on one PC and sets permissions to the same folder/file on another,
if the folder or file exists,

can you please explain,

Saint Mike
1st March 2007, 09:40 AM
Sorry missread it....

did you just change the /usr directory or everything in it aswell?

if its just that folder then this might help ya
wxr-xr-x root root usr

Otherwise i dunno, a script would be hard as everyones /usr will be differant

1st March 2007, 09:50 AM

No, I used -R to ruin my computer that time...


2nd March 2007, 11:38 AM
Does anyone know how to get a given files chown properties ?
chown ? file/folder

how about chmod properties ?