Re: File Permissions

2003-09-07 Thread Todd W.
"Greenhalgh David" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > You have left out some details, but from what I read above, this is > > not a > > perl issue. > > > > To clarify, you have a perl script that creates a text file. You then > > open a > > browser that downloads a Jav

Re: File Permissions

2003-09-07 Thread Gavin Laking
On Sun, 7 Sep 2003 17:25:20 + Greenhalgh David <[EMAIL PROTECTED]> wrote: > > psuedo > chmod 777 textfile.txt > open textfile.txt for write > write to the textfile.txt > close textfile.txt > chmod 644 textfile.txt > end psuedo Maybe: sysopen('FILE', "./textfil

Re: File Permissions

2003-09-07 Thread Owen
On Sun, 7 Sep 2003 17:25:20 + Greenhalgh David <[EMAIL PROTECTED]> wrote: > psuedo > chmod 777 textfile.txt > open textfile.txt for write > write to the textfile.txt > close textfile.txt > chmod 644 textfile.txt > end psuedo well you can try psuedo system("ch

Re: File Permissions

2003-09-07 Thread Greenhalgh David
On Sunday, September 7, 2003, at 08:31 AM, Octavian Rasnita wrote: Read: perldoc -f chmod It isn't working. $cnt=chmod 0644 'textfile.txt'; after running, textfile.txt is still -rw-rw-rw- Is this command possible as the WWW user when running the CGI? Dave -- To unsubscribe, e-mail: [EMAIL

Re: File Permissions

2003-09-07 Thread Greenhalgh David
On Sunday, September 7, 2003, at 08:31 AM, Octavian Rasnita wrote: Read: perldoc -f chmod Thanks for that, checked it on the web as I didn't get an entry on my local perldoc (which is why I asked here! Is that new to 5.8? I'm on 5.6, the target server is 5.3. Dave -- To unsubscribe, e-mail:

Re: File Permissions

2003-09-07 Thread Octavian Rasnita
Read: perldoc -f chmod - Original Message - From: "Greenhalgh David" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 07, 2003 9:08 AM Subject: File Permissions > Hi All, > > I have a script which, amazingly, is doing exactly what

Re: File Permissions

2003-09-07 Thread Greenhalgh David
You have left out some details, but from what I read above, this is not a perl issue. To clarify, you have a perl script that creates a text file. You then open a browser that downloads a Java applet from a remote server. You want this applet to read the local file. Correct? If so, then everyt

Re: File Permissions

2003-09-07 Thread Todd W.
"Greenhalgh David" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi All, > > I have a script which, amazingly, is doing exactly what it is supposed > to do. It is taking user input, processing it and, over several > iterations of the script, building a text file on the server. The

File Permissions

2003-09-06 Thread Greenhalgh David
Hi All, I have a script which, amazingly, is doing exactly what it is supposed to do. It is taking user input, processing it and, over several iterations of the script, building a text file on the server. The text file itself is used as the input to a Java applet. All works fine on my local ma

file permissions

2001-11-22 Thread Wagner Garcia Campagner
Hi, I'm trying to copy a file to another preserving the file permissions (i'm using NT 4.0). I'm using File::Copy; But when i copy a file to another the new file do not get the same permissions as the old one... I'm also trying to use syscopy ($file1, $file2); but i got n

file permissions

2001-11-20 Thread Wagner Garcia Campagner
Hi, I'm trying to copy a file to another preserving the file permissions (i'm using NT 4.0). I'm using use File::Copy; But when i copy a file to another the new file do not get the same permissions as the old one... I'm also trying to use syscopy ($file1, $file2);

rename((1,2) and file permissions

2001-11-09 Thread David Gilden
Hello, what is causing the renamed file to take permissions of 755 instead of 644? -- am I doing this correctly -- there will be only one user of the script .. do I need 'file lock' here? Thanks to Bob Showalter for the formatting info on 'strftime' "man 3c strftime" --> http://www.cs.princeto