Operation not permitted - chmod

Status
Not open for further replies.

ric

Contributor
Joined
Dec 22, 2013
Messages
180
After installing owncloud plugin on my freenas, and when I tried to access owncloud, I got the following error message. Please see screenshot below:


And I'm getting same type of error when using chmod.

root@owncloud_1:/ # chmod 770 -R /media
chmod: -R: No such file or directory
chmod: /media: Operation not permitted

There's some suggestions on this forum, disabling all services and windows GUI with no success. Got the same error "user already had full control".

Please help!
 
Last edited:

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
After installing owncloud plugin on my freenas, and when I tried to access owncloud, I got the following error message. Please see screenshot below:


And I'm getting same type of error when using chmod.

root@owncloud_1:/ # chmod 770 -R /media
chmod: -R: No such file or directory
chmod: /media: Operation not permitted

There's some suggestions on this forum, disabling all services and windows GUI with no success. Got the same error "user already had full control".

Please help!

Your aclmode is set to restricted (dataset has "windows" permissions type). If you want to do the equivalent of chmod 770 on it,
Code:
find /media -type d | setfacl -m owner@:full_set:fd:allow, group@:full_set:fd:allow, everyone@::fd:allow
find /media -type f | setfacl -m owner@:full_set::allow, group@:full_set::allow, everyone@:::allow
 

ric

Contributor
Joined
Dec 22, 2013
Messages
180
Thanks but look like another types of issue arises.
 

Attachments

  • nextcloud.png
    nextcloud.png
    597.3 KB · Views: 451
Status
Not open for further replies.
Top