Can't modify files contained in my Volumes

Hello, I have created several modules and I am having problems to modify the files contained in them. Although the volumes are mounted to /home/ubuntu,

sdd 8:48 0 120G 0 disk /home/ubuntu/AMR_VirFact
sde 8:64 0 100G 0 disk /home/ubuntu/qiimeanalysisvol
sdf 8:80 0 100G 0 disk /home/ubuntu/Phylogenetictree

when I list the directories they seem to be in root

drwxr-xr-x 4 root root 45 Dec 21 14:31 AMR_VirFact
drwxr-xr-x 3 root root 38 Nov 15 16:07 qiimeanalysisvol
drwxr-xr-x 3 root root 19 Dec 21 15:01 Phylogenetictree

I am not sure if this is the reason why I can’t modify the files contained in them.

The names of the volumes are Maria_Phylogeney, Qiime analysis and AMR_VirFact, all of them hosted in Birmingham.

When I created the volumes, I had some trouble because the location in which they where attached (dev/sda, dev/sdb,…) was not the same according to Horizon website and my terminal (when typing lsblk).

Hi,

The directories are currently owned by root. You do not have write access for them. You will need to change the owner or give yourself (i.e ubuntu) access. Details are in the tutorial here - Creating and attaching volumes using Horizon. The relevant line is this one

sudo chown ubuntu:ubuntu example/

I hope this helps,
Sion

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.