infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew Foulks (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (INFRA-19146) File Permission issue
Date Wed, 25 Sep 2019 20:08:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-19146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938026#comment-16938026
] 

Drew Foulks edited comment on INFRA-19146 at 9/25/19 8:07 PM:
--------------------------------------------------------------

Does it remove and re-create the derby directory? the /var/lib/tomcat9 directory (and most
of its contents) are root:root restricted. I've updated the ownership of /var/lib/tomcat9
from 'root:root' to 'tomcat:tomcat' to remediate any permissions issues at the /var/lib/tomcat9
level.

If you wouldn't mind, please try to have derby create the files in the '/var/lib/tomcat9/derby'
path again.


was (Author: dfoulks):
Does it remove and re-create the derby directory? the /var/lib/tomcat9 directory (and most
of its contents) are root:root restricted. I've updated the ownership of /var/lib/tomcat9
from 'root:root' to 'tomcat:tomcat' to remediate any permissions issues at the /var/lib/tomcat9
level.

> File Permission issue
> ---------------------
>
>                 Key: INFRA-19146
>                 URL: https://issues.apache.org/jira/browse/INFRA-19146
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: VM
>            Reporter: Kurt T Stam
>            Assignee: Drew Foulks
>            Priority: Major
>
> When I have the Derby DB files be created in /tmp which is:
> juddi-vm-he-de:/tmp/systemd-private-56571dce99c94d50a0a3d1764c4a2614-tomcat9.service-v8oVXY/tmp#
> I nicely see:
> drwxr-x--- 2 tomcat tomcat 4096 Sep 21 21:26 hsperfdata_tomcat
> drwxr-x--- 5 tomcat tomcat 4096 Sep 24 15:23 juddidb
> drwxr-x--- 5 tomcat tomcat 4096 Sep 24 15:24 juddi-db
> However I would like to have these files in 
> /var/lib/tomcat/derby
> drwxrwxrwt 2 tomcat tomcat 4096 Sep 24 15:13 derby
> but it says it can't create a directory there (it's wide open atm for the tomcat user)
> What am I missing?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message