I'm trying to copy a file from my homedir to /usr. How do I setup the permissions to allow this?$ chmod 777 KeePass-2.14.zip$ cp KeePass-2.14.zip /usr/keepass/cp: cannot create regular file `/usr/keepass/KeePass-2.14.zip': Permission denied$ sudo cp KeePass-2.14.zip /usr/keepass/cp: cannot stat `KeePass-2.14.zip': Permission denied$
How to copy a file from my home folder to /usr
permissions
I'm guessing that  sudo cp can't stat KeePass-2.14.zip because $HOME is on an NFS mount, and the NFS server doesn't grant your machine root permission to the NFS share.Try:cp KeePass-2.14.zip /tmpsudo cp /tmp/KeePass-2.14.zip /usr/keepass/