in reply to Re: Hijacking perl functions
in thread Hijacking perl functions
Very cool! But not what I'm doing. I have a script that does a chmod on a config file, but if the file is not owned by the user of my script it dies. So, I want to subvert chmod by having it create a new config from the old, replace the old with the new and chmod that file. So in the end the config file would be owned by the scripts user and have the proper perms. I know that this would require read permissions for my user, but in this case that is not an issue as I have control over the file.
Thanks!
Sweetblood
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Hijacking perl functions
by eric256 (Parson) on Jul 29, 2004 at 23:01 UTC | |
by sweetblood (Prior) on Jul 29, 2004 at 23:37 UTC | |
by kryten (Scribe) on Jul 30, 2004 at 10:30 UTC | |
Re^3: Hijacking perl functions
by Nitrox (Chaplain) on Jul 30, 2004 at 00:13 UTC | |
by mhi (Friar) on Jul 30, 2004 at 06:14 UTC | |
Re^3: Hijacking perl functions
by danielcid (Scribe) on Jul 30, 2004 at 12:35 UTC | |
by mhi (Friar) on Jul 30, 2004 at 19:43 UTC | |
by danielcid (Scribe) on Aug 03, 2004 at 13:04 UTC |
In Section
Seekers of Perl Wisdom