LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2019, 01:39 PM   #1
Mantra
LQ Newbie
 
Registered: Jun 2018
Posts: 10

Rep: Reputation: Disabled
Unison with NTFS


For a while, I've been using Unison to keep my desktop and laptop in sync, and it works very well for me.

But now, I'd like to move some of my files from my ext home partition to an ntfs partition on my desktop (and leave them unchanged on my laptop).

Any ideas on the best way to do this?

I'm concerned that there won't be a sane way of keeping the permissions properly recorded on moving to ntfs, and hence, unison will see everything as changed files - not to mention seeing the symlink I'd like to put on the ext partition (to the ntfs directory) as a separate file. I don't want to change unison's handling of any other symlinks.

(Extra details that may or may not be relevant: the files in question are all in one folder, all audio files of one format or another. I want to move them to an ntfs partition with Windows XP on - because I have some old audio hardware that only works on Win XP. As a bonus, is there any way to 'mount' a directory as read-only on windows, but leave it rw on linux? I know that's a windows question really.)
 
Old 07-26-2019, 11:49 AM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,252

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
Hi Mantra,

I am absolutely unfamiliar with Unison, so my comments won't touch on that.

I would check out the appropriate syntax of the rsync command to do what you want (move files to the ntfs partition, preserving / translating permissions ... ), if just copying and deleting is problematic for you (that would be my first try ...).

In Windows, to "mount" read-only, just specify the "read-only" restriction in the Properties dialog box for the parent directory you are going to keep your files in.

If this is unclear or if I've misunderstood something, please feel free to ask again.

Cheers,

Rick
 
Old 07-26-2019, 05:32 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,003

Rep: Reputation: 3872Reputation: 3872Reputation: 3872Reputation: 3872Reputation: 3872Reputation: 3872Reputation: 3872Reputation: 3872Reputation: 3872Reputation: 3872Reputation: 3872
NTFS is not compatible with symlinks and unison will not copy it over. Look at the documentation below, Permissions are covered too.

https://www.cis.upenn.edu/~bcpierce/....html#symlinks

As far as I know rsync would have the same problems as Unison.

With samba it is possible to have a share as read only.

Last edited by michaelk; 07-26-2019 at 05:34 PM.
 
2 members found this post helpful.
  


Reply

Tags
ext, ntfs, unison


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
question about unison nephish Linux - Software 1 11-18-2005 08:54 PM
all 3 lights on my NIC are blinking in unison mpyusko Linux - Networking 2 05-07-2005 02:03 PM
Need FC2 x86_64 binary RPM of unison BobBuchanan Linux - Software 0 02-15-2005 09:00 PM
Question about Unison paths overbored Linux - Software 1 10-28-2004 09:30 PM
any tools other than unison? pudhiyavan Linux - General 2 01-29-2004 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration