PDA

View Full Version : Accessing and adding files to /usr/bin



nealkochhar
01-08-2005, 05:27 PM
When I try copying some files into /usr/bin, it says "Permission Denied". I've tried repairing my permissions, setting a master password, but it still says the same thing.

How do I go about overriding the password? Or just copying the files I want to copy (from my Home folder) to /usr/bin? For reference, I am the admin user of my computer.

Thanks in advance,

-Neal.

rman
01-10-2005, 11:01 AM
You will need to use the terminal window and the sudo command.

Some thing on the lines of: sudo cp file_to_be_place_in_bin /usr/bin.

You will be prompted for a pass word and then the copy should be made. You will need to change the file permissions also. Something on the lines of 755, (rwxr-xr-x):

sudo chmod 755 /usr/bin/file_to_be_place_in_bin