Find the answer to your Linux question:
Results 1 to 2 of 2
Following is the command that was used to copy file, list.txt from directory Documents to directory Downloads. Code: cp Documents/list.txt /Downloads The error message is: cp: cannot create regular file ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2012
    Posts
    6

    Copying files from one dir to another


    Following is the command that was used to copy file, list.txt from directory Documents to directory Downloads.

    Code:
    cp Documents/list.txt /Downloads
    The error message is:
    cp: cannot create regular file `/Downloads': Permission denied

    May I know how to rectify this please?
    Its okay, found out my mistake.Thank you.
    Last edited by CPE2012; 11-10-2012 at 12:23 PM. Reason: Solved

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Glad you sorted it out. Locking thread as Solved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •