cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the "/" attributes

SOLVED
Go to solution
Jimmy Roux_1
Advisor

Changing the "/" attributes

How do you change the uid/gid of the following:

WARNING: [40259] Directory "/" should have owner,uid "root,0" but the
actual owner,uid is "bin,2".
WARNING: [40261] Directory "/" should have group,gid "root,0" but the
actual group,gid is "bin,2".

Thanks,

Jimmy
7 REPLIES
Sanjay_6
Honored Contributor
Solution

Re: Changing the "/" attributes

Hi Jimmy,

Try,

chown root:root /.

here /. referes to / directory.

Hope this helps.

Regds
Victor BERRIDGE
Honored Contributor

Re: Changing the "/" attributes

Hi,
I dont see why chown root:root / wouldnt work
Have you tried? What do you get?

All the best
Victor
Jimmy Roux_1
Advisor

Re: Changing the "/" attributes

How do you check current attributes of "/"?
Sanjay_6
Honored Contributor

Re: Changing the "/" attributes

Hi,

Try,

cd /
ls -ld .

if it is owned by someone other than root:root, do chown to change the permissions,

chown root:root .

or

chown root:root /.

Hope this helps.

Regds
Victor BERRIDGE
Honored Contributor

Re: Changing the "/" attributes

# ls -ld /
drwxr-xr-x 23 root root 1024 Dec 22 20:12 /
Jimmy Roux_1
Advisor

Re: Changing the "/" attributes

Thanks Everyone.
Happy Holidays!
Jimmy
Jimmy Roux_1
Advisor

Re: Changing the "/" attributes

done