Hi,
As a user, the administrator has granted me the build permission of singularity.
After I used the following command to build the sandbox,
I wanted to delete the folder where this sandbox is located, but I found that this folder belongs to root and I don't have the permission to delete it. What should I do?
sudo singularity build --sandbox ./tempDir annotsv.def
sudo rm -rf ./tempDir
It is expected that this folder (./tempDir) can be deleted.
Actual behavior: Permission denied
Version of Singularity: 3.8.7-1.el7
OS/distro:
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
Hi,
As a user, the administrator has granted me the build permission of singularity.
After I used the following command to build the sandbox,
I wanted to delete the folder where this sandbox is located, but I found that this folder belongs to root and I don't have the permission to delete it. What should I do?
It is expected that this folder (./tempDir) can be deleted.
Actual behavior: Permission denied
Version of Singularity: 3.8.7-1.el7
OS/distro:
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"