I have tried to recompile libcap2 with compile-time flags for large files and it works for me. Diff is attached.
# ./setcap 'cap_net_bind_service=+ep' /tmp/prog.x # ./getcap /tmp/prog.x /tmp/prog.x = cap_net_bind_service+ep ** Patch added: "Fix for large files (> 2Gb)" https://bugs.launchpad.net/ubuntu/+source/libcap2/+bug/794202/+attachment/2160378/+files/fix_large_files.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/794202 Title: It is not possible to set capabilities on large file (>2Gb ?) -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
