Re: newbie having problems editing files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 30 Nov 2002, 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]#

The above line will attempt to execute the file, not edit it.  The file 
does not have execute permissions set; even root cannot execute a file 
which does not have execute bits set.  Root can read and write to a file 
which has 000 permissions, but cannot execute it.  Try:

vi /etc/fonts/fonts.conf 

after you have su'd to root.



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux