LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 03-29-2009, 02:41 PM   #1
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Rep: Reputation: 15
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.
 
Old 03-30-2009, 09:47 AM   #2
me-$-on
Member
 
Registered: May 2007
Posts: 64

Rep: Reputation: 15
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.

Last edited by me-$-on; 03-30-2009 at 09:52 AM.
 
  


Reply

Tags
permission


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make problem in section 5.7.1 of lfs6.4 aahiqmir Linux From Scratch 2 03-28-2009 08:45 AM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 06:57 AM
Permission DEnied NomadABC Linux - Software 3 01-02-2005 10:53 AM
Permission Denied Deag^ Linux - Security 1 10-20-2004 12:05 PM


All times are GMT -5. The time now is 04:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration