Results 1 to 4 of 4

Thread: copying gives error "cp: cannot create symbolic link"

  1. #1
    Join Date
    Dec 2007
    Beans
    24

    copying gives error "cp: cannot create symbolic link"

    i am root
    i have an ext4 partition of a usb drive mounted at /mnt/sdc1
    i have fat32 partition of the same drive mounted at /mnt/sdc3


    i want to copy the folder /mnt/sdc1/mnt/dir to /mnt/sdc3
    i navigate to /mnt/sdc3

    i type this in terminal
    cp -r /mnt/sdc1/mnt/dir .

    I get a lot of this
    cp: cannot create symbolic link

    How do i copy something from an ext4 partition to a fat32 partition?

  2. #2
    Join Date
    May 2010
    Location
    uk
    Beans
    9,374
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: copying gives error "cp: cannot create symbolic link"

    Hi

    Fat32 does not support symbolic links are far as i am aware.

    Try

    Code:
    cp -r /mnt/sdc1/mnt/dir/* .
    Kind regards
    Last edited by matt_symes; July 10th, 2011 at 05:39 PM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  3. #3
    Join Date
    Dec 2007
    Beans
    24

    Re: copying gives error "cp: cannot create symbolic link"

    I should add one detail. The folder I am trying to copy has root permissions (created on another linux box) and even though I am root on this box, I do not have access to it. (Not even read permissions!)

    I realize that I could chmod +rwx the directory, but I do not want to screw up the permissions of the files so that they are not readable on the original linux box.

    Actually, the directory I am trying to copy is a Linux installation so I am afraid to muck it up lest it become unbootable.

  4. #4
    Join Date
    Dec 2007
    Beans
    24

    Re: copying gives error "cp: cannot create symbolic link"

    I repartitioned my drive and created another ext4 partition. it works fine now. tnx.

Tags for this Thread

Bookmarks

Posting Permissions

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