Solved

ubuntu linux - write issue in system file dir

Posted on 2011-09-24
4
652 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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Determine Who is Runnig my Bash Shell Script 4 60
Remove a folder in Linux 9 90
nagios alerts 3 32
expectj telnet failing 5 17
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

930 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