Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Wine is not owned by you #373

Closed
darklight-oss opened this issue Jun 18, 2020 · 5 comments
Closed

Wine is not owned by you #373

darklight-oss opened this issue Jun 18, 2020 · 5 comments

Comments

@darklight-oss
Copy link

darklight-oss commented Jun 18, 2020

Veil version

3.1.14

OS Used - all info (architecture, linux flavor, etc)

Kali linux 2020.2
kernel: Linux kali 5.6.0-kali2-amd64 #1 SMP Debian 5.6.14-1kali1 (2020-05-25) x86_64 GNU/Linux

How did you install Veil? (Apt, Clone from Github, etc.)

sudo apt install veil

Did you run the setup script?

yes

Pastebin link to error you are encountering (include console actions you took prior to error)

[python/meterpreter/rev_tcp>>]: generate
===============================================================================
                                   Veil-Evasion
===============================================================================
      [Web]: https://www.veil-framework.com/ | [Twitter]: @VeilFramework
===============================================================================

 [>] Please enter the base name for output files (default is payload): 
===============================================================================
                                   Veil-Evasion
===============================================================================
      [Web]: https://www.veil-framework.com/ | [Twitter]: @VeilFramework
===============================================================================

 [?] How would you like to create your payload executable?

     1 - PyInstaller (default)
     2 - Py2Exe

 [>] Please enter the number of your choice: 
wine: /var/lib/veil/wine is not owned by you
===============================================================================
                                   Veil-Evasion
===============================================================================
      [Web]: https://www.veil-framework.com/ | [Twitter]: @VeilFramework
===============================================================================

 [!] ERROR: Unable to create output file.
 [*] Source code written to: /var/lib/veil/output/source/payload.py
 [*] Metasploit Resource file written to: /var/lib/veil/output/handlers/payload.rc

Expected behavior

Any additional info you want to tell me

The main error is:
wine: /var/lib/veil/wine is not owned by you
Also I ran the command chown kali /var/lib/veil/wine but nothing happened

@ChrisTruncer
Copy link
Member

You will need to change ownership of that directory so you (your account you use) owns it. This shouldn't be an issue from the installer script. I just verified this by downloading a clean version of Kali (latest build as of this writing) and Veil installed successfully. The only modification was uncommenting the deb-src repo.

@Keshav0543
Copy link

You will need to change ownership of that directory so you (your account you use) owns it. This shouldn't be an issue from the installer script. I just verified this by downloading a clean version of Kali (latest build as of this writing) and Veil installed successfully. The only modification was uncommenting the deb-src repo.

where is deb-src rep is located

@bignath74
Copy link

chown root /var/lib/veil/wine

@bignath74
Copy link

it worked for me

@bidurp
Copy link

bidurp commented Aug 18, 2023

chmod +777 /var/lib/veil/wine
I was having the same issue. This worked for me
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants