I don't believe there is an explicit way of doing so.
There is an implicit way of constraining the owner of a file, by setting the write permissions on the directory itself. If the directory has write permissions for owner only, then a file can only be created in that directory by that same user, and therefore will be owned by that owner. Similarly with groups (of course, root is not constrained in this fashion).
Maybe not very helpful for your desire, but it is the basic unix file system security. KISS!!
|