Go Back   Scooter Forums > Beyond Compare 3 Discussion > Linux
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 27-Jul-2010, 09:49 AM
JohnnyG JohnnyG is offline
Visitor
 
Join Date: Jul 2010
Posts: 3
Default Owner & Group preservation

I did a search and found some really old topics on this, but nothing recent. What I want to know is if there is a way in the Linux version of BC to maintain the owner and group on files and directories when mirroring filesystems. I am migrating directories from an old NAS to a new one, and I need that information to be retained. Any assistance would be appreciated.

At this point, when copying or mirroring a directory after finding all the differences, the files are copied over, but the owner and group is assigned as whatever user I am logged in as (usually root). This is odd since if I open two different directories on two different NAS units, and simply copy the files in the Unix GUI, the owner, group, and permissions are all retained.

Last edited by JohnnyG; 27-Jul-2010 at 09:52 AM.
Reply With Quote
  #2  
Old 27-Jul-2010, 11:18 AM
JohnnyG JohnnyG is offline
Visitor
 
Join Date: Jul 2010
Posts: 3
Default

In playing around a little, I noticed that a normal cp command from the command-line in Linux will exhibit the same behavior as BC is showing. However, adding a -p to the command will preserve the owner and group. I have to assume that the Linux version is using the cp command to copy changed files. Is there anyway to force it to add the -p argument to get it to accomplish what I need?
Reply With Quote
  #3  
Old 30-Jul-2010, 04:40 PM
Chris Chris is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 3,385
Default

Sorry, it isn't possible to change the permissions behavior in the current version of BC 3 for Linux. I added an option to preserve permissions during copy to our wish list for a future release.
__________________
Chris K Scooter Software
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:06 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.