Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

how do I give my code editor permission to save to "opt/lampp/htdocs" on my Ubuntu system?

share|improve this question

migrated from Jun 12 '13 at 13:06

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Bobby, Scott, Sathya Jun 13 '13 at 4:00

This question was marked as an exact duplicate of an existing question.

add your user to the group that owns the directory (adduser <username> <groupname>; newgrp) – TeTeT Jun 10 '13 at 15:11

If running from the command line, preface the command to start your code editor with sudo. For instance, if you're using Geany, the command would be:

sudo geany

sudo allows you to execute a command as a superuser

share|improve this answer
Running things as root certainly tends to solve permissions problems, but in the same way that deleting code removes bugs. It's worth learning about @TeTeT's solution. – gcbenison Jun 11 '13 at 23:01
Thanks got it ! – Reign Jun 12 '13 at 7:18

Using the..

$ sudo bluefish

Command in the terminal,
fixed the issue, it works well!!

Problem Solved!!

share|improve this answer
To everyone who reads this by accident: Do not do this! Running something as root which does not need elevated rights begs for trouble. – Bobby Jun 12 '13 at 13:09

Not the answer you're looking for? Browse other questions tagged .