Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, Has anyone come across this problem; cp: failed to preserve ownership for /mnt/mysvr/myfile.Wed/2008-01-23-02-02-17_myfile_locale.tar': Operation not permitted I get it for every file that is copied from a SUSE ...
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Location
    York
    Posts
    2

    cp Copying from Suse to Windows

    Hi All,

    Has anyone come across this problem;

    cp: failed to preserve ownership for /mnt/mysvr/myfile.Wed/2008-01-23-02-02-17_myfile_locale.tar': Operation not permitted

    I get it for every file that is copied from a SUSE 9 box to a SVR2003 box, I have the drive mounted with a user that has full rights. Is there anyway of stopping the error when using cp?

    Script is as follows
    #!/bin/bash
    b=$(date +%a)
    rm -r /mnt/mysvr/somefile.$b
    mkdir /mnt/mysvr/somefile.$b
    cp -a -v /home/backup/folder/* /mnt/mysvr/somefile.$b

    More of an annoyance really but any advise would be good.

  2. #2
    Linux Newbie harner's Avatar
    Join Date
    Jun 2004
    Location
    PA, USA
    Posts
    209
    Is it an NTFS partition? That's probably why. Try downloading 3g-ntfs. That should give you write access to NTFS.
    I praise Webmin and PuTTy!
    Registered Linux User: 439431

Posting Permissions

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