Displaying 1 result from an estimated 1 matches for "ext3_acl_max_entries".
2004 Dec 07
1
symlink permissions
...#include <linux/xattr_acl.h>
+#include <linux/stat.h>
#define EXT3_ACL_VERSION 0x0001
#define EXT3_ACL_MAX_ENTRIES 32
@@ -79,7 +80,8 @@
static inline int
ext3_init_acl(handle_t *handle, struct inode *inode, struct inode *dir)
{
- inode->i_mode &= ~current->fs->umask;
+ if (!S_ISLNK(inode->i_mode))
+ inode->i_mode &= ~current->fs->umask;
return 0;
}
#endif /* CONFIG_EXT3_F...