| 451 | |
| 452 | |
| 453 | bool Foam::chMod(const fileName& name, const mode_t m) |
| 454 | { |
| 455 | if (POSIX::debug) |
| 456 | { |
| 457 | Pout<< FUNCTION_NAME << " : name:" << name << endl; |
| 458 | if ((POSIX::debug & 2) && !Pstream::master()) |
| 459 | { |
| 460 | error::printStack(Pout); |
| 461 | } |
| 462 | } |
| 463 | return ::chmod(name.c_str(), m) == 0; |
| 464 | } |
| 465 | |
| 466 | |
| 467 | mode_t Foam::mode(const fileName& name, const bool followLink) |
nothing calls this directly
no test coverage detected