Re: /bin/cat: Permission denied



From: "Viktoras Veitas" <vveitas@xxxxxx>

Hello.

I suddenly cannot run "cat" command as /bin/cat file appears to be without
execute permissions (all other files in /bin directory are with them) and I
get "/bin/cat: Permission denied" error.



I had a misfortune to "chmod 555 /bin/cat", then my machine panicked (when
trying to run "cat") and was not able to boot until I changed the /bin/cat
permissions back to read-only. Anyway the system running again but I cannot
install almost any port that uses cat in ./configure script.



I am running FreeBSD 5.4-RELEASE-p16 on Intel(R) Pentium(R) 4 CPU 3.00GHz
(2992.52-MHz 686-class CPU), with two 200GB SATA disks and RAID1 geom
mirror.



Output of dmesg is attached as file.



Question#1: How can I get rid of this problem and repair my cat file to be
able to install new ports again?

Question#2: Why did this happen? I mean everything worked fine for a year or
more until I decided to use hylafax on my machine and found that it cannot
do documet conversion.

Maybe some kind soul you trust will send you a copy of the 5.4 cat
command. I'd suspect you redirected something to /bin/cat by mistake.

{^_^} Joanne
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: How hard is it to create a custom version of Linux?
    ... Install command.com then install what ... accessory programs you need to get your system running what you want, ... I would like to be able to run linux on some of my ... "Usenet Filters - Learn to shut yourself the fuck up!" ...
    (alt.2600)
  • RE: lm_sensors on RHEL 3.0
    ... One is a Dell Poweredge 2650. ... figured that I'd try it at home on a system running an MSI motherboard (I ... On Thu, 23 Sep 2004, Harper Mann wrote: ... > install', I get another error about how there's no 'install target'. ...
    (RedHat)
  • Re: XP problem, had to reload, now size of HDD is smaller?
    ... way to get system running again without losing all the files, family pics, ... reformat, will have to save all the files etc, bummer. ... Buy a bigger HD, install XP fresh, install your ... It would take a just fraction of the time spent trying to get the old drive working right. ...
    (microsoft.public.windowsxp.general)
  • Get me out of the dog house ...
    ... System running XP Professional. ... over the previous install. ... I had to give her a new logon name. ... with previous students parents. ...
    (microsoft.public.outlook.installation)
  • Re: installing java in Fedora
    ... >> reside as root or equivalent install them both by typing something like ... > I tried chmoding to make sure I had execute permissions. ...
    (alt.os.linux.redhat)