• Max Staudt's avatar
    affs: fix basic permission bits to actually work · d3a84a8d
    Max Staudt authored
    The basic permission bits (protection bits in AmigaOS) have been broken
    in Linux' AFFS - it would only set bits, but never delete them.
    Also, contrary to the documentation, the Archived bit was not handled.
    
    Let's fix this for good, and set the bits such that Linux and classic
    AmigaOS can coexist in the most peaceful manner.
    
    Also, update the documentation to represent the current state of things.
    
    Fixes: 1da177e4 ("Linux-2.6.12-rc2")
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarMax Staudt <max@enpas.org>
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    d3a84a8d
file.c 25 KB