Handling "permission denied" error on SELinux - 7.3

English (United States)
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Talend Administration Center
Installation and Upgrade

Handling "permission denied" error on SELinux

Using Talend Administration Center with SVN installed on a server with SELinux enabled on your operating system can produce this error: Can't open file 'db/txn-current-lock': Permission denied.

When you try to create a project in Talend Administration Center, it fails and you get an error in the log with these details:
Save failed: org.talend.exception.BusinessException: svn: E204900: Can't open file '/var/www/svn/repository/db/txn-current-lock': Permission denied
svn: E175002: PROJECTNAME of '/svn/!svn/act/283c5381-5301-0010-9f7f-495961e572c2': 500 Internal Server Error (http://SVN-URL) -- For more information see your log file


  1. Open the terminal.
  2. Check if SELinux is enabled on your system using the sestatus.
    If SELinux is enabled on your system, the result should look like the following:
    root@ip-172-31-9-208 ~]# sestatus
    SELinux status: enabled
    SELinuxfs mount: /sys/fs/selinux
    SELinux root directory: /etc/selinux
    Loaded policy name: targeted
    Current mode: enforcing
    Mode from config file: enforcing
    Policy MLS status: enabled
    Policy deny_unknown status: allowed
    Max kernel policy version: 28
  3. Complete the installation with the following commands:
    chcon -R -t httpd_sys_content_t /var/www/svn/repository
    chcon -R -t httpd_sys_rw_content_t /var/www/svn/repository