You are not logged in.
Pages: 1
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
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
Sorry but I have lost the command I ran.
I probably did run it on / but I'm not sure.
Offline
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
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
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
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
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
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
Pages: 1