Solved

ubuntu linux - write issue in system file dir

Posted on 2011-09-24
4
648 Views
Last Modified: 2012-05-12
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
Comment
Question by:TheWebGuy38
  • 3
4 Comments
 

Accepted Solution

by:
TheWebGuy38 earned 0 total points
ID: 36592223
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
 
LVL 4

Expert Comment

by:sakman
ID: 36592232
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
 

Author Comment

by:TheWebGuy38
ID: 36592550
the permissions were set to root on the application folder. once I changed them to administrator. seemed to have worked
0
 

Author Closing Comment

by:TheWebGuy38
ID: 37790437
I answered my own question
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now