Location of CasperShare in the Linux filesystem.

AARP
New Contributor III

I am migrating 9.98 JSS from Mac to a Linux server and I am having problems with the web server getting "Forbidden" when I try to download a package from it. Can you tell me:

  1. What path do you use (what location in the filesystem) for your CasperShare directory?
  2. What permissions do you have set on your CasperShare?
  3. How do you have your httpd.conf (or ssl.conf) file configured to point to the CasperShare?

Bob Reed

5 REPLIES 5

sdagley
Honored Contributor II

@AARP Usually you don't want to run your JSS on the same machine as your Distribution Point (DP) which is where you'd host a CasperShare file share. Where that lives on your file server depends on how you have your SMB service configured. As for permissions, you need 2 different accounts for your JSS to access your CasperShare directory - one with Read/Write access, and one with Read Only access. Those accounts, and your DP configuration, are set in the Server Infrastructure -> File Share Distribution Points settings in your JSS.

MacSysAdmin
Contributor

Which Linux Operating System are you using? When permissions are mentioned specific read and write permissions need to be granted by the file system to the apache web service. How those permissions are configured differ depending on Linux flavor.

AARP
New Contributor III

The Linux OS being used here is RHEL 7.1. I've given the share read/write to casperadmin and read-only to casperinstall.

Kedgar
Contributor

Does this help?

[root@crookshanks ~]# ls -alh /usr/local/jds/
total 8.0K
drwxr-xr-x   6 root   root   53 Apr 28  2016 .
drwxr-xr-x. 13 root   root 4.0K Mar 10  2016 ..
drwxr-xr-x   2 root   root 4.0K Jul 13  2015 certs
drwxr-xr-x   2 root   root   66 May 12 11:53 conf
drwxr-xr-x   2 root   root  129 Aug  5 09:05 logs
drwxr-xr-x   5 apache root   76 Jul 13  2015 shares

Kedgar
Contributor

You know, looking at perms in /usr/local/jds/shares/CasperShare, they are all over the place though. Some owned by root, some owned by apache. Some executable, most not (not sure why they would have executable bits turned on though!). I don't seem to have any issues with it right now though.

Here's a sample of those files:

[root@crookshanks ~]# ls -alh /usr/local/jds/shares/CasperShare/
total 92G
drwxr-xr-x 2 apache     80  20K Aug  4 15:17 .
drwxr-xr-x 5 apache root     76 Jul 13  2015 ..
-rw-r--r-- 1 root   root   190M Apr 12  2012 ABBYY FineReader Express.dmg
-rw-r--r-- 1 root   root      0 Nov 10  2015 .ABBYY FineReader Express.dmg.2C519B8AEC23E9E0016757CC72807C06
-rw-r--r-- 1 root   root   138M Jun 12  2014 Acrobat Update 10.1.10.pkg
-rw-r--r-- 1 root   root      0 Nov 10  2015 .Acrobat Update 10.1.10.pkg.EF8C0CC8FBF802E01B15C2CF2B452790
-rw-r--r-- 1 apache root   1.1G Jul 28 14:11 Acrobat XI_Install.pkg.zip
-rw-r--r-- 1 apache root      0 Jul 28 14:11 .Acrobat XI_Install.pkg.zip.6E8BB5A3CFDF5AFAC87A7DE0AE29799F
-rw-r--r-- 1 apache root   1.8M May 22 15:43 Acrobat XI_Uninstall.pkg.zip
-rw-r--r-- 1 apache root      0 May 22 15:43 .Acrobat XI_Uninstall.pkg.zip.EE8B27EEF46A0F9BBE8F481C5D971EEF
-rwxr-xr-x 1 root   root   432M Nov 25  2009 Adobe Acrobat 8 Professional.dmg
-rw-r--r-- 1 root   root      0 Nov 10  2015 .Adobe Acrobat 8 Professional.dmg.9D5697750DA50F51AE7A4532FAFAD3FB
-rwxr-xr-x 1 root   root   560M Aug 26  2010 Adobe Acrobat 9.dmg