Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-12-2014, 02:01 PM   #1
Registered: Apr 2014
Distribution: Debian GNU/Linux 7.5 (wheezy)
Posts: 248

Rep: Reputation: Disabled
file permission problems

me@my~/dummy$ cat dum.cfg > dum.cfg.bkp
-bash: dum.cfg.bkp: Permission denied

I moved a program from one server to another. Whenever I run the program to update a file, it says the above. I tried changing the file attributes to 600 and 644, but the program always gets the denial message. Anyone know how to get around this? The program is not executing from root, but I tried to give the user 'me' visudo ALL privileges, but still the error.

Old 10-12-2014, 04:09 PM   #2
Senior Member
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,013

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Who owns the file? You can check this with
ls -l
To change ownership type e.g.
chown me:me dum.cfg.bkp
Also check file attributes / ownership of the "dummy" directory

Last edited by joe_2000; 10-12-2014 at 04:10 PM. Reason: typo
Old 10-12-2014, 04:16 PM   #3
Registered: Apr 2014
Distribution: Debian GNU/Linux 7.5 (wheezy)
Posts: 248

Original Poster
Rep: Reputation: Disabled
I had completely forgotten about that ownership thing. I am sure that will fix it. Thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ext4 - permission to create/modify a file without 'delete' permission BeachHead Linux - General 4 06-08-2014 07:34 PM
File & Folder Permission and Ownership permission error in Cloud storage. rhcekumaran Linux - Newbie 3 06-14-2013 04:41 AM
File permission problems? lukthree Linux - Newbie 2 06-04-2008 04:12 PM
file permission problems on nfs-share Falafel Linux - Networking 3 12-05-2006 01:57 PM
Problems unzipping a *.tar.gz file --permission denied? mfarley Linux - Newbie 3 07-22-2003 05:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration