title: Proper use of '/opt' folder on linux
body: <p>Linux System: <code>Ubuntu 14.04 LTS</code></p>
  
  <p>I copy some app (like <code>xxx</code>) to the <code>/opt</code> folder to be used also by another user-accounts. Then to start it I use: </p>
  
  <blockquote>
    <p>sudo /opt/xxx_folder/xxx</p>
  </blockquote>
  
  <p>(of course, links to /usr/local/bin or /usr/bin, etc.) to start it;</p>
  
  <p><strong>Problem:</strong> I'm storing the results/projects of the app to my local folder ( like <code>/home/myuser/xxx_data</code>). And of course the folder and it's data <code>xxx_data</code> belongs to <code>root</code> (not <code>myuser</code>). So I have to change the owner every time I want to edit those files using another app not as a root.</p>
  
  <p><strong>Question:</strong> is there a way to install an app <code>xxx</code> to <code>/opt</code> so, that I don't need to start them as a root?</p>
  
  <p><strong>OR</strong> maybe you see another way to solve this 'root-user-problem?'</p>