Hi,

When using wget ftp://XXX, is it intentional to preserve server
permissions when using wildcards?

Please compare the file permissions of these 2 downloads:

wget ftp://updates.redhat.com/7.2/en/os/noarch/diskcheck*rpm
wget ftp://updates.redhat.com/7.2/en/os/noarch/diskcheck-1.1-1.noarch.rpm

The first wget gives file permissions of 664 (same as updates.redhat.com)
The second one gives file permissions of 644 (following local umask)

I tried this with
wget 1.8.1  linux and solaris
wget 1.7    linux
and got the same results for all.

This is undesirable since I am not using a group private system.

Thanks,
Krish



Reply via email to