setsebool -P ftp_home_dir=on;
setsebool -P allow_ftpd_full_access=on;
#I also have vsftp
setsebool -P httpd_can_network_relay=1;
#I also have net2ftp web app
setsebool -P ssh_chroot_rw_homedirs on;
/sbin/restorecon -R -v /sftpjails/nasftp/home/nas
/sbin/restorecon reset /sftpjails/nasftp/home/nas
ftp context unconfined_u:object_r:defa ult_t:s0-> unconfined _u:object_ r:chroot_u ser_t:s0
/sbin/restorecon set context /sftpjails/nasftp/home/nas
ftp->uncon fined_u:ob ject_r:chr oot_user_t :s0 failed:'Permission denied'
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.