It is not possible to set capabilities on large file (>2Gb ?)
Bug #794202 reported by
Mikhail Kulinich
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcap2 (Debian) |
Fix Released
|
Unknown
|
|||
libcap2 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
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_
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
tags: | added: patch |
Changed in libcap2 (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Thanks for taking the time to submit this bug and helping to make Ubuntu better.
What is the filesystem of your /tmp? Please provide output of
df -h /tmp
mount