Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
for some reason, the above isn't working.. it creates the directory path just fine, as well as changing the permissions to 0777.. before i added the chmod line though, the permissions stuck at 0755 for some reason.. anyway, I can't get chown to work, it never changes the owner.use File::Path; mkpath("../../categories/$cat", 0, 0777); chown 1540, 1540, "../../categories/$cat"; chmod 0777, "../../categories/$cat";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: change owner & mod
by fs (Monk) on May 31, 2001 at 22:58 UTC | |
|
Re: change owner & mod
by Anonymous Monk on May 31, 2001 at 23:01 UTC | |
|
Re: change owner & mod
by bluto (Curate) on May 31, 2001 at 23:50 UTC |