Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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?


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?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2023-03-24 06:08 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.