반응형 chmod1 How to perform chmod recursively? 출처: https://stackoverflow.com/questions/71249234/how-to-perform-chmod-recursively #include #include // see notes about these two lines at the bottom namespace fs = std::filesystem; // -"- void chmodr(const fs::path& path, fs::perms perm) { fs::permissions(path, perm); // set permissions on the top directory for(auto& de : fs::recursive_directory_iterator(path)) { fs::permissions(de, perm); // se.. 2023. 12. 19. 이전 1 다음 반응형