Re: modifing existing Excel cells using perl in Unix possible?
- From: usenet@xxxxxxxxxxxxxxx
- Date: 11 May 2006 11:04:50 -0700
On the AIX OSes that I use, a simple `cp file1 file2` will not keep the
file permissions, however, I need to use `cp -p file1 file2` to keep the
permissions.
Oh, really? What sort of AIX are you using to say that? Consider:
$ uname -M
IBM,9111-520
$ oslevel -r
5300-03
$ umask
022
$ ls >test.txt
$ ls -l test.txt
-rw-r--r-- 1 stuv stuv 28274 May 11 10:53 test.txt
$ chmod 755 test.txt
$ ls -l test.txt
-rwxr-xr-x 1 stuv stuv 28274 May 11 10:53 test.txt
cp test.txt test2.txt
$ cp test.txt test2.txt
$ ls -l test2.txt
-rwxr-xr-x 1 stuv stuv 28274 May 11 10:56 test2.txt
Hmmm. Looks like my AIX 5.3 system managed to preserve the permission
bits with a simple 'cp' command.
The problem with File::Copy is that the syscopy routine is the same as
the copy routine for UNIX machines. Abagail is correct - that is drain
bamaged.
--
http://DavidFilmer.com
.
- Follow-Ups:
- References:
- modifing existing Excel cells using perl in Unix possible?
- From: dd007
- Re: modifing existing Excel cells using perl in Unix possible?
- From: jmcnamara
- Re: modifing existing Excel cells using perl in Unix possible?
- From: dd007
- Re: modifing existing Excel cells using perl in Unix possible?
- From: Ben Morrow
- Re: modifing existing Excel cells using perl in Unix possible?
- From: Abigail
- Re: modifing existing Excel cells using perl in Unix possible?
- From: DJ Stunks
- Re: modifing existing Excel cells using perl in Unix possible?
- From: Abigail
- Re: modifing existing Excel cells using perl in Unix possible?
- From: l v
- modifing existing Excel cells using perl in Unix possible?
- Prev by Date: Re: Case-insensitive matching on compiled regex?
- Next by Date: Q: How to improve CGI performance for this?
- Previous by thread: Re: modifing existing Excel cells using perl in Unix possible?
- Next by thread: Re: modifing existing Excel cells using perl in Unix possible?
- Index(es):
Relevant Pages
|
|