ACLs: what to return for fs that doesn't support them?

James Buster bitbug at seal.engr.sgi.com
Thu Oct 28 22:28:35 GMT 1999


On Oct 28,  3:08pm, Casey Schaufler wrote:
} > What should acl_{get,set}_{file,fd} return when
} > the base FS doesn't support ACLs?
} 
} At one point the Draft specified that ENOSYS be returned.
} That was dropped later, but I don't remember why.

acl_get_file() already returns EACCES when "Argument type specifies a
type of ACL that cannot be associated with path", such as a default ACL
on a regular file. This could also be used for an access ACL on a
filesystem that doesn't support them.

-- 
Planet Bog -- pools of toxic chemicals bubble under a choking
atomsphere of poisonous gases... but aside from that, it's not
much like Earth.
To Unsubscribe: send mail to majordomo at cyrus.watson.org
with "unsubscribe posix1e" in the body of the message



More information about the posix1e mailing list