typhonragewind
Dabbler
- Joined
- Dec 1, 2018
- Messages
- 26
Hello everyone!
I'm still fairly new to freenas and UNIX systems in general, so please bear with me.
I've recently tried to create some scripts for use in my jails but i found that i could not execute them (because I didn't have the permissions, as I found later). I tried to solve this by doing a chmod -x on the script file in question, but it had the output: Operation not permitted.
After some investigating i found it was because of ACL permissions that were set when i created the datasets.
I also found a possible suggestion to fix this, which is the following command:
setfacl -b /mnt/Vol1/ zfs set aclmode=passthrough pool/dataset && rm /mnt/Vol1/.windows
Is it an alright solution? I don't want to mess around with permissions without knowing for sure that I won't drive myself into a corner and lose data.
I'm still fairly new to freenas and UNIX systems in general, so please bear with me.
I've recently tried to create some scripts for use in my jails but i found that i could not execute them (because I didn't have the permissions, as I found later). I tried to solve this by doing a chmod -x on the script file in question, but it had the output: Operation not permitted.
After some investigating i found it was because of ACL permissions that were set when i created the datasets.
I also found a possible suggestion to fix this, which is the following command:
setfacl -b /mnt/Vol1/ zfs set aclmode=passthrough pool/dataset && rm /mnt/Vol1/.windows
Is it an alright solution? I don't want to mess around with permissions without knowing for sure that I won't drive myself into a corner and lose data.