Skip to content

Excessive 777 file permissions when path contains "bin"? #278

Description

@GipsuKerzo

def set_path_perm(self, path):
if "bin" in path.split("/"):
perms = [0, 2000, 0o755, 0o777]

Is it necessary to set all files with "bin" in its path to 777?

NDK with 755 seems to still work?

/var/lib/waydroid/overlay/system/bin/ndk_translation_program_runner_binfmt_misc_arm64
/var/lib/waydroid/overlay/system/bin/ndk_translation_program_runner_binfmt_misc
/var/lib/waydroid/overlay/system/bin/arm64/linker64
/var/lib/waydroid/overlay/system/bin/arm64/app_process64
/var/lib/waydroid/overlay/system/bin/arm/linker
/var/lib/waydroid/overlay/system/bin/arm/app_process

I guess there's a reason for this? But 777 files just feel scary...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions