Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ubuntu linux - write issue in system file dir

Posted on 2011-09-24
4
Medium Priority
?
679 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses

604 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