Jail / Apache / Dataset with ACL / SMB share = AH00035: access to [blah] denied

Crispin

Explorer
Joined
Jun 8, 2011
Messages
85
Hi folks


I've been pulling my hair out with this.
I have:
  • FreeNAS-11.3-RELEASE
  • Newly created and updated jail
  • installed apache24 and php 73
  • A data set (/system/WebSSD) (pic 1 below)
  • Dataset mounted in jail as /mnt/web
  • The dataset shared out with SMB and ACLS wide open (for testing). Pic 2 below
  • When I do an ls -l on the directory I get 777 ('cause I did a chmod 777 for testing) and I see the plux sign in the permissions.

As soon as I set ACLs then apache falls out of love with it and stops reading the files. The error is:

Code:
[Fri Mar 27 20:49:11.825459 2020] [core:error] [pid 55183] (13)Permission denied: [client 10.10.50.93:60690] AH00035: access to /community/index.php denied (filesystem path '/mnt/web/lcc/community/index.php') because search permissions are missing on a component of the path
[Fri Mar 27 20:49:12.343714 2020] [core:error] [pid 55183] (13)Permission denied: [client 10.10.50.93:60690] AH00035: access to /community/index.php denied (filesystem path '/mnt/web/lcc/community/index.php') because search permissions are missing on a component of the path
[Fri Mar 27 20:49:12.589857 2020] [core:error] [pid 55183] (13)Permission denied: [client 10.10.50.93:60690] AH00035: access to /community/index.php denied (filesystem path '/mnt/web/lcc/community/index.php') because search permissions are missing on a component of the path
[Fri Mar 27 20:49:13.004925 2020] [core:error] [pid 55183] (13)Permission denied: [client 10.10.50.93:60690] AH00035: access to /community/index.php denied (filesystem path '/mnt/web/lcc/community/index.php') because search permissions are missing on a component of the path
[Fri Mar 27 20:49:13.420929 2020] [core:error] [pid 55183] (13)Permission denied: [client 10.10.50.93:60690] AH00035: access to /community/index.php denied (filesystem path '/mnt/web/lcc/community/index.php') because search permissions are missing on a component of the path
[Fri Mar 27 21:16:46.753673 2020] [core:error] [pid 55182] (13)Permission denied: [client 10.10.50.93:61095] AH00035: access to /community/g/index.php denied (filesystem path '/mnt/web/lcc/community/g') because search permissions are missing on a component of the path


If I create a new directory which does not have ACLs on then it works fine. I cannot get this to work and what scratching I have done, I cannot find anything which makes sense. Best I've found is to reset everything to 755 but that still does not do anything.


Any help appreciated





Pic1:
1585344375002.png


Pic2:
1585344487069.png
 
Top