in reply to chmod for cgi
Well, chmod works in CGI scripts the same as anyplace else. There are complications in some flavors of *nix (e.g., ACLs in HP-UX), but basically, the process calling chmod needs to be the same owner as the target directory. The issue is not how chmod works; what usually trips up attempts like this is one of two things:
Figure out these two and you will probably fix the problem. If not, there may be deeper issues. In that case, post another question.
|
|---|