• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 684
  • Last Modified:

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
0
TheWebGuy38
Asked:
TheWebGuy38
  • 3
1 Solution
 
TheWebGuy38Author 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

Featured Post

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now