FAMP permission denied | TrueNAS-13.0-U5.3 | Jail 12.4-RELEASE-p7

basnek

Dabbler
Joined
Feb 2, 2023
Messages
20
Hello everyone,
I have a problem as a result of being new to this topic and I would like to know if anyone of you could help me.

I have previously read information but I have not been able to find what I need.

It should be noted that until a few months ago I had an environment set up since 2017 with FreeNAS and I was forced to migrate to TrueNAS and now that everything has been reconfigured, I find myself with a need that I had previously resolved and that now I cannot find the solution.

TrueNAS-13.0-U5.3
SuperMicro X8DTL-3
Processor (CPU) - 2 x Intel Xeon CPU E5620 @2.40GHz
Threads: 16
24 GB RAM
4 HD x 4TB

My system is made up of a series of datasets within the pool. One of them oriented to work.

Access from Windows and Linux terminals to the dataset is correct and you can create folders, files, modify them, delete them. I have been able to work and organize information without problems.

Now, since I work in web development, I have created a Jail and implemented FAMP in it and this is where the problems arise.

When creating a Vhost that must read from a particular folder I always get a 403 error and it is probably due to a permission configuration error.
# cat /usr/local/etc/apache24/extra/httpd-vhosts.conf
<VirtualHost *:58038>
DocumentRoot "/sites/creativat/dev/mcm.info/web/httpdocs"
ServerName xxxxxx.dynu.net
ErrorLog /sites/creativat/dev/mcm.info/web/httpdocs/logs/error_log
CustomLog /sites/creativat/dev/mcm.info/web/httpdocs/logs/access_log common
<Directory "/sites/creativat/dev/mcm.info/web/httpdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

I leave you screenshots of everything I think is needed to be able to follow what I am doing wrong.

I thank you in advance for your enormous help since after so many tests I am lost and surely someone with experience can tell me how stupid I am and where I have the problem. Thank you so much

PS: In fact, I am so lost that after some of my last attempts I can no longer see the files on the mount point when entering through putty with the user. I can only see them with the shell via root
 

Attachments

  • files-inside-user-group.jpg
    files-inside-user-group.jpg
    222.9 KB · Views: 128
  • access_log.jpg
    access_log.jpg
    236.2 KB · Views: 129
  • error_log.jpg
    error_log.jpg
    260.9 KB · Views: 136
  • ssh-user-alex-denied.jpg
    ssh-user-alex-denied.jpg
    23 KB · Views: 123
  • truenas-apache-403.jpg
    truenas-apache-403.jpg
    70.1 KB · Views: 132
  • apache-edit-01.jpg
    apache-edit-01.jpg
    78.8 KB · Views: 138
  • famp-base.jpg
    famp-base.jpg
    63 KB · Views: 129
  • truenas-storage-pools-edit-acl.jpg
    truenas-storage-pools-edit-acl.jpg
    83.1 KB · Views: 130
  • truenas-mount-points-edit.jpg
    truenas-mount-points-edit.jpg
    150.2 KB · Views: 131
  • truenas-jails-php8.jpg
    truenas-jails-php8.jpg
    151.1 KB · Views: 137
  • truenas-saring-smb-share-acl.jpg
    truenas-saring-smb-share-acl.jpg
    145.3 KB · Views: 128
  • truenas-sharing-smb-edit.jpg
    truenas-sharing-smb-edit.jpg
    84.8 KB · Views: 120
  • truenas-sharing-smb.jpg
    truenas-sharing-smb.jpg
    158.5 KB · Views: 133
  • truenas-accounts-my-groups.jpg
    truenas-accounts-my-groups.jpg
    142.5 KB · Views: 125
  • truenas-accounts-my-user.jpg
    truenas-accounts-my-user.jpg
    158.8 KB · Views: 123
  • truenas-pool-dataset-permisions.jpg
    truenas-pool-dataset-permisions.jpg
    80.9 KB · Views: 130
  • truenas-pool-rataset-options.jpg
    truenas-pool-rataset-options.jpg
    89.8 KB · Views: 144
  • truenas-pool.jpg
    truenas-pool.jpg
    194.4 KB · Views: 144
Top