Created attachment 402296 [details]
Discovered when probing #413621 , but is an independent concern regardless of how that bug eventually gets resolved.
Attached is a script / ebuild combination that when run under FEATURES="usersandbox test" guarantees that:
- perl can create the path ( Perl can create paths as long as 8kb )
- rm and chmod cannot modify or delete it.
Removing usersandbox makes the problem go away.
Code in question executes fine as any user.
If this problem cannot be resolved, then it needs to be documented somewhere clearly as such, so that ebuild maintainers can kill things that rely on this behaviour with justification.
Created attachment 402298 [details]
Created attachment 402300 [details]