<div dir="ltr"><div>Peter Krempa wrote:<br></div><div>> Since the qemu command line option is formatted as 4 octal digits, a</div>> mode such as '1775' which is a valid mode for a directory will still be<br>> formatted as something which looks like a decimal number: <br>><br>> -fsdev local,security_model=mapped,dmode=1775,id=fsdev-fs1,path=/export/fs1 \<br>> <br>> Also the documentation doesn't mention whether sticky bit and such are<br>> actually handled.<br><br>This is totally fair.  QEMU has zero documentation on the intended limits on<br>these two options but the QEMU source masks them with 0777.  Given that we<br>only have the implementation to go off of rather than the intent, should we<br>assume that sticky bits will never be supported or that it's an unintentional<br>shortcoming in the QEMU code?<br><br>I can either do similar masking or mask with 07777 and send along the results<br><div>to QEMU as a 5-digit number (the first digit being a leading 0) .The libvirt docs</div><div>could then say the behavior is ultimately determined by QEMU but, currently,</div><div>sticky bits are not supported?</div></div>