permission denied . . .
i'm trying to view a file as root, but get a "permission denied" message.
Here's the attempt: [root@www root]# /etc/logrotate.d/vsftpd.log -bash: /etc/logrotate.d/vsftpd.log: Permission denied am i missing something . . .? :confused: |
yeah, you're trying to run it as a program. or more precisely you're trying to run a file which is not allowed to be executed. you nbeed to pass the file as a parameter to a text editor or pager:
pico blah.cfg (editor) less blah.cfg (pager) [if the file was actaully allowed to be executed (you'd see some x's in the attributes when you run "ls -l blah.cfg" then you'd still get some error like "can not execute a.out binary file" or something. |
All times are GMT -5. The time now is 01:40 PM. |