* limitations under the License.
*/
-#include "folly/experimental/TestUtil.h"
+#include <folly/experimental/TestUtil.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include "folly/Conv.h"
-#include "folly/Exception.h"
+#include <folly/Conv.h>
+#include <folly/Exception.h>
namespace folly {
namespace test {
closeOnDestruction_(closeOnDestruction),
fd_(-1),
path_(generateUniquePath(std::move(dir), namePrefix)) {
- fd_ = open(path_.c_str(), O_RDWR | O_CREAT | O_EXCL, 0644);
+ fd_ = open(path_.c_str(), O_RDWR | O_CREAT | O_EXCL, 0666);
checkUnixError(fd_, "open failed");
if (scope_ == Scope::UNLINK_IMMEDIATELY) {