Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在通过 Java 代码创建一个文件夹。新创建的文件夹会自动继承父文件夹权限。我应该为我的父目录更改什么设置,以便子目录默认不会继承权限?
我发现在为父文件夹设置权限时,您可以选择“仅限此文件夹”。这将防止权限被继承到子文件夹。