mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2018-04-06, 18:56   #12
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Quote:
Originally Posted by ATH View Post
I always thought that it is more logical to first search in the folder you are currently in before looking everywhere else on the system. But that might be because I am a Windows guy.

An analogy is that you check all your pockets for a missing item without checking what you are actually holding in your hand.
It is considered a major security risk on *nix. https://superuser.com/questions/1565...ath-by-default

Last fiddled with by Dubslow on 2018-04-06 at 18:58
Dubslow is offline   Reply With Quote
Old 2018-04-06, 20:42   #13
M344587487
 
M344587487's Avatar
 
"Composite as Heck"
Oct 2017

22·32·23 Posts
Default

Quote:
Originally Posted by ATH View Post
I always thought that it is more logical to first search in the folder you are currently in before looking everywhere else on the system. But that might be because I am a Windows guy.

An analogy is that you check all your pockets for a missing item without checking what you are actually holding in your hand.
A properly configured nix system is beautifully ordered, it makes sense to me that you can trust in that order. With the quagmire that is windows registry, multiple directory trees and who knows what else, I'm surprised the laptop I'm typing this on doesn't implode as I type :P
M344587487 is offline   Reply With Quote
Old 2018-04-07, 10:17   #14
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

25C016 Posts
Default

Quote:
Originally Posted by Dubslow View Post
It is considered a major security risk on *nix. https://superuser.com/questions/1565...ath-by-default
Which is extremely silly, and easy to cheat, that is nothing "major" in it, and it restricts the "liberty" of the user, in the sense that in windoze I can put all my tools in the current folder and run them *locally* from there without having any idea of other files existing in the system or path that may have same names and do different things. Having tools with the same name in the path, that will execute *before* my tools I put in my folder, THAT is a security risk! The job of restricting my local tools to accessing other things than my folder, etc., it the job of the operating system. The fact that both the *nix and windoze make a very lousy job here, this is another discussion. But even if you think C++ and variant, every "class" has its own local, private methods, which are executed from inside the class, before other global methods with the same name be executed. THIS is secure. It should work in the same way as with the processes, where a "local" process can not access the "protected" or "private" memory of "global" processes. So, let me run my local tool, called "ls" or "dir" or "cat" or whatever, before calling a tool which I have no idea about, which is in another folder, and done by some unknown guy.

Edit: when I say "before" I understand that in exclusive order. "A" is executed "before B", means that only A is executed, and not "A, then B". The OS will preferably call A, and not B, if A is in my local folder, and B is wherever else in the path.

Last fiddled with by LaurV on 2018-04-07 at 10:28
LaurV is offline   Reply With Quote
Old 2018-04-07, 10:30   #15
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

You can always modify your path to do exactly that. Nothing stopping you.
Dubslow is offline   Reply With Quote
Old 2018-04-07, 10:57   #16
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

26·151 Posts
Default

True. Then, where is the major improvement of the major security risk? Either way has advantages and disadvantages, and it is arguable. You put a lock on my door, but are giving me the key. This way you don't stop me entering the house, just make the process annoying for me, which I have to enter the house every day.

Last fiddled with by LaurV on 2018-04-07 at 10:58
LaurV is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install mprime on Ubuntu Server Salamander89 Software 3 2011-07-28 15:51
How Do I Make Mprime Work In Ubuntu?? hesdeadjim Software 4 2010-01-01 19:03
How to Run mprime on Ubuntu Jaunty as daemon? Unregistered Information & Answers 1 2009-08-01 02:02
Ubuntu Server Crashes when running mprime 257 roemer2201 Software 9 2008-12-05 18:47
mprime under Ubuntu? Unregistered Linux 8 2007-11-23 23:03

All times are UTC. The time now is 23:28.


Fri Aug 6 23:28:28 UTC 2021 up 14 days, 17:57, 1 user, load averages: 3.48, 3.84, 3.96

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.