Skip to content

setuid bits are not set when using install #9134

@graysus

Description

@graysus

Using the -m flag of install to set the modifiers to 4755 does not work.

See the following example:

$ touch source_file
$ sudo install -m4755 source_file dest_file

$ stat dest_file
# expected output
...
Access: (4755/-rwsr-xr-x)

# actual output
Access: (0755/-rwxr-xr-x)

Edit: it's also worth mentioning that this is version 0.3.0 of uutils-coreutils

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions