I have a zfs dataset called "Media". I have this dataset shared via afp and cifs. Permissions on the dataset are set to use acl. I have a group called media_admin which my user is a member of. Media_admin has full_set set to media.
I have a folders in side of media; Movies and TV. When I am connected from my mac using afp I can create new directories in media fine but I cannot create new files in media (or in Movies or TV). When I create a folder in media I can create files in the fine. Now when I connect from my same mac using cifs I can write files fine.
I can't write files here from afp but I can from cifs. I can create new folders from afp here. I can delete any files or folders in here from afp.
getfacl storage/media
I can't write files here from afp but I can from cifs. I can create new folders from afp here. I can delete any files or folders in here from afp.
getfacl storage/media/Movies
Here I created a folder test using afp. I can create files in here using afp OK
Any idea what is going on here? I am thinking there's an issue with afp.
EDIT: Just discovered something weird. I can copy files from my mac over afp to the Movies folder if I use cp in terminal.
I have a folders in side of media; Movies and TV. When I am connected from my mac using afp I can create new directories in media fine but I cannot create new files in media (or in Movies or TV). When I create a folder in media I can create files in the fine. Now when I connect from my same mac using cifs I can write files fine.
I can't write files here from afp but I can from cifs. I can create new folders from afp here. I can delete any files or folders in here from afp.
getfacl storage/media
Code:
# file: /mnt/storage/media # owner: root # group: wheel group:media_admin:rwxpDdaARWcCos:fd----:allow owner@:rwxp--aARWcCos:------:allow group@:r-x---a-R-c--s:------:allow everyone@:r-x---a-R-c--s:------:allow
I can't write files here from afp but I can from cifs. I can create new folders from afp here. I can delete any files or folders in here from afp.
getfacl storage/media/Movies
Code:
# file: /mnt/storage/media/Movies/ # owner: root # group: wheel group:media_admin:rwxpDdaARWcCos:fd----:allow owner@:rwxp--aARWcCos:------:allow group@:r-x---a-R-c--s:------:allow everyone@:r-x---a-R-c--s:------:allow
Here I created a folder test using afp. I can create files in here using afp OK
Code:
# file: /mnt/storage/media/test # owner: kyle # group: wheel group:media_admin:rwxpDdaARWcCos:fd----:allow owner@:rwxp--aARWcCos:------:allow group@:r-x---a-R-c--s:------:allow everyone@:r-x---a-R-c--s:------:allow
Any idea what is going on here? I am thinking there's an issue with afp.
EDIT: Just discovered something weird. I can copy files from my mac over afp to the Movies folder if I use cp in terminal.