Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Hijacking perl functions

by Nitrox (Chaplain)
on Jul 30, 2004 at 00:13 UTC ( #378559=note: print w/replies, xml ) Need Help??


in reply to Re^2: Hijacking perl functions
in thread Hijacking perl functions

If the user doesn't have the proper perms to chmod the old config how is the script going to relace the old one with the new one?

-Nitrox

Replies are listed 'Best First'.
Re^4: Hijacking perl functions
by mhi (Friar) on Jul 30, 2004 at 06:14 UTC
    Under *NIX file systems you need to have perms on the file to chmod it. To delete it (better: to unlink it), you merely need the right perms on the containing directory. To prevent users that have write-perms on a directory from deleting other users' files, you have to set the so-called sticky-bit on the directory.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://378559]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2021-09-17 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?