Originally Posted by tuffsach
im getting a message like:
sachin@sachin-desktop:~/Desktop/rar$ cp unrar /usr/local/bin
cp: cannot create regular file `/usr/local/bin/unrar': Permission denied
i do not know wat this means and don't know to what to do abt it .if i could get some help?
Like windows only a high level user may modify files in system directories.
Windows most of c:\ and Windows folders are restricted.
only Documents and Settings\username is open to full access
Linux is the same
c:\ is replace by / (root)
Documents and Settings\username is replaced by /home/username
and the subfolders of /media /mnt are also usually user accessible.
I dont suggest granting your self full access to any bar the default folders. since this command is a very rare occurance.
to copy this file you should use a user with root permission
it you use Ubuntu or Debian
sudo cp unrar /usr/local/bin
Password: <your sachin password>
any other Distro
Password: <your root password>
root@sachin-desktop:~/Desktop/rar#cp unrar /usr/local/bin