Public bug reported:
Binary package hint: libcap2
OS: Ubuntu 10.04.2 + latest updates
# apt-cache policy libcap2-bin
libcap2-bin:
Installed: 1:2.17-2ubuntu1
Candidate: 1:2.17-2ubuntu1
setcap utility is not able to set capability on large file:
# setcap 'cap_net_bind_service=+ep' /tmp/prog.x
Failed to set capabilities on file `/tmp/prog.x' (Value too large for defined
data type)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>)
<filenameN> ]
Note <filename> must be a regular (non-symlink) file.
# ls -la /tmp/prog.x
-rwsr-xr-x 1 root root 2660914327 2011-05-03 23:07 /tmp/prog.x
** Affects: libcap2 (Ubuntu)
Importance: Undecided
Status: New
--
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