Running dcm4che 5.29 with nonroot user and got permission issue with /storage

58 views
Skip to first unread message

Yuqian Liu

unread,
Jul 11, 2023, 2:56:06 PM7/11/23
to dcm4che
Hi,
I am running dcm4che 5.29 as non root user iisapp, using docker-compose. The folders created are with ownerships as followed. I got error when writing to storage/fs1 as the folder is only writable with iisapp user. How can I setup ownership of storage to let the container to write?

Thanks
Yuqian

[iisapp@localhost dcm4chee-arc]$ ll
total 4
drwx------.    19 10000999 iisapp   4096 Jul 11 13:22 db
drwxrwsr-x.  5 iisapp   iisapp     87 Jul 11 13:22 esdatadir
drwxr-sr-x.    5 10001029 10001029   41 Jul 11 11:55 keycloak
drwxrwsr-x.  2 10001021 10001021   38 Jul 11 13:14 ldap
drwxrwsr-x.  2 iisapp   iisapp     29 Jul 11 11:29 logstash
drwxrwsr-x.  3 10001021 10001021   45 Jul 11 11:55 slapd.d
drwxr-xr-x.    2 iisapp   iisapp      0 Jul  6 19:56 storage
drwxrwsr-x.  4 10001023 10001023   64 Jul 11 11:55 wildfly

2023-07-11 12:47:56,532 INFO  [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-260) DCM4CHEE<-DCMSEND(2): processing 1:C-STORE-RQ[pcid=1, prior=2
  cuid=1.2.840.10008.5.1.4.1.1.4.1 - Enhanced MR Image Storage
  iuid=1.3.46.670589.11.45051.5.20.1.1.11964.2021012809250498000 - ?
  tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian] failed. Caused by:     : org.dcm4che3.net.service.DicomServiceException: java.nio.file.AccessDeniedException: /storage/fs1/2023/07/11/8CB85D86
Reply all
Reply to author
Forward
0 new messages