View Single Post
danramos's Avatar
Posts: 4,672 | Thanked: 5,455 times | Joined on Jul 2008 @ Springfield, MA, USA
#8817
Originally Posted by slai View Post


Why?

I ls -al and see root all over. i try whoami and get "user". i try the mv thing and permission denied. wtf is going on here.
This seems normal. As a normal user you shouldn't be able to write files out to anything in /etc like that. Precede the mv command with a sudo. i.e.:

sudo mv /home/user/MyDocs/Downloads/mymoves.list /etc/apt/sources.list.d/

(You don't need to retype the filename at the end, if the destination is a folder... and to be safe, end the folder name with a / so you can get notified whether it had properly put it into an existing directory or else it'll create a FILE with the name sources.list.d if you don't.)

Again, hope that helps. Seems like common Linuxy stuff, so far.
__________________
Nokia's slogan shouldn't be the pedo-palmgrabbing image with the slogan, "Connecting People"... It should be one hand open pleadingly with another hand giving the middle finger and the more apt slogan, "Potential Unrealized." --DR
 

The Following 2 Users Say Thank You to danramos For This Useful Post: