LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-09-2018, 11:09 AM   #1
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 195

Rep: Reputation: Disabled
dmg file download issue


Having issues with a dmg download.
On 1 rhel 6.9 server, it downloads fine in all browsers.
On a second rhel 6.9 server, it downloads in firefox(windows, mac, and rhel), but no other browsers.

The acl are not identical between the 2 servers for the directories, but it seems to me that if Firefox and download it, then it may not be a permissions issue?
 
Old 10-09-2018, 12:07 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,767

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
What is your question, please?
Are you downloading FROM the servers? Or running browsers on them and downloading TO them ?
 
Old 10-09-2018, 12:35 PM   #3
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 195

Original Poster
Rep: Reputation: Disabled
Sorry, downloading from a rhel 6.9 server. Firefox will download it, other browsers give a massive page of jumbled characters and a few letters hear and there.
 
Old 10-09-2018, 01:42 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,767

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
If it will work from one browser only, then the other browsers must be mis-configured OR there is a problem with the file being downloaded.

Can't help more as you've given no details.
What are you trying to download? What is the URI?
Please explain what you're trying to do in detail.
 
Old 10-09-2018, 10:21 PM   #5
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 195

Original Poster
Rep: Reputation: Disabled
Well, it is a printer install dmg file for macs. I can't give the url as you can't get to it. It is only accessible on the company network.

Basically, a person clicks the url, it asks to download the dmg. It works fine in firefox.
It does not work on chrome/ie/safari. I don't have the ability to do a screen shot at this time, but this is a snippet of what happens:

���t�h�:a��H���Qxm҄Z�C���er*�ײ�PSN�t �h�R �C" q<�vK���ʹx�ŀa<)��FEA~1����(�b(/�F:���2�X�<��P.���sjg\OYL�u� ����U��;s�����ou� ��P�IS �� ��1DD�0�`(�u����.�b��FG �N�f0��
�tV�LV61�)��:P'L3�d�LvJ��,�
�=��iuJ��P� @PF�-
�������AC�?�D��;�\}]]�m��Z���Y+�8"
H/��t�����(FF@&F?�:a��PH�@4 �A� @ ��A�߆��,��L�B�H}g��A-v:�h��H��f5�Ʀ ���{.�R�����C������ ���"�Aչ�����E^�t�|��Y���K�7Z8[�`�����i�>�j��ޡV���<Y�w�T�:3�ԫ�q:����lG�Gk�M��R�rCD��Y�8���IA��wk�HՔo�1�ָ�7ׯ��e}��viU},t 4�/�+��q[��/aE#��Lb�����W�y�w��]Ӭ�v��3�8pj��=g�ծg�c��z94y>�2,fi��u.�׭O_�2=9g�]v�ʱ�w�4�
4�5�c������wL3r��'߫Z�?ɢ"�^��;
�KW��ɴH����1��ʙ[������̣�a���i,��l9��n��b���
wnX�t�0��✛CW�̙�t�ZʹkN�Tݳ����� qۋ/�\�y愆��.˻�{���:���j�
+�o�Br�cXI��������bV;��������E�]����xB���y�s���������ܖ}�mk|+�Z��z:ʴ<��8y�Z��I��V�[��Jl�g���#~��Yo� >��a�=�k��������p����ͅ��VL�|�r��͟�ܪ55� ufG��9/.J���ႈ�l�K' uN,<�Mu~M�_ʾ\�x�n�Qϵ��R��O|ѥ<�}��[�?qq�nۘ� �zL? V`M�
��ّb�� ��A� @ ��A� �C�����z7N����Dii���#-�_��fy���yÏ���}��޴>N�����#�Yd��]��}���A� @ ��A� @ ��p��w�����Feن\��� ��f#uBι��?�K��6��f�j��A� @ ��A� �
8�?��/
^t5����1f��������g��#��������A� @ ��A� ��F�c����ϳ�n��@�P�>�<�h������'s��t��� �u���� �}��� ��A� @ ��A� �?C�c�����]�ߞ����l�K�]��[��p;�ý�}�=�m9���W7��a��zҼ�
q���H�@!��.q����N� ��A� @ ��A� �D�c����*�w�������ot:,$�����74"s��ɳC�E ��A� @ �
���skJ�.i���8b�؀���͜2�)q�!ǦL��(e���lW�vc��W7'�����AJ!��A� @ �����px��f`i``d04�3`��kk�\�p�

�Al f��'��Z�H,f� ���DOoJ��T��pSpꃨ'D^�*�a^ f�� >��ż�@C@�PÊh���H=�����<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>resource-fork</key>
<dict>
<key>blkx</key>
<array>
<dict>
<key>Attributes</key>
<string>0x0050</string>
<key>CFName</key>
<string>whole disk (Apple_HFS : 0)</string>
<key>Data</key>
<data>
bWlzaAAAAAEAAAAAAAAAAAAAAAAAADewAAAAAAAAAAAA
AAgI/////gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAIAAAAg6mmmaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAHgAAABQAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA
AAAAAAAAAAAAAAAeZIAAAAUAAAAAAAAAAAAACAAAAAAA
AAAIAAAAAAAAAB5kAAAAAAAK9y6AAAAFAAAAAAAAAAAA
ABAAAAAAAAAABdgAAAAAAAsVkgAAAAAAB829AAAAAgAA
AAAAAAAAAAAV2AAAAAAAACHWAAAAAAAS408AAAAAAAAA
AIAAAAUAAAAAAAAAAAAAN64AAAAAAAAAAQAAAAAAEuNP
AAAAAAAAAHwAAAACAAAAAAAAAAAAADevAAAAAAAAAAEA
AAAAABLjywAAAAAAAAAA/////wAAAAAAAAAAAAA3sAAA
AAAAAAAAAAAAAAAS48sAAAAAAAAAAA==
</data>
<key>ID</key>
<string>0</string>
<key>Name</key>
<string>whole disk (Apple_HFS : 0)</string>
</dict>
</array>
<key>plst</key>
<array>
<dict>
<key>Attributes</key>
<string>0x0050</string>
<key>Data</key>
<data>
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAA
</data>
<key>ID</key>
<string>0</string>
<key>Name</key>
<string></string>
</dict>
</array>
</dict>
</dict>
</plist>
koly���������������������������������������������������������,�J�"A㛸�������� ��������������������������������������������������������������������������������������������������� ����������������������������������������� ��������������������������������������������������������� ���������������������������������������������������������������������� d�|������������������������������������������������������������������������������������������������� �������������������������������������7�������������
 
Old 10-10-2018, 12:06 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
right click, save as.... not working?
 
Old 10-10-2018, 12:28 PM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,767

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by vinmansbrew View Post
Well, it is a printer install dmg file for macs. I can't give the url as you can't get to it. It is only accessible on the company network.

Basically, a person clicks the url, it asks to download the dmg. It works fine in firefox.
It does not work on chrome/ie/safari. I don't have the ability to do a screen shot at this time, but this is a snippet of what happens:
So the url in the address bar after clicking is prefaced with ftp:// rather than http:// ?

That's what we need to know. We don't need the actual uri...

Clicking a link won't normally initiate a download. There are several ways to make that happen. We need to know which is being used.

Javascript maybe?
 
Old 10-11-2018, 08:27 AM   #8
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 195

Original Poster
Rep: Reputation: Disabled
It is an https://

I have tried playing with permissions and acl and the url does the same thing. Works in FF, but no other browser. The only difference between the old server and new server on acl is there are additional users listed on the new server, otherwise, they are the same. It just doesn't seem to be permissions. So, permissions down to /var, appear to be fine.

Oh, and so I answer it, the hyperlink to click on, does not offer a right click, save as.
 
Old 10-12-2018, 08:20 AM   #9
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 195

Original Poster
Rep: Reputation: Disabled
I thing I am going to do is see if I can get the original dmg, and copy it to the server, myself. Maybe the file got corrupted in some weird way?
 
Old 10-25-2018, 10:16 AM   #10
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 195

Original Poster
Rep: Reputation: Disabled
So, I got the original installer and I am going to upload it myself. However, I just wanted to bump this up and see if anyone has any other ideas yet.
 
Old 11-01-2018, 08:27 AM   #11
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 195

Original Poster
Rep: Reputation: Disabled
So, to close this out, and for possible use by someone else, I fixed this by putting this line:

AddType application/octet-stream .dmg

Into the .htaccess file for my site.

A person might have to clear their browser cache, but this took care of it for me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount .dmg file in Linux. hack3rcon Linux - Software 4 07-27-2017 03:18 PM
how to convert dmg file to iso file on ubuntu 11.04 jack_green Ubuntu 4 10-06-2011 11:03 AM
How do I properly mount a DMG file on ubuntu? iBasher Linux - Newbie 4 07-30-2011 01:45 PM
can't convert .dmg file to iso baronobeefdip Linux - Software 2 02-21-2011 08:43 AM
running the apple sdk on linux a .dmg file hoosierfan24 Linux - Software 0 05-23-2009 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration