When installed with sudo privileges on Ubuntu most install files are written to the install directory.
However, the hidden .Xilinx directory contains files in the normal users home directory that have all been created as root and therefore cannot be accessed.
This causes Vivado to fail to run correctly, unless the ownership of these files is changed manually.
Error: Failed to save the Vivado user preferences file. Reason: '/home/user/.Xilinx/Vivado/2014.3/vivado.ini (Permission denied)'
To work around this, do a chmod 777 on the installed directory.
- Open a terminal
- Change directory to the hidden .Xilinx folder.
- Change to the sub-folder /Vivado.
- Run the following commands:
- sudo chown R <user_name> *
- sudo chmod R 777 *
- sudo chgrp R <user_name> *
Note: Root permission is only required in order to install cable drivers.
In Vivado 2015.1 the cable driver installation has been removed from the main Vivado installation and it is recommended that Vivado 2015.1 and later not be installed as root.