<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">I ran the script as sudo</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">It still, for some reason, didn't change the permissions or ownership.
<br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Again, this installation has lived on several different machines and been upgraded several
 times over the years. I'm not surprised there were issues. <br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">I'm sure most (if not all) of the issues were rooted in something I did incorrectly years
 ago to "fix" a problem.<br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">I'm going to verify the ownership and permissions one more time, but I've now been connected
 to the nodes for more than 2 hours. <br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">It was a permission error.<br>
</span></div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Kin <ea3cv@cronux.net><br>
<b>Sent:</b> Monday, February 6, 2023 1:33 PM<br>
<b>To:</b> 'The DXSpider Support list' <dxspider-support@tobit.co.uk><br>
<b>Cc:</b> Kelly Leavitt <kelly@catcorner.org><br>
<b>Subject:</b> RE: [Dxspider-support] Permissions</font>
<div> </div>
</div>
<div style="word-wrap:break-word" lang="ES">
<div class="x_WordSection1">
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt">It is not how it is executed, it is what is executed.</span></p>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt">Just look at the script to see that the permissions assigned are correct as well as the owners.</span></p>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:10.0pt; font-family:Consolas">…</span></p>
<p class="x_MsoNormal elementToProof" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:10.0pt; font-family:Consolas">su - sysop -c "chown -R sysop.spider spider"</span></p>
<p class="x_MsoNormal elementToProof" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:10.0pt; font-family:Consolas">su - sysop -c "find ./ -type d -exec chmod 2775 {} \;"</span></p>
<p class="x_MsoNormal elementToProof" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:10.0pt; font-family:Consolas">su - sysop -c "find ./ -type f -exec chmod 775 {} \;"</span></p>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:10.0pt; font-family:Consolas">…</span></p>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt">If the script encounters a file or directory with the wrong owner, if you are sysop you won't be able to fix it, ergo...</span></p>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt">Kin</span></p>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<b>De:</b> Dxspider-support <dxspider-support-bounces@tobit.co.uk> <b>En nombre de
</b>Kelly Leavitt via Dxspider-support<br>
<b>Enviado el:</b> lunes, 6 de febrero de 2023 19:27<br>
<b>Para:</b> The DXSpider Support list <dxspider-support@tobit.co.uk><br>
<b>CC:</b> Kelly Leavitt <kelly@catcorner.org><br>
<b>Asunto:</b> Re: [Dxspider-support] Permissions</p>
</div>
</div>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
The directions say to run script as root. I may not be smart, but I am obedient. 
</p>
<div>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
</div>
<div id="x_ms-outlook-mobile-signature">
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
Get <a href="https://aka.ms/AAb9ysg" data-auth="NotApplicable">Outlook for Android</a></p>
</div>
<div class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;text-align:center" align="center">
<hr width="98%" size="2" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<b><span style="color:black">From:</span></b><span style="color:black"> Dxspider-support <dxspider-support-bounces@tobit.co.uk> on behalf of Mike McCarthy, W1NR via Dxspider-support <dxspider-support@tobit.co.uk><br>
<b>Sent:</b> Monday, February 6, 2023 1:16:35 PM<br>
<b>To:</b> dxspider-support@tobit.co.uk <dxspider-support@tobit.co.uk><br>
<b>Cc:</b> Mike McCarthy, W1NR <lists@w1nr.net><br>
<b>Subject:</b> Re: [Dxspider-support] Permissions</span> </p>
<div>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
</div>
</div>
<div>
<div>
<p class="x_MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
Everything in the /spider install path should be owned by sysop. You <br>
should really do 'sudo chown -R sysop .'<br>
<br>
Why do you run the upgrade as root? It should be run as sysop to prevent <br>
permissions problems.<br>
<br>
Mike, W1NR<br>
<br>
On 2/6/2023 12:28 PM, Kelly Leavitt via Dxspider-support wrote:<br>
> My installation was an ongoing update from many years ago. I was alerted <br>
> by a fellow sysop that I was seriously out of date.<br>
> <br>
> I tried to run the backup/update script <br>
> (*https://github.com/glaukos78/dxspider_installation_v2/tree/devel <br>
> <<a href="https://github.com/glaukos78/dxspider_installation_v2/tree/devel%3e*" data-auth="NotApplicable">https://github.com/glaukos78/dxspider_installation_v2/tree/devel>*</a>) and
<br>
> found out even my OS was really out of date.<br>
> Updated OS (that alone took two iterations). My site lives on a headless <br>
> VM server so upgrading the OS was a bit of a challenge but I was able to <br>
> do it.<br>
> <br>
> I was then able to run the upgrade script as root, but I still got some <br>
> weird notices about permissions when run.<br>
> <br>
> After a couple of back and forth emails I decided to shut down the site <br>
> and change ownership of everything in the spider directory to sysop.<br>
> <br>
> I changed into the install directory and did<br>
> sudo find . -exec chown sysop {} \;<br>
> <br>
> The I restarted the service. Everything seems to be much more stable now.<br>
> <br>
> I think I'm going to do a clean install on a new instance to verify what <br>
> the permissions on everything should be and clean up the mess I have.<br>
> <br>
> 73 de Kelly, KE2L<br>
<br>
_______________________________________________<br>
Dxspider-support mailing list<br>
Dxspider-support@tobit.co.uk<br>
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" data-auth="NotApplicable">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a></p>
</div>
</div>
</div>
</div>
</body>
</html>