Does fileperms() work on directories, or just files? Otherwise, how can I get the permission of a directory?
Printable View
Does fileperms() work on directories, or just files? Otherwise, how can I get the permission of a directory?
Yes, it will!
Nevermind, I fixed my problem. I had a typo in my code and it kept displaying the wrong permission for the directory. :eek: :o