Loosing permissions on downloads

(imported topic written by jrbast)

Here is an example of some test files, a .tar file and extraction of the tar file on different client endpioints

Notice the resulting permissions or changes to them… Seems files extracted from the .tar file are ok, but directory created is not. This seems to have started at version 9, not don’t know for sure. I can scp files and untar outside of IEM without issue. Anyone else experience this?

Downloads are processed in my action script using the following:

begin prefetch block

 add nohash prefetch item url=http://cbclnxadmin/ks/testfile.txt



 add nohash prefetch item url=http://cbclnxadmin/ks/testfile.tar

end prefetch block

After downloading, I tar -xf the testfile.tar

Source files:

drwxr-xr-x 2 root root 4096 Jan 29 08:47 testdir

-rwxr-xr-x 1 root root 38 Jan 29 08:40 testfile1.txt

-rwxr-xr-x 1 root root 38 Jan 29 08:40 testfile2.txt

-rw-r–r-- 1 root root 10240 Jan 29 08:48 testfile.tar

-rwxr-xr-x 1 root root 38 Jan 29 08:39 testfile.txt

./testdir:

total 4

-rwxr-xr-x 1 root root 38 Jan 29 08:47 testfile3.txt

Target files: OEL 5.7, 5.10, Solaris 9 (9.0.787.0)

drwx------
2 root root 4096 Jan 29 08:50 testdir

-rwxr-xr-x 1 root root 38 Jan 29 08:40 testfile1.txt

-rwxr-xr-x 1 root root 38 Jan 29 08:40 testfile2.txt

-rw-------
1 root root 10240 Jan 29 08:50 testfile.tar

-rw-------
1 root root 38 Jan 29 08:50 testfile.txt

./testdir:

total 4

-rwxr-xr-x 1 root root 38 Jan 29 08:47 testfile3.txt

Target file: AIX 5.3, 6.1, (9.0.787.0) OEL 4.8 (8.2.1409.0)

drwxr-xr-x 2 root system 256 Jan 29 08:54 testdir

-rw-r–r-- 1 root system 10240 Jan 29 08:54 testfile.tar

-rw-r–r--
1 root system 38 Jan 29 08:54 testfile.txt

-rwxr-xr-x 1 root system 38 Jan 29 08:40 testfile1.txt

-rwxr-xr-x 1 root system 38 Jan 29 08:40 testfile2.txt

./testdir:

total 8

-rwxr-xr-x 1 root system 38 Jan 29 08:47 testfile3.txt