2
votes
1answer
439 views

Bash: permission denied for file write

I followed this tutorial guide on "How to Create Linux Proc Files in C Program using LKM". I've successfully made my module and loaded it in. Now I want to echo to my proc file to make sure the ...
0
votes
0answers
213 views

Can't write to file - 'Operation not permitted' WITH sudo

I am having trouble writing to a few files on an external HD. I am using it to store media files as well as my time machine backup. The drive is formatted as HFS+ Journaled, and other files on the ...
2
votes
1answer
503 views

Permission issue with emacs for non-root user (Ubuntu 11.10)

Background I'm working on my personal VPS configured mostly for learning sysadmin and personal projects. Have run up against an issue where my non-root user could only create/edit files in emacs by ...
4
votes
1answer
325 views

What is the + at the end of Unix permissions in a long listing format?

Here's an example drwxr-xr-x+ 6 reza reza 204 Mar 5 20:23 .ssh/ Although I am the owner of this directory, I cannot modify it without using sudo! Why is that? how can I remove '+' here ...
4
votes
1answer
852 views

How can I use sed in /etc/apache2/sites-available?

I'm attempting to write a script that uses sed to copy the default file for apache and writes a new file, replacing /var/www ($DOC_ROOT below) with my own directory, $NEW_SITES_DIR. However, sed isn't ...