You are not logged in.

#1 2009-08-28 15:50:24

pillaow
Member
Registered: 2009-07-01
Posts: 5

Screwed up user permissions

Hi,

I've some how managed to screw up user permissions on a new Arch install (the dangers of recursive commands...)
Anyway, I'm not quite sure what I've done but even "su root" yields "cannot set groups: Operation not permitted".
If someone could list a few commands that I can run to return permissions back to their "factory" state that would be great. I have just one user account "Matt" on this machine.

Thanks in advance

Offline

#2 2009-08-28 15:54:46

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Screwed up user permissions

What was the command?  Did you run it on "/"?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2009-08-28 16:10:10

pillaow
Member
Registered: 2009-07-01
Posts: 5

Re: Screwed up user permissions

Sorry but I have lost the command I ran.
I probably did run it on / but I'm not sure.

Offline

#4 2009-08-28 16:29:03

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Screwed up user permissions

hmm... sounds like you're in a pickle to me.  As it's a fresh install maybe starting from scratch is your best option.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2009-08-28 16:32:49

pillaow
Member
Registered: 2009-07-01
Posts: 5

Re: Screwed up user permissions

Yes it is a bit of a pickle. I was planning on reinstalling to overcome this but thought it might be worth seeing if there was any easier alternative. Thanks.

Offline

#6 2009-08-28 17:12:16

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: Screwed up user permissions

LOL, you screwed up your permissions and you don't know which command you ran.
Today my crystall ball isn't working as good as it usually does wink


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#7 2009-08-28 17:43:01

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Screwed up user permissions

LOL press the up arrow key and try to find the command. tongue


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#8 2009-08-28 22:43:17

pillaow
Member
Registered: 2009-07-01
Posts: 5

Re: Screwed up user permissions

Thanks but I'm not that dim. The damage was done some months ago but I was not aware of it at the time as I rarely use this machine. I am now trying to repair the permissions. The command is not cached in the terminal. Yes it is a very stupid thing to have done.

Has anyone got just a few lines they can offer so I can chown things back into original state?

Offline

#9 2009-08-29 00:17:38

neddie_seagoon
Member
Registered: 2009-08-23
Posts: 121

Re: Screwed up user permissions

Can you login as root directly on the console? If so, try to do 'chmod u+s /bin/su' which may correct the issue (for su at least).
Also, check /etc/fstab and ensure your root partition does not have the nosuid option set.

Last edited by neddie_seagoon (2009-08-29 00:20:22)

Offline

Board footer

Powered by FluxBB