adding a stuff to a folder i don't have permission to
I am using SuSE 9.1
I have a lod of codecs I wish to add to /usr/local/lib/codecs folder but i keep getting told i do not have permission to this folder. I am the sole user of this machine so I assigned all the passowrds ( which I know) but I can't seem to figure out how to do this) PLEASE HELP |
Open up a terminal window and type:
su - (press enter) root password (enter) you will now be the root user and should be able to access the folder. When you are done, just type "exit" and press enter to exit. |
Hi again SurfCHimp!
Basically, on a *nix system, we have one user called "root". He is the super-user and can install and remove everything as he pleases. More or less like the administrator in a WinNT-based system. Needless to say, it's dangerous to play around as root. It's highly recommended to have a normal user. If you've followed SuSE's installation correct, you've already an ordinary user. Always, I mean it, always login as a normal user. Let's say we have an user called "chimp". Chimp can run nearly all applications (not daemons though) and make all changes he wants inside /home/chimp only. I assume that you are running as "chimp", so it's natural that you can not do anything outside your home directory. If you need to install/remove programs, you've to be root. You don't need to log out and in again to become root. Simply open a terminal and type "su". You'll be asked for the "root" password. Note that your prompt has now changed from: [localhost@localhost$]: to [localhost@localhost#]: The dollar ($) symbol represents an ordinary user, while the hash (#) the root user. It can happens that, in a system with multiple users, you even forget which user you are. Type: whoami to know who you are :). Now, since you know how to become the super-user, you are ready to read this thread: http://www.linuxquestions.org/questi...threadid=45094 to learn how to install programs in linux. You'd need to learn some commands as well: http://www.linuxdevcenter.com/linux/cmd/ to navigate through the terminal. The most used are: cp = copy a file/folder mv = move a folder/file rm = delete a folder/file mkdir = creates a directory ls = list of files cd = get into a directory cd .. = go one directory up Pretty much as in the old DOS fashion way :). So now you know how to move your codecs. Assuming you have the codecs in /home/chimp/temp/codecs, do: su password: mkdir /usr/local/lib/codecs cp /home/chimp/temp/codecs *.* /usr/local/lib/codecs Good luck! |
thanx once again, problem I was getting was that I was typing move "file" TO directory
changed move to mv and removed the TO and all worked fine |
All times are GMT -5. The time now is 03:05 AM. |