<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Install Unison File Synchronizer for Two-Way File Sync on Linux	</title>
	<atom:link href="https://www.tecmint.com/unison-file-synchronizer-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/unison-file-synchronizer-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 03 Nov 2025 04:53:07 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2357770</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 03 Nov 2025 04:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=5864#comment-2357770</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2352117&quot;&gt;JQ&lt;/a&gt;.

@JQ,

Hi,

Glad to hear the first part worked!

For your second SSD, you can simply add another root entry in the &lt;code&gt;work.prf&lt;/code&gt; file. Unison allows multiple roots, but each pair must refer to one sync job. Meaning: each work.prf can only define two roots at a time.

So you’ll need a separate profile for the second SSD.

For example, keep your existing &lt;code&gt;work.prf&lt;/code&gt; as-is, then create another profile like &lt;code&gt;work-kingsto.prf&lt;/code&gt;:
&lt;pre&gt;
root = /home/jq/Downloads
root = &quot;/run/media/jq/128 KINGSTO&quot;

auto = true
batch = true
prefer = newer
&lt;/pre&gt;
Now you’ll run it like:
&lt;pre&gt;
unison work-kingsto
&lt;/pre&gt;
This keeps both sync setups clean and avoids conflicts.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2352117">JQ</a>.</p>
<p>@JQ,</p>
<p>Hi,</p>
<p>Glad to hear the first part worked!</p>
<p>For your second SSD, you can simply add another root entry in the <code>work.prf</code> file. Unison allows multiple roots, but each pair must refer to one sync job. Meaning: each work.prf can only define two roots at a time.</p>
<p>So you’ll need a separate profile for the second SSD.</p>
<p>For example, keep your existing <code>work.prf</code> as-is, then create another profile like <code>work-kingsto.prf</code>:</p>
<pre>
root = /home/jq/Downloads
root = "/run/media/jq/128 KINGSTO"

auto = true
batch = true
prefer = newer
</pre>
<p>Now you’ll run it like:</p>
<pre>
unison work-kingsto
</pre>
<p>This keeps both sync setups clean and avoids conflicts.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JQ		</title>
		<link>https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2352117</link>

		<dc:creator><![CDATA[JQ]]></dc:creator>
		<pubDate>Sat, 18 Oct 2025 07:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=5864#comment-2352117</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2351765&quot;&gt;Ravi Saive&lt;/a&gt;.

Dear Ravi Saive,

This solved the problem:
&lt;pre&gt;
root = &quot;/run/media/jq/128 WESTERN&quot;
&lt;/pre&gt;
But what if I want to sync to another &lt;strong&gt;SSD&lt;/strong&gt;? There are two SSDs in the external case, how should I configure that?

Here is my current &lt;code&gt;work.prf&lt;/code&gt;:
&lt;pre&gt;
root = /home/jq/Downloads
root = &quot;/run/media/jq/128 WESTERN&quot;

auto = true
batch = true
prefer = newer
&lt;/pre&gt;
I have another SSD mounted at &lt;code&gt;/run/media/jq/128 KINGSTO&lt;/code&gt; in the same external case. How do I add it to &lt;strong&gt;work.prf&lt;/strong&gt;?

Thanks.
]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2351765">Ravi Saive</a>.</p>
<p>Dear Ravi Saive,</p>
<p>This solved the problem:</p>
<pre>
root = "/run/media/jq/128 WESTERN"
</pre>
<p>But what if I want to sync to another <strong>SSD</strong>? There are two SSDs in the external case, how should I configure that?</p>
<p>Here is my current <code>work.prf</code>:</p>
<pre>
root = /home/jq/Downloads
root = "/run/media/jq/128 WESTERN"

auto = true
batch = true
prefer = newer
</pre>
<p>I have another SSD mounted at <code>/run/media/jq/128 KINGSTO</code> in the same external case. How do I add it to <strong>work.prf</strong>?</p>
<p>Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2351765</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Fri, 17 Oct 2025 04:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=5864#comment-2351765</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2351332&quot;&gt;JQ&lt;/a&gt;.

@JQ,

