Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Changing registry permissions

by BrowserUk (Pope)
on Nov 22, 2010 at 14:32 UTC ( #872975=note: print w/replies, xml ) Need Help??


in reply to Re: Changing registry permissions
in thread Changing registry permissions

More of your trademark, utterly meaningless "advice".

Replies are listed 'Best First'.
Re^3: Changing registry permissions
by sundialsvc4 (Abbot) on Nov 23, 2010 at 21:31 UTC

    “Trademark” it may be, but “meaningless” it is not.   If you try to fiddle with registry-settings in non-installer programs, you might well find your program swatted-dead by some “anti-virus” bit-cop somewhere.   Here, for instance, if you run such a program ... the program dies, you get logged-off and the corp. security department has to be called to unlock your workstation.

      If you try to fiddle...

      If, when an installer is run, it has the appropriate authority--by virtue of the account it is being run under--to make the changes required, then running a perl program under that same authority, will have those same permissions.

      On the other hand, if the "anti-virus bit-cop" would detect the perl program as unauthorised, then it would also detect an "installer program" as equally unauthorised.

      There is nothing magic about installer programs; they are simply code calling APIs.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://872975]
help
Chatterbox?
[Lady_Aleena]: Discipulus, then that is a problem. I wanted to find total seconds of my entire .mp3 collection to do some math on it to see how many days of continuous music i have.
[LanX]: darn. .. I wanted to see Marine and Melonchon go to next round, just for fun xD
[Discipulus]: LA use Perl: traversing a dir tree is simple; foreach file mp3 $sec+= use Mp3::Info
[Lady_Aleena]: Discipulus, I was able to get the sum of the seconds on the command line using awk. Then I ran the result through a perl script and got the result. It came bach with 4 days, 9 hours, 56 minutes, 43 seconds.
[Lady_Aleena]: s/bach/back/;
[Discipulus]: gired anyway is the intermediate state between hired and fired (and vice versa;)
[Lady_Aleena]: Discipuluis, I don't know if I want to fight with File::Find. File::Find and I are not friends.
[Discipulus]: 4 day Bach is too muche even for me
[Discipulus]: LA you know who is paco?
[Lady_Aleena]: Disc, nope.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-04-23 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.