Date: Mon, 26 Jun 2006 17:37:33 -0700 From: "jdow" <jdow@earthlink.net> To: <freebsd-questions@freebsd.org> Subject: Re: /bin/cat: Permission denied Message-ID: <029701c69981$e501f720$0225a8c0@Wednesday> References: <!&!AAAAAAAAAAAYAAAAAAAAAErnaONQDa9OqanqjLiRsw3CgAAAEAAAAAG7lOk6/bRNq%2B4AcAZnGGkBAAAAAA==@erc.lt>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "Viktoras Veitas" <vveitas@erc.lt> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?029701c69981$e501f720$0225a8c0>