summaryrefslogtreecommitdiff
path: root/ubi-utils/old-utils/perl/ubicrc32.pl
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-09-08 11:18:48 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-09-23 14:20:38 +0300
commit8f1d5a58ec95eaf8187cd033ad2ca18ba3191d65 (patch)
tree2c7b37b7f39632ffd02119c5eb5568997c081bab /ubi-utils/old-utils/perl/ubicrc32.pl
parentc9bdc0ca41b8ca9658d6ec7e22b2fd708a450b67 (diff)
mkfs.ubifs: do not override root inode permissions
When mkfs.ubifs is used with -r dir, it does not make the root UBIFS inode uid/gid/permissions to be equivalent to dir's permissions, but it makes root inode permissions to be equivalent to uid = git = 0 (root) and permissions = u+rwx go+rx. Unfortunately, we cannot simply fix this bug, because mkfs.ubifs is already used in production. Thus, we have introduce --squash-rino-perm option which is the default and it preserves the old mkfs.ubifs behavior. We also introduce --nosquash-rino-perm option which fixes mkfs.ubifs behavior. If none of these options is used, we print a warning. The plan is to make everyone use one of these options, then make --nosquash-rino-perm to be the default and remove the warning, and then eventually deprecate and remove both options. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/old-utils/perl/ubicrc32.pl')
0 files changed, 0 insertions, 0 deletions