Inherting parent folder permissions in new java-created files
I hava a 开发者_高级运维java application, that creates files and folders somewhere on the customer machines. i need that the new files and folders will get the same permissions as their parent folder, and their same permitted group.
I can tell the user to do some linux manipulations on the parent folder (like using umask), but i cannot tell him to change some files that effect on all his machines....
how can i do that?
精彩评论