emilford has asked for the wisdom of the Perl Monks concerning the following question:
Neither one of these change the permissions. Basically, I'm not sure how to change the file permissions from within the script. There has to be a simple way and I'm just missing something.chmod 0666, file.txt; #tried this way system("chmod 666 file.txt"); #and this way
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: create file - permission problems
by webadept (Pilgrim) on Apr 01, 2002 at 07:45 UTC | |
|
Re: create file - permission problems
by rjray (Chaplain) on Apr 01, 2002 at 07:56 UTC | |
|
Re: create file - permission problems
by mla (Beadle) on Apr 01, 2002 at 16:13 UTC | |
|
Re: create file - permission problems
by emilford (Friar) on Apr 01, 2002 at 21:32 UTC |