how to solve problems with permissions?
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?
In Linux files have ownership and permissions: the ownership is "to whom the file belongs", permissions are "who can read, write or execute files". In this case you are trying to write a file in a directory which most likely belong to root. You may verify this by issuing
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
|All times are GMT -5. The time now is 05:49 AM.|