Permission problem

AdamK

Dabbler
Joined
Feb 23, 2023
Messages
13
I'm trying to change my current dir other permissions to allow rwx. I'm trying:

$ sudo chmod o+rwx .
chmod: changing permissions of '.': Operation not permitted

$ sudo setfacl -m o::rwx .
setfacl: .: Operation not permitted

getfacl returns:
$ getfacl .
# file: .
# owner: root
# group: root
user::rwx
group::rwx
other::---

What am I doing wrong?
 
Joined
Oct 22, 2019
Messages
3,641
What are you trying to do?

What even is this directory?
 

AdamK

Dabbler
Joined
Feb 23, 2023
Messages
13
I want it do be readable for others. This directory is just a directory on a dataset that is a SMB share.

I think I found the issue, it was for some reason it was set nfs4acl (I do not remember setting it myself, must be some dependency), after I reset it to posixacls I can set what I want.
 
Top