ubuntu linux - write issue in system file dir

Hi,

I'm installing an app on linux. Not very good at it.
I managed to successfully install the program on the desktop and it worked, but then realized I had installed it in the wrong place.

I needed to install it in /opt
which is in the system files. it seemed to install ok, but when I go to launch the app
I get an error

dministrator@SVN:/opt/csvn$ bin/csvn console
Running CSVN Console...
wrapper  | ERROR: Could not write pid file /opt/csvn/bin/../data/run/csvn.pid: Permission denied

I assume this is a system level permissions issue. I messed with the folder perms, but no luck.

any advice appreciated
TheWebGuy38Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
TheWebGuy38Connect With a Mentor Author Commented:
wait,

never mind.

I did a gksudo nautilus

and changed the folder perms to

from root to administrator
and
create and delete files.

seemed to have worked
0
 
sakmanCommented:
So your application is trying to write a pid file to /opt/csvn/data/run/csvn.pid and you are running it as yourself, correct?

First, does the pid file exist already and you are being denied the right to overwrite it?

Then, do the directories data and data/run allow you to cd into them?

What are the permission settings on data and data/run under /opt/csvn?

Finally, can you cd into /opt/csvn/data/run and create an empty file, such as:
$ touch somefile
0
 
TheWebGuy38Author Commented:
the permissions were set to root on the application folder. once I changed them to administrator. seemed to have worked
0
 
TheWebGuy38Author Commented:
I answered my own question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.