Page 1 of 1
ubuntu terminal changing ownership from root

Posted:
Thu Jan 17, 2013 14:56
by GJH105775
ubuntu terminal changing ownership from root
go to ubuntu terminal and type this
sudo chown -hR {your username here} filepathhere
sudo makes the computer run sroot (linux's super user)
chown is the change owner command
-hr says all files in the direstory
{your username here} is where you put your user name (no brackets)
then the file path you want to change the permissions of. example"user/home/piggys"

Posted:
Thu Jan 17, 2013 15:36
by GJH105775
This canbe used to allow ubuntu users to install mods

Posted:
Thu Jan 17, 2013 16:23
by 4aiman
There's no need to change ownership, a simple chmod will do.
But I guess that's a good idea to describe every possible issue and it's solution.
If I don't need that it doesn't mean anyone else doesn't. My suggestion to add that to Wiki or some place like that. Especially now, when editors needed ;)
Regards!

Posted:
Thu Jan 17, 2013 16:25
by PilzAdam
You dont have to access or change any root owned files when you install mods correctly.

Posted:
Thu Jan 17, 2013 16:27
by 4aiman
PilzAdam wrote:You dont have to access or change any root owned files when you install mods correctly.
There are a lot of errors waiting for newbies, even issuing "cmake" and "make" with root privileges, though.

Posted:
Thu Jan 17, 2013 16:29
by PilzAdam
4aiman wrote:PilzAdam wrote:You dont have to access or change any root owned files when you install mods correctly.
There are a lot of errors waiting for newbies, even issuing "cmake" and "make" with root privileges, though.
You shouldnt tell n00bs to just switch to root and everything will work. If they cant access the files and dont know what "root" is, they shouldnt access/change the files.

Posted:
Thu Jan 17, 2013 16:35
by 4aiman
That's true. And I never did tell anyone to use root for everything. However, if you were newbie, you'd think differently. One more "solution" supplied with "DO NOT USE ROOT" is a good therapy for adequate newbie.

Posted:
Thu Jan 17, 2013 18:28
by Calinou
GJH105775 wrote:This canbe used to allow ubuntu users to install mods
If you run a build which has RUN_IN_PLACE disabled, just put your mods in:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.