File/Dictorectory User Issues

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
Below user permissions via an smb shares gives me;
- can create directory / cannot delete directoy [desired]
- can create file / can delete file [not desired - should be cannot delete]

If i uncheck append, I can't create directories, yet I cannot delete files.
Something doesn't seem right with the way these work.

1692301657540.png
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
This is correct behavior per NFS4 RFCs. There are various situations where users can override file permissions (such as being owner of file). Generally though removing DELETE | DELETE_CHILD is not a great option for SMB shares (if this is where you're doing this) since it will prevent file renames.
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
This is correct behavior per NFS4 RFCs. There are various situations where users can override file permissions (such as being owner of file). Generally though removing DELETE | DELETE_CHILD is not a great option for SMB shares (if this is where you're doing this) since it will prevent file renames.
screenshot is from the dataset
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
screenshot is from the dataset
const ACE4_APPEND_DATA = 0x00000004;
const ACE4_ADD_SUBDIRECTORY = 0x00000004;

APPEND_DATA and ADD_SUDIRECTORY share a mask. C.F. RFC 3530 section 5.11. It may be helpful for webui to report on all values sharing mask, but that would quickly become a wall of tex.
 
Top