ubuntu terminal changing ownership from root

User avatar
GJH105775
Member
 
Posts: 106
Joined: Thu Sep 27, 2012 16:11

ubuntu terminal changing ownership from root

by GJH105775 » Thu Jan 17, 2013 14:56

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"
Last edited by GJH105775 on Wed Apr 30, 2014 15:28, edited 2 times in total.
Check out my mod xtrablocks, has some different types of marble that you can build with or mine at different depths

I am not here regularly as I just kind of pop in and out. If you want to find me I'll be on quadcopterforum.com helping with multirotor builds and spending other's money haha.

http://i10.photobucket.com/albums/a119/ ... hicons.jpg
 

User avatar
GJH105775
Member
 
Posts: 106
Joined: Thu Sep 27, 2012 16:11

by GJH105775 » Thu Jan 17, 2013 15:36

This canbe used to allow ubuntu users to install mods
Check out my mod xtrablocks, has some different types of marble that you can build with or mine at different depths

I am not here regularly as I just kind of pop in and out. If you want to find me I'll be on quadcopterforum.com helping with multirotor builds and spending other's money haha.

http://i10.photobucket.com/albums/a119/ ... hicons.jpg
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Thu Jan 17, 2013 16:23

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!
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Jan 17, 2013 16:25

You dont have to access or change any root owned files when you install mods correctly.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Thu Jan 17, 2013 16:27

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.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Jan 17, 2013 16:29

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.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Thu Jan 17, 2013 16:35

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.
Last edited by 4aiman on Thu Jan 17, 2013 16:38, edited 1 time in total.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Thu Jan 17, 2013 18:28

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.
Code: Select all
~/.minetest/mods/minetest
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 10 guests

cron