diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-10-13 06:25:52 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-10-13 06:25:52 +0000 |
commit | 0e020d10257a7f1e4cd526eb6c49ba67a442ba85 (patch) | |
tree | 0f595c0a178264458bdeadab565bb5892f006d97 /miscutils/devfsd.c | |
parent | 9315842242f18e3c5cf706b2bb349757928b2b40 (diff) | |
download | busybox-w32-0e020d10257a7f1e4cd526eb6c49ba67a442ba85.tar.gz busybox-w32-0e020d10257a7f1e4cd526eb6c49ba67a442ba85.tar.bz2 busybox-w32-0e020d10257a7f1e4cd526eb6c49ba67a442ba85.zip |
Make certain clients of bb_make_directory default to honoring
the user's umask
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r-- | miscutils/devfsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index c2dde91c6..5e183e61f 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -1547,7 +1547,7 @@ static int make_dir_tree (const char *path) | |||
1547 | #ifdef CONFIG_DEBUG | 1547 | #ifdef CONFIG_DEBUG |
1548 | msg_logger( NO_DIE, LOG_INFO, "make_dir_tree()\n"); | 1548 | msg_logger( NO_DIE, LOG_INFO, "make_dir_tree()\n"); |
1549 | #endif | 1549 | #endif |
1550 | if (bb_make_directory( dirname((char *)path), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH ,FILEUTILS_RECUR )==-1) | 1550 | if (bb_make_directory( dirname((char *)path), -1, FILEUTILS_RECUR )==-1) |
1551 | { | 1551 | { |
1552 | #ifdef CONFIG_DEBUG | 1552 | #ifdef CONFIG_DEBUG |
1553 | msg_logger( NO_DIE, LOG_ERR, "make_dir_tree(): %s: %m\n", path); | 1553 | msg_logger( NO_DIE, LOG_ERR, "make_dir_tree(): %s: %m\n", path); |