Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Re: How do I know if I can delete a file/folder?

by greenFox (Vicar)
on Jul 26, 2002 at 09:04 UTC ( [id://185469]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: How do I know if I can delete a file/folder?
in thread How do I know if I can delete a file/folder?

Not complete, you must also have write permissions on the file. What if the directory is 777 but he file is 644 and owned by root or file is owned by you and is 444?

Nope on unix if you have write permission to the directory you can delete the file, even if it is owned by root and not even readable by you, on Solaris it comes up with a "override protection 600" prompt and then it is gone, tested on BSD and Linux as well.

--
Until you've lost your reputation, you never realize what a burden it was or what freedom really is. -Margaret Mitchell

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-29 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found