Thanks for sharing the details. From the error message, it looks like &lt;strong&gt;Unison&lt;/strong&gt; is trying to create a temporary directory on &lt;code&gt;/run/media/jq/128 WESTERN&lt;/code&gt;, but it doesn’t have permission to do so.

A few things to check:

&lt;strong&gt;1.&lt;/strong&gt; Make sure your user &lt;code&gt;(jq)&lt;/code&gt; has write permissions on the mount point &lt;code&gt;/run/media/jq/128 WESTERN&lt;/code&gt;. You can test this by trying to create a folder manually:
&lt;pre&gt;
mkdir /run/media/jq/128\ WESTERN/test
&lt;/pre&gt;
If this fails, it’s a permissions issue.

&lt;strong&gt;2.&lt;/strong&gt; If it’s a removable drive or a mounted partition, ensure it’s mounted with write permissions (sometimes drives are mounted read-only by default).

&lt;strong&gt;3.&lt;/strong&gt; You might also want to remove the backslash from the profile path and quote the path instead:
&lt;pre&gt;
root = &quot;/run/media/jq/128 WESTERN&quot;
&lt;/pre&gt;
Unison handles spaces better with quotes in profile files.

Try these steps and see if it resolves the issue.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2351332">JQ</a>.</p>
<p>@JQ,</p>
<p>Thanks for sharing the details. From the error message, it looks like <strong>Unison</strong> is trying to create a temporary directory on <code>/run/media/jq/128 WESTERN</code>, but it doesn’t have permission to do so.</p>
<p>A few things to check:</p>
<p><strong>1.</strong> Make sure your user <code>(jq)</code> has write permissions on the mount point <code>/run/media/jq/128 WESTERN</code>. You can test this by trying to create a folder manually:</p>
<pre>
mkdir /run/media/jq/128\ WESTERN/test
</pre>
<p>If this fails, it’s a permissions issue.</p>
<p><strong>2.</strong> If it’s a removable drive or a mounted partition, ensure it’s mounted with write permissions (sometimes drives are mounted read-only by default).</p>
<p><strong>3.</strong> You might also want to remove the backslash from the profile path and quote the path instead:</p>
<pre>
root = "/run/media/jq/128 WESTERN"
</pre>
<p>Unison handles spaces better with quotes in profile files.</p>
<p>Try these steps and see if it resolves the issue.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JQ		</title>
		<link>https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2351332</link>

		<dc:creator><![CDATA[JQ]]></dc:creator>
		<pubDate>Thu, 16 Oct 2025 01:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=5864#comment-2351332</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2351003&quot;&gt;Ravi Saive&lt;/a&gt;.

Hi Ravi,

The following command works fine:
&lt;pre&gt;
unison ~/Downloads /run/media/jq/128\ WESTERN
&lt;/pre&gt;
However, when I try to automate the job by creating a work profile, I encounter an error. Details are as follows:

Profile (&lt;code&gt;work.prf&lt;/code&gt;):
&lt;pre&gt;
root = /home/jq/Downloads
root = /run/media/jq/128\ WESTERN

auto = true
batch = true
prefer = newer
&lt;/pre&gt;
When I run the command:
&lt;pre&gt;
jq@fedora:~$ unison work
&lt;/pre&gt;
I get the following output:
&lt;pre&gt;
Unison 2.53.7 (ocaml 5.3.0): Contacting server...
Looking for changes
Reconciling changes
new dir  ----&#062;              

1 items will be synced, 0 skipped
45.9 MiB to be synced from Downloads to 128\ WESTERN
0 B to be synced from 128\ WESTERN to Downloads
Propagating updates
Unison 2.53.7 (ocaml 5.3.0) started propagating changes at 09:14:51.85 on 16 Oct 2025
[BGN] Copying from /home/jq/Downloads to /run/media/jq/128\ WESTERN
Failed []: Error in creating directory:
Permission denied [mkdir(/run/media/jq/.unison.128\ WESTERN.823146198a581844c627fe0871e557fe.unison.tmp)]
Unison 2.53.7 (ocaml 5.3.0) finished propagating changes at 09:14:51.85 on 16 Oct 2025, 0.000 s
Saving synchronizer state
Synchronization incomplete at 09:14:51 (0 items transferred, 0 skipped, 1 failed)
  failed: 
