Changing folder permission. Take over folder ownership of a directory and all of its contents.
1. Open terminal
2. Change root permission with this command
-------------------------------
sudo -s
-------------------------------
Your prompt will change from a "$" to a "#" after you enter the password.
3. To Take ownership of a direcotry and all of its contents
-----------------------------------------------------
sudo chown -R newuser dirname
-----------------------------------------------------
newuser -> your login id
dirname -> directory you wanted to change like /usr/share/
Linux setup on my computer
Linux compilation is meanly for me to remember a few step when I install linux mint 8 and ubuntu 9.10 into my Asus laptop. This blog contain all step I did installing and troubleshoot when using Linux.
Before this I'm using ubuntu 9.10 but after trying linux mint 8 I found out it easy on me. Maybe later I will change to other distro...well still this blog will be added all the step I do in that distro.
Before this I'm using ubuntu 9.10 but after trying linux mint 8 I found out it easy on me. Maybe later I will change to other distro...well still this blog will be added all the step I do in that distro.
Monday, May 3, 2010
Changing Folder Permission
Subscribe to:
Posts (Atom)