-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Zahid,
On 1/5/20 20:44, zahid wrote: > Why will MS Windows users will never have to deal with issue of > *chmod* ? On Windows, it's called ATTRIB.EXE: C:\> ATTRIB A SH C:\pagefile.sys A SH C:\swapfile.sys Those are separate from the NT ACL, of course. Plus, you can right-click and edit the permissions of any file. But in Windows, how do you for example remove the "archive" bit on all TXT files in a hierarchy? Right-click a million times and make your hand go numb. - From the CLI, it's a single command. Some people like clicking. I like typing. *shrug* > also keep in mind why java command line have three different > options to do the same thing ? > > java -cp > > java -classpath Long and short options. This isn't a *NIX thing (it's Java), but it does hand a long history on *NIX. Although *NIX programs typically use - --option for long-options, otherwise they don't make any sense when mixed-together with short ones. > java class-path This is "java --class-path" which is a proper long-option. - -chris > > On 06/01/2020 01:21, Guang Chao wrote: >> On Sun, Jan 5, 2020 at 9:26 AM zahid <zahidr1...@gmail.com> >> wrote: >> >>> Actually this is *one of many *punishments following the sin of >>> choosing *.nix >>> >>> and not Microsoft Windows. >>> >> Why is it Linux fault? >> >> >>> Have ever heard of "*chmod*" in windows ? >>> >>> MS windows trust you with your machine. >>> >>> You bought it , you paid for it , you own it. >>> >>> >>> although you have many ways of installing software. >>> >>> apt , apt-get yum , blah blah. >>> >>> You need to familiarise yourself with *find / -name java* * , >>> which java* because you have no idea where the installer >>> installed the software you just installed on "your machine", >>> >>> Have ever heard of *which* or *find* in windows ? >>> >>> >>> you can be in a directory in one terminal and delete it form >>> another terminal . >>> >>> Is that linux security feature ? >>> >>> can you do the same in windows ? >>> >>> what are others benefits you can enjoy in MS Windows because of >>> this particular behaviour is not same in MS Windows ? >>> >>> After you deleted the directory you are in from somewhere else >>> you will end up in trash literally. >>> >>> why is this same unique behaviour in Unix which came after >>> Linux. >>> >>> >>> you see anything what's wrong with this ? can you see the >>> missing the /r /n >>> >>> manifest.txt >>> >>> Main-Class:/classname / >>> >>> why does manifest.text must have /r {carriage} or /n >>> {newline}. >>> >>> Is it because jvm.dll it was written in C. C programming >>> language also has the same feature. >>> >>> >>> why is there three ways to do same thing ? >>> >>> java - cp >>> >>> java - classpath >>> >>> java - class-path >>> >>> >>> >>> www.backbutton.co.uk ¯\_(ツ)_/¯ Marry loose with tight coupling >>> = healthy applications >>> >>> On 04/01/2020 22:51, Emmanuel Bourg wrote: >>>> Le 04/01/2020 à 16:06, Pham Huu Bang a écrit : >>>> >>>>> Thanks for this link >>>>> >>> https://salsa.debian.org/java-team/tomcat9/blob/master/debian/README .Debian >>> >>> >>> . >>>>> But I cannot *read* the file from /tmp (not *write* file to >>>>> /tmp). The strange thing is, it can read another file from >>>>> another location, e.g in /opt/: >>>> The tomcat9 service is configured with a private /tmp >>>> directory (using the 'PrivateTmp=yes' systemd directive). So >>>> Tomcat can't see what other applications write to /tmp, and >>>> temporary files written by Tomcat are out of reach from the >>>> other applications. >>>> >>>> This is a security hardening setting that can be overridden >>>> as described in the README file Olaf mentioned. >>>> >>>> Emmanuel Bourg >>>> >>>> ------------------------------------------------------------------- - -- >>>> >>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>>> For additional commands, e-mail: >>>> users-h...@tomcat.apache.org >>>> >>> -- www.backbutton.co.uk ¯\_(ツ)_/¯ Marry loose with tight >>> coupling = healthy applications >>> >>> -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl4TXekACgkQHPApP6U8 pFgM2hAAtbhH+QpOYePOu1iOWOOxQ2x40oOfz0enD18J6E7/uGA8Sm1331SKyvJ0 amU+C1faX7srin5EHvzFizDRicKzLGRonClypdqbezZ/grLQATMVBEbl4AnEvvPu rOEOe+dwZ57l38/39qY3RQjDF67zqEsUb2mACH1oq5QemjRKLcEiXIlPAqzzGu/L 8I/nz0ibnp5sQAAxvuG1qYfNCoN8d/PO9KyJHIFGSEnKzaJcYewX/KZGX7CHNEHT wHuxPiKAbwORELmVEsiQI/d5dL3nqnpDu/tEUzvpjVUILLSRTk51mCR20t+zfeNO 3YpCbWPQNGEcqgg3DDqSyUtOpnSt1xE35wII1Zfq9M94tqP2cCFYKYOMEvTUKIGU Fg8xENrdV5OvVr9eHls7FV32pQ4ZnH4/BdmsoAhL1+UZmysSPBJgyz9ySok0cFXU SJ/eF8iFZktglWncf9PliuRtL5G3eVvpZR3XlKC9Bz3WrQuL9LPLGmbh19WL0/hB G2grN+HLSBPqJbqY9c3qymfQX+pYeSl8R5ZkTzCP7DG+SJ+wosVARrggAYBveR8E bGWQGw1NlyEuMKlPOvkSc946cB2Syg8OdvRfmw8OSHYD7QEEv/cOVen15/a6FQiT jAV/yrsxH8lPfWlCSJl9POq0gGQ7euyZSiDhy/MjulyatP/ZX6s= =V6a2 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org