Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

2 Answers 2

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
3  
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
1  
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 or ask your own question.