Failed to set capabilities on file `/usr/bin/wine-preloader' (Invalid argument)
The value of the capability argument is not permitted for a file.
Or the file is not a regular (non-symlink) file
I am running Ubuntu 16.04, and for me I have libcap-2.24... This is what dpkg printed:
/lib/x86_64-linux-gnu/libcap.so.2.24
I don't know setcap SHOULD be a non-symlink file...
EDIT:
So I know that you SHOULD'T REALLY RUN WINE AS ROOT, but I was able to get rid of that ICMP error, but is still not working... The error that pops up is stuff about winsock?...
Hacksaurus_Babu wrote:I am running Ubuntu 16.04 ...
I'd ask on the Ubuntu forums or Ask Ubuntu - whether Ubuntu has additional AppArmour (??) restrictions set - that might affect the functioning of the setcap command.
I actually tried... But nobody... actually replied.... Wait I do have 2 questions!
1. So is wine vulnerable to Metasploit (Or any XP attack) XP attacks?... If not, then is the only truly way to get hacked is by downloading malicious files?
2. So maybe I want to be secure, and instead when I do get hacked via wine the hacker can only access the wine folders, by unlinking the symbolic links, if there is one?
So I'm not sure about the symbolic link answer... How exactly do I make sure that wine does not link anything to my normal system... And truly is the only way to hack is malicious exes?... Because I only install games and that's it...
Removing the z: symlink will prevent apps in Wine from opening files or writing to any directories outside the fake c: drive. It will not stop them from seeing those directories, and it will not stop malware that is Wine-aware from doing anything. Security needs to handled by the OS, not Wine.
I have the example issue with IQFeed's windows exe. Failed to set capabilities on file `/usr/bin/wine-preloader' (Invalid argument)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file.
This thread is kinda old now... And I anyways solved my problem by instead using normal wine, and also using the latest wine version (the dev version).... But that you anyways Bob!