Cannot change permissions

Meya

Dabbler
Joined
Dec 5, 2018
Messages
39
Hello,

I'm following this guide to install Nextcloud but when I get to the part where I need to change the permissions in each dataset, I get this error:
1637259474715.png

This is the output of the Nextcloud dataset for permissions:
1637270923346.png

I don't really understand what is the issue, the error is not really descriptive so I don't know where to look or what to change. Any thoughts?
 
Last edited:

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Are you sure the dataset path is correct ?
The jail datasets are usually .../iocage/jails/jailname/root/ then folders.
 

Meya

Dabbler
Joined
Dec 5, 2018
Messages
39
Are you sure the dataset path is correct ?
The jail datasets are usually .../iocage/jails/jailname/root/ then folders.
Let me delete the jail and try again then. Thanks for the input.
 

Meya

Dabbler
Joined
Dec 5, 2018
Messages
39
I tried again but it won't let me change permissions.
 

Meya

Dabbler
Joined
Dec 5, 2018
Messages
39
I've been testing trying to change permissions with a temp jail (with no data in it, just plain) and I get the same error. I don't understand what the issue is here.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
It's not possible to change permissions for anything in the iocage tree. What you should do is to mount another dataset outside that tree into the jail. You'll be able to change permissions on the external dataset.
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
It's not possible to change permissions for anything in the iocage tree. What you should do is to mount another dataset outside that tree into the jail. You'll be able to change permissions on the external dataset.
That's strange because :
/mnt/vol1/iocage/jails/urbackup/root/var/urbackup in my jail is set to user:891, group:891 (urbackup)
Nothing is mounted in that path ?
 

Meya

Dabbler
Joined
Dec 5, 2018
Messages
39
It's not possible to change permissions for anything in the iocage tree. What you should do is to mount another dataset outside that tree into the jail. You'll be able to change permissions on the external dataset.
I see. Then by creating fstab I should be able to change the permissions?
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
I see. Then by creating fstab I should be able to change the permissions?
I think it is because you are trying to change the permissions of a dataset in the iocage tree rather than a folder.....
 

Meya

Dabbler
Joined
Dec 5, 2018
Messages
39
I tried deleting the jail to start fresh and I get this error:
1637360760042.png
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
What command did you use ?
 

Meya

Dabbler
Joined
Dec 5, 2018
Messages
39
What command did you use ?
I tried deleting it from the GUI first and then from the command line using
Code:
> iocage destroy nextcloud
but got the same result. I'm trying to change permissions because I was following the guide from the link I posted in my OP.
 
Top