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. Thanks. |
Who owns the file? You can check this with
Code:
ls -l Code:
chown me:me dum.cfg.bkp |
I had completely forgotten about that ownership thing. I am sure that will fix it. Thanks.
|
All times are GMT -5. The time now is 04:04 PM. |