Hot answers tagged

1

As a small program based solution you could write a small app which implements a FileSystemWatcher and the Created event. Then when the event fires you could use a RegEx pattern to make sure the name only contains legal characters, if the match returns false then delete the file. As for providing some feedback to the FTP session I'm not sure if that would ...


1

Configure the approriate SELinux booleans List the related booleans # semanage boolean -l | egrep 'ftp|http' | sort Turn on booleans that may be applicable temporarily i.e. # setsebool httpd_can_connect_ftp on To turn a boolean on permanently use -P flag i.e. # setsebool -P ftp_home_dir on


1

How about "bind mount" ? # mount -o bind /var/www/vhosts/website1.com/ /home/ContractorA/website1.com/ # mount -o bind /var/www/vhosts/website2.com/ /home/ContractorA/website2.com/ # mount -o bind /var/www/vhosts/website3.com/ /home/ContractorA/website3.com/ # mount -o bind /var/www/vhosts/website1.com/ /home/ContractorB/website1.com/ # mount -o bind ...


1

I'm using this sub regular expression, deny_file={* *} Note: it's only applied on the last child of the path Working example: /not_applied/not_applied/applied.here



Only top voted, non community-wiki answers of a minimum length are eligible