LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   permission denied lfs6.4 section 5.10 (http://www.linuxquestions.org/questions/linux-from-scratch-13/permission-denied-lfs6-4-section-5-10-a-715310/)

aahiqmir 03-29-2009 01:41 PM

permission denied lfs6.4 section 5.10
 
hi,

when i try to remove expect-5.43 directory so taht i can start the section again because of an error encountered
in the same section,it says permission denied.

command

Code:

rm -rf expect-5.43

output

rm: cannot remove `expect-5.43/testsuite/Makefile.in': Permission denied
rm: cannot remove `expect-5.43/testsuite/ChangeLog': Permission denied
rm: cannot remove `expect-5.43/testsuite/expect.tests/expect-tests.exp': Permission denied
rm: cannot remove `expect-5.43/testsuite/config/default.exp': Permission denied
rm: cannot remove `expect-5.43/testsuite/configure.in': Permission denied
rm: cannot remove `expect-5.43/testsuite/exp_test.c': Permission denied
rm: cannot remove `expect-5.43/testsuite/configure': Permission denied
rm: cannot remove `expect-5.43/tests/spawn.test': Permission denied
rm: cannot remove `expect-5.43/tests/all.tcl': Permission denied
rm: cannot remove `expect-5.43/tests/logfile.test': Permission denied
rm: cannot remove `expect-5.43/tests/send.test': Permission denied
rm: cannot remove `expect-5.43/tests/expect.test': Permission denied
rm: cannot remove `expect-5.43/tests/.Sanitize': Permission denied
rm: cannot remove `expect-5.43/tests/pid.test': Permission denied
rm: cannot remove `expect-5.43/tests/stty.test': Permission denied
rm: cannot remove `expect-5.43/tests/README': Permission denied
rm: cannot remove `expect-5.43/tests/cat.test': Permission denied
rm: cannot remove `expect-5.43/example/xkibitz': Permission denied
rm: cannot remove `expect-5.43/example/beer.exp': Permission denied
rm: cannot remove `expect-5.43/example/timed-run': Permission denied
rm: cannot remove `expect-5.43/example/ftp-inband': Permission denied
rm: cannot remove `expect-5.43/example/rogue.exp': Permission denied
rm: cannot remove `expect-5.43/example/carpal': Permission denied
rm: cannot remove `expect-5.43/example/irsh': Permission denied
rm: cannot remove `expect-5.43/example/Makefile': Permission denied
rm: cannot remove `expect-5.43/example/beer.exp.out': Permission denied
rm: cannot remove `expect-5.43/example/passmass.man': Permission denied
rm: cannot remove `expect-5.43/example/dislocate': Permission denied
rm: cannot remove `expect-5.43/example/dvorak': Permission denied
rm: cannot remove `expect-5.43/example/kibitz.man': Permission denied
rm: cannot remove `expect-5.43/example/chess.exp': Permission denied
rm: cannot remove `expect-5.43/example/kibitz': Permission denied
rm: cannot remove `expect-5.43/example/unbuffer': Permission denied
rm: cannot remove `expect-5.43/example/chesslib2.c': Permission denied
rm: cannot remove `expect-5.43/example/unbuffer.man': Permission denied
rm: cannot remove `expect-5.43/example/autoexpect.man': Permission denied
rm: cannot remove `expect-5.43/example/autopasswd': Permission denied
rm: cannot remove `expect-5.43/example/rftp': Permission denied
rm: cannot remove `expect-5.43/example/tknewsbiff': Permission denied
rm: cannot remove `expect-5.43/example/expectd.proto': Permission denied
rm: cannot remove `expect-5.43/example/reprompt': Permission denied
rm: cannot remove `expect-5.43/example/passwd.html': Permission denied
rm: cannot remove `expect-5.43/example/vrfy': Permission denied
rm: cannot remove `expect-5.43/example/virterm': Permission denied
rm: cannot remove `expect-5.43/example/robohunt': Permission denied
rm: cannot remove `expect-5.43/example/cryptdir.man': Permission denied
rm: cannot remove `expect-5.43/example/timed-read': Permission denied
rm: cannot remove `expect-5.43/example/lpunlock': Permission denied
rm: cannot remove `expect-5.43/example/xrlogin': Permission denied
rm: cannot remove `expect-5.43/example/decryptdir': Permission denied
rm: cannot remove `expect-5.43/example/telnet-in-bg': Permission denied
rm: cannot remove `expect-5.43/example/weather': Permission denied
rm: cannot remove `expect-5.43/example/tkpasswd': Permission denied
rm: cannot remove `expect-5.43/example/gethostbyaddr': Permission denied
rm: cannot remove `expect-5.43/example/dislocate.man': Permission denied
rm: cannot remove `expect-5.43/example/xkibitz.man': Permission denied
rm: cannot remove `expect-5.43/example/decryptdir.man': Permission denied
rm: cannot remove `expect-5.43/example/read1char': Permission denied
rm: cannot remove `expect-5.43/example/multixterm.man': Permission denied
rm: cannot remove `expect-5.43/example/mkpasswd.man': Permission denied
rm: cannot remove `expect-5.43/example/multixterm': Permission denied
rm: cannot remove `expect-5.43/example/mkpasswd': Permission denied
rm: cannot remove `expect-5.43/example/passwdprompt': Permission denied
rm: cannot remove `expect-5.43/example/chesslib.c': Permission denied
rm: cannot remove `expect-5.43/example/archie': Permission denied
rm: cannot remove `expect-5.43/example/term_expect': Permission denied
rm: cannot remove `expect-5.43/example/cryptdir': Permission denied
rm: cannot remove `expect-5.43/example/passmass': Permission denied
rm: cannot remove `expect-5.43/example/xpstat': Permission denied
rm: cannot remove `expect-5.43/example/ftp-rfc': Permission denied
rm: cannot remove `expect-5.43/example/passwd.cgi': Permission denied
rm: cannot remove `expect-5.43/example/README': Permission denied
rm: cannot remove `expect-5.43/example/tknewsbiff.man': Permission denied
rm: cannot remove `expect-5.43/example/chesslib++.c': Permission denied
rm: cannot remove `expect-5.43/example/unbuffer.c': Permission denied
rm: cannot remove `expect-5.43/example/autoexpect': Permission denied
rm: cannot remove `expect-5.43/example/rlogin-cwd': Permission denied
rm: cannot remove `expect-5.43/example/telnet-cwd': Permission denied
rm: cannot remove `expect-5.43/example/tkterm': Permission denied


help please

thanx in advance.

me-$-on 03-30-2009 08:47 AM

It seems like as if You don't have the right permission..... ;-).

According to the book You should act as the user lfs... and somewhere in the process of expect You did something as root ( please keep in mind that You have to
Quote:

su - lfs
on every console, You are using.... and keep in mind to export the $LFS on every console ).
The same with virtual terminals in the gui. And if not already created, create the .bash_profile and type
Quote:

source .bash_profile
..... surely You missed a small thing.... happens very fast with lfs.

It seems like, as if You have something done as root, regarding the expect.... You can now change the owner for the directory and see, if You can remove it afterwards, if not, remove the contents as root.

Hope, I am right and that it will help.

If i misunderstood something, please don't mind to correct me.

Bye.


All times are GMT -5. The time now is 08:24 AM.