From: Marko O. <d0...@us...> - 2010-12-21 19:10:23
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "kdfs". The branch, make_kdfs_compile has been updated via e14c559171de11d5ac30d0bc2e92592d88e06ee6 (commit) from 8e688c6c4e8f6aa7e4a8024459518b586b2f5e70 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e14c559171de11d5ac30d0bc2e92592d88e06ee6 Author: Marko Obrovac <mar...@in...> Date: Tue Dec 21 21:08:46 2010 +0100 [BUGFIX] Represent the directory permissions in octal mode when creating a directory [CLEAN] Fix a minor grammar error in one message diff --git a/fs/kdfs/physical_fs.c b/fs/kdfs/physical_fs.c index f2237fb..f8e1c57 100644 --- a/fs/kdfs/physical_fs.c +++ b/fs/kdfs/physical_fs.c @@ -292,7 +292,7 @@ long check_create_phys_dir(const char *pathname, str_move_last_block(buf, path, '/'); error = create_phys_dir(path, mode, uid, gid); if (error != 0){ - DEBUG(DBG_ALERT, "Creation of dir %s does not succeed (error=%d)\n", path, error); + DEBUG(DBG_ALERT, "Creation of dir %s did not succeed (error=%d)\n", path, error); break; } } @@ -360,7 +360,7 @@ struct file* check_create_phys_file(const char *pathname, // Third, create the missing directory/ies while (strlen(buf)) { str_move_last_block(buf, path, '/'); - error = create_phys_dir(path, 755, uid, gid); + error = create_phys_dir(path, 0755, uid, gid); if (error != 0) goto out; } ----------------------------------------------------------------------- Summary of changes: fs/kdfs/physical_fs.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- kdfs |