I am getting sick of having to sudo absolutely every single program because everything is installed as root, so the ownership is always root:root.
Is there a way to make it so that when stuff installs it installs as
sting:wheel (sting being my user)
so that i can actually run the stuff without having to sudo everything.
Yesterday i had the bright idea of doing
chown -R sting:wheel /
chmod -R g+s /
this was not a smart idea, cause i ended up formating and re instaling Arch. So this time I want to start off right and have it be correct from the start.
Thanks in advance guys.
my noob thoughts are that cause you have to run pacman as root, it just installs everything as root. so if i could run pacman as my user, would that help too?
ummm you shouldn't have issues running programs as root..
i'm typing this i firefox which is owned root.root - what programs are you having issues with?
i can do most things. stuff i was having problems with was i couldnt get sound in kde because kde was under my user, and had to be root to use alsa, so i couldnt get sound... this time, i added myself to the audio group so i think that will fix it. but its just annoying typing sudo infront of everything...
you don't need sudo - if you have to add it to run a program there is another problem - it's most likely a group permissions thing... your user should be in the following groups:
"audio" for sound
"optical" for cd burning
"video" for DRI stuff (is this still needed?)
if you have any other specific apps which won't work as a user and do work as root, post the details on the forum, because there is always a way to run something as a user - you should never have to run as root/sudo
ok, thanks phrak!