| 152 | } |
| 153 | |
| 154 | void cmFileCopier::DefaultDirectoryPermissions() |
| 155 | { |
| 156 | // Use read/write/executable permissions. |
| 157 | this->DirPermissions = 0; |
| 158 | this->DirPermissions |= mode_owner_read; |
| 159 | this->DirPermissions |= mode_owner_write; |
| 160 | this->DirPermissions |= mode_owner_execute; |
| 161 | this->DirPermissions |= mode_group_read; |
| 162 | this->DirPermissions |= mode_group_execute; |
| 163 | this->DirPermissions |= mode_world_read; |
| 164 | this->DirPermissions |= mode_world_execute; |
| 165 | } |
| 166 | |
| 167 | bool cmFileCopier::GetDefaultDirectoryPermissions(mode_t** mode) |
| 168 | { |