1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix /dev/vgname mkdir perms.

This commit is contained in:
Alasdair Kergon 2004-09-02 14:38:46 +00:00
parent f15c75cbec
commit b588726e9f
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.00.22 -
==================================
Fix /dev/vgname perms.
Restructure xlate.h.
Add clvmd man page.

View File

@ -46,7 +46,7 @@ static int _mk_dir(const char *dev_dir, const char *vg_name)
return 1;
log_very_verbose("Creating directory %s", vg_path);
if (mkdir(vg_path, 0555)) {
if (mkdir(vg_path, 0777)) {
log_sys_error("mkdir", vg_path);
return 0;
}