After a year of planning I finally moved all my data from mdraid to ZFS. I'm familiar with UNIX permissions but those mixed with ZFS ACLs cause me a headache.
My current situation:
I have a dataset (let's call it 'tank/data') that is shared via NFS and SMB. All data in the dataset are transfered from my old server over NFS. NFS work just fine, but I cannot delete any existing files via SMB. I can create new files and folders, though. I've tried setting aclinherit=on and giving everyone full_set allow rights.
My ultimate goal is to:
Have the dataset shared to users X and Y via SMB, and some other clients via NFS.
- X should have full permissions to dataset
- Y should have read and write permissions, but not delete (just the way it is working now)
- NFS full permissions
This is on OmniOS.
\\e
Some progress. Found out that by default OmniOS uses GNU ls and chmod which do not support ACLs. Had to modify $PATH a bit. Now I just need to figure out right ACL settings for user Y. Any tips are appreciated.
My current situation:
I have a dataset (let's call it 'tank/data') that is shared via NFS and SMB. All data in the dataset are transfered from my old server over NFS. NFS work just fine, but I cannot delete any existing files via SMB. I can create new files and folders, though. I've tried setting aclinherit=on and giving everyone full_set allow rights.
My ultimate goal is to:
Have the dataset shared to users X and Y via SMB, and some other clients via NFS.
- X should have full permissions to dataset
- Y should have read and write permissions, but not delete (just the way it is working now)
- NFS full permissions
This is on OmniOS.
\\e
Some progress. Found out that by default OmniOS uses GNU ls and chmod which do not support ACLs. Had to modify $PATH a bit. Now I just need to figure out right ACL settings for user Y. Any tips are appreciated.
Last edited: