<div dir="ltr"><div><div>Yes, permissions shouldn't get changed out of the blue, but sometimes crap happens. Suddenly, a filePro report that prints out paychecks doesn't and people are freaking out. Running setperms fixes it. Good. People get paid and you now know where to start looking for a root cause. It is a tool that can be a godsend or a crutch. This is not a script that should be run on a regular basis, but it can get stuff straightened out quickly if some idiot mangles the permissions.<br><br></div>I agree that running dxmaint -ra every night is a crutch. Something is making a mess and the best solution is to find out why rather than applying a band-aid nightly. Until the problem is found, people can continue to get work done.<br><br></div>Laura Brody<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 16, 2017 at 2:18 PM, Fairlight via Filepro-list <span dir="ltr"><<a href="mailto:filepro-list@lists.celestial.com" target="_blank">filepro-list@lists.celestial.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Sep 16, 2017 at 01:06:55AM -0400, Laura Brody via Filepro-list thus spoke:<br>
<span class="">> Writing the setperms script was one of my better ideas. I can't begin to<br>
<br>
</span>It's a curse and a blessing. More curse than blessing, IMNSHO.<br>
<br>
Permissions should never 'accidentally' get whacked. If someone is<br>
whacking them, they should be forced to find the root cause. The only<br>
time some people learn is when they're forced to pay for something, be it<br>
financially or in time spent.<br>
<br>
Having a crutch to rely upon to quick-'fix' the permissions is thus more<br>
harm than good, in the long run. It encourages people to do things they<br>
shouldn't be doing.<br>
<br>
Sure, it's convenient, but at the cost of learning to do things the proper<br>
way, because there's zero incentive with that crutch readily accessible.<br>
<br>
Automation is supposed to be reserved for handling -necessary- repetitive<br>
tasks. Fixing file permissions which should never unintentionally be<br>
altered is neither something which should be repetitive, nor something<br>
which should be necessary.<br>
<br>
The next worst offender in the filePro world is -ra on dxmaint. I know<br>
people who rebuild their indexes every night via cron, whether they need<br>
to or not. This should never have been allowed to become 'a thing'.<br>
The company should have been forced to fix the index problems which<br>
necessitated it in the first place, long before this became a habit for a<br>
lot of people.<br>
<br>
At least in the case of indexes, it wasn't users' faults. The same can't<br>
be said of file permissions changing.<br>
<br>
If you go back to the old saying about giving a man a fish versus teaching<br>
a man to fish, setperms is 'teaching' a man how to 'fish' with a twenty<br>
megatonne tactical nuke. It might do the job, but in the end it's really<br>
not a good practise.<br>
<br>
mark-><br>
<span class="HOEnZb"><font color="#888888">--<br>
Audio panton, cogito singularis.<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.<wbr>com</a><br>
Subscribe/Unsubscribe/<wbr>Subscription Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" rel="noreferrer" target="_blank">http://mailman.celestial.com/<wbr>mailman/listinfo/filepro-list</a><br>
</div></div></blockquote></div><br></div>