On Sat, 2002-11-30 at 18:09, David Mascot wrote:
> As an example to my editing problems, 
> the following is a file I think I should 
> have access to but I can't seem to get in.
> 
> [dmascot@localhost dmascot]$ su
> Password:
> [root@localhost dmascot]# /etc/fonts/fonts.conf
> bash: /etc/fonts/fonts.conf: Permission denied
> [root@localhost dmascot]#
> 
> I also tried this:
> 
> [root@localhost dmascot]# su - root
> [root@localhost root]# /etc/fonts/fonts.conf
> -bash: /etc/fonts/fonts.conf: Permission denied
> [root@localhost root]#
> 
----
OK well that explains it

You have to actually invoke an editor...

emacs /etc/fonts/fonts.conf
or
vi /etc/fonts/fonts.conf
or
pico /etc/fonts/fonts.conf

but without invoking a program, what you are actually trying to do is
'execute' the file which of course isn't an executable file and the
error message is actually telling you that the executable bit isn't set.

for example,
ls -l /etc/fonts/fonts.conf
-rw-r--r--    1 root     root         7561 Sep  9 12:24
/etc/fonts/fonts.conf

thus if it were executable, it would look like...
-rwxr--r--    1 root     root         7561 Sep  9 12:24 

but of course it isn't - use an editor

Craig



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to