Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Removing users from a directory

by earthboundmisfit (Chaplain)
on Jan 10, 2003 at 15:29 UTC ( #225822=note: print w/replies, xml ) Need Help??

in reply to Removing users from a directory

You need to define "using the files" more fully. If you simply mean that no other user should have read/write access to the files while User A is doing something to the directory through a Perl script, then file locking by means of a semaphore file is the best way to handle this. If you mean that no one else can have access to the files via any means, you will need to set permissions on an OS level. For Win32, this is done with a module: Win32::FileSecurity

For a good example of semaphore file locking have a look at this node


---- I am what I read

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-08-17 19:27 GMT
Find Nodes?
    Voting Booth?

    No recent polls found