<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Jared <br>
</p>
<p>thanks for the reply I took the easy way out with permissions
used sudo nautilius. although it did dredge up shadow of the past
with chmod.<br>
</p>
<p>If you have the inclination can you illustrate rsync suggestions
by referring to the terminal output below in this email. I created
a backup folder. but get the following" "Can anyone explain,
attachment .png of uuid info. error seems to be between
/media/a/uuid and a "switch" occurs /media/uuid, what the hey/" <br>
</p>
<p>and this error message: "rsync error: error in file IO (code 11)
at main.c(675) [Receiver=3.1.2] "</p>
<p>If the problem is to messy to decipher I will concur. Then thanks
all the same, congrats on the new club. Best, a<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 5/27/19 3:17 PM, ABQLUG wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ccdfbe24-8620-ade5-840a-57cbbb4e966a@abqlug.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi a,<br>
<br>
When using rsync, the destination and originating path needs to
exist.<br>
<br>
rsync -Prvvac /path/to/old/archive /path/to/new/archive<br>
<br>
If the destination path doesn't exist, you will need to mkdir and
mount accordingly.<br>
<br>
However, your original question is how to change folder/file
permissions.<br>
<br>
This is how to change which user and group can access/edit a file.<br>
sudo chown username:usergroup /path/to/file.txt<br>
<br>
This is how to change which user and group can access/edit a
folder and everything in that folder:<br>
sudo chown -R username:usergroup /path/to/folder<br>
<br>
This is how I would do it on my current system (to change user
access to a folder):<br>
sudo chown jr:jr /path/to/file<br>
<br>
I know to use jr:jr because I did this:<br>
<br>
ls -l .bash_history <br>
-rw------- 1 jr jr 69881 May 24 13:34 .bash_history<br>
<br>
To do this you will need to be in your user folder (or ls a file
you know that you own).<br>
pwd<br>
/home/jr<br>
<br>
I didn't cover chmod, so let us know if you still can't access the
folder you're trying to access.<br>
<br>
Regards,<br>
<br>
Jared<br>
<br>
<div class="moz-cite-prefix">On 5/27/19 9:25 AM, a wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9523adf1-6c46-86d6-428b-0c190a44ab7d@kaluta.us">Hi <br>
<br>
Can anyone explain, attachment .png of uuid info. error seems to
be between /media/a/uuid and a "switch" occurs /media/uuid,
what the hey/ <br>
<br>
a@alap:~$ rsync -av --delete --exclude=".*/" /home/a/
/media/your_uuid/backup <br>
sending incremental file list <br>
rsync: mkdir "/media/your_uuid/backup" failed: No such file or
directory (2) <br>
rsync error: error in file IO (code 11) at main.c(675)
[Receiver=3.1.2] <br>
a@alap:~$ rsync -av --delete --exclude=".*/" /home/a/
/media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup <br>
sending incremental file list <br>
rsync: mkdir
"/media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup" failed: No
such file or directory (2) <br>
rsync error: error in file IO (code 11) at main.c(675)
[Receiver=3.1.2] <br>
a@alap:~$ cd /media/0435f0ab-9dfd-4d9d-ae8b-53101d419ac8 <br>
bash: cd: /media/0435f0ab-9dfd-4d9d-ae8b-53101d419ac8: No such
file or directory <br>
a@alap:~$ mkdir backup <br>
a@alap:~$ cd /media/a/6fbdc743-fc0f-46e4-aea3-8160914c34ec <br>
a@alap:/media/a/6fbdc743-fc0f-46e4-aea3-8160914c34ec$ mkdir
backup <br>
mkdir: cannot create directory ‘backup’: File exists <br>
a@alap:/media/a/6fbdc743-fc0f-46e4-aea3-8160914c34ec$ <br>
a@alap:/media/a/6fbdc743-fc0f-46e4-aea3-8160914c34ec$ cd <br>
a@alap:~$ rsync -av --delete --exclude=".*/" /home/a/
/media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup <br>
sending incremental file list <br>
rsync: mkdir
"/media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup" failed: No
such file or directory (2) <br>
rsync error: error in file IO (code 11) at main.c(675)
[Receiver=3.1.2] <br>
a@alap:~$ <br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org" moz-do-not-send="true">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" moz-do-not-send="true">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
</blockquote>
<br>
</blockquote>
</body>
</html>