jq@fedora:~$
&lt;/pre&gt;
I’d appreciate your help in resolving this.

Thanks,]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2351003">Ravi Saive</a>.</p>
<p>Hi Ravi,</p>
<p>The following command works fine:</p>
<pre>
unison ~/Downloads /run/media/jq/128\ WESTERN
</pre>
<p>However, when I try to automate the job by creating a work profile, I encounter an error. Details are as follows:</p>
<p>Profile (<code>work.prf</code>):</p>
<pre>
root = /home/jq/Downloads
root = /run/media/jq/128\ WESTERN

auto = true
batch = true
prefer = newer
</pre>
<p>When I run the command:</p>
<pre>
jq@fedora:~$ unison work
</pre>
<p>I get the following output:</p>
<pre>
Unison 2.53.7 (ocaml 5.3.0): Contacting server...
Looking for changes
Reconciling changes
new dir  ----&gt;              

1 items will be synced, 0 skipped
45.9 MiB to be synced from Downloads to 128\ WESTERN
0 B to be synced from 128\ WESTERN to Downloads
Propagating updates
Unison 2.53.7 (ocaml 5.3.0) started propagating changes at 09:14:51.85 on 16 Oct 2025
[BGN] Copying from /home/jq/Downloads to /run/media/jq/128\ WESTERN
Failed []: Error in creating directory:
Permission denied [mkdir(/run/media/jq/.unison.128\ WESTERN.823146198a581844c627fe0871e557fe.unison.tmp)]
Unison 2.53.7 (ocaml 5.3.0) finished propagating changes at 09:14:51.85 on 16 Oct 2025, 0.000 s
Saving synchronizer state
Synchronization incomplete at 09:14:51 (0 items transferred, 0 skipped, 1 failed)
  failed: 
jq@fedora:~$
</pre>
<p>I’d appreciate your help in resolving this.</p>
<p>Thanks,</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2351003</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Wed, 15 Oct 2025 04:53:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=5864#comment-2351003</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2350979&quot;&gt;JQ&lt;/a&gt;.

@JQ,

Looks like the issue is with the paths you’re using in your &lt;strong&gt;Unison&lt;/strong&gt; command. You don’t need to include &lt;code&gt;/home/jq&lt;/code&gt; twice — &lt;strong&gt;Unison&lt;/strong&gt; is interpreting that as a profile name instead of a folder.

Try this command instead:
&lt;pre&gt;
unison ~/Downloads /run/media/jq/128\ WESTERN
&lt;/pre&gt;
A few quick notes:

The backslash &lt;code&gt;(\)&lt;/code&gt; before the space in &lt;strong&gt;128 WESTERN&lt;/strong&gt; escapes the space so the system reads it correctly.

You don’t need the &lt;code&gt;~/home/jq/&lt;/code&gt; prefix — just &lt;code&gt;~/Downloads&lt;/code&gt; works fine.

Make sure both directories actually exist and your external SSD is mounted.

If this runs without errors, &lt;strong&gt;Unison&lt;/strong&gt; should start syncing your &lt;strong&gt;Downloads&lt;/strong&gt; folder to the SSD.

Hope that helps!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/unison-file-synchronizer-linux/comment-page-1/#comment-2350979">JQ</a>.</p>
<p>@JQ,</p>
<p>Looks like the issue is with the paths you’re using in your <strong>Unison</strong> command. You don’t need to include <code>/home/jq</code> twice — <strong>Unison</strong> is interpreting that as a profile name instead of a folder.</p>
<p>Try this command instead:</p>
<pre>
unison ~/Downloads /run/media/jq/128\ WESTERN
</pre>
<p>A few quick notes:</p>
<p>The backslash <code>(\)</code> before the space in <strong>128 WESTERN</strong> escapes the space so the system reads it correctly.</p>
<p>You don’t need the <code>~/home/jq/</code> prefix — just <code>~/Downloads</code> works fine.</p>
<p>Make sure both directories actually exist and your external SSD is mounted.</p>
<p>If this runs without errors, <strong>Unison</strong> should start syncing your <strong>Downloads</strong> folder to the SSD.</p>
<p>Hope that helps!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
