• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Starting a fresh

Ebro

Member ++
Joined
Mar 6, 2006
Messages
714
Likes
4
#1
OK, just a quickie. If I want to start again what's the best way. I have had many "issues" up to lesson 4, and had compile errors etc, so thought I would begin again. Not sure why by the work dir is write protected so don't seem to be able to delete it.

Can someone advise on the command to remove the whole dir, so I can begin again.

Thanks
 

fergy

Member +
Joined
Jan 11, 2007
Messages
170
Likes
3
#2
Hello.

If You are compiling as a root, then You must login as a root ( su or sudo ) and chmod 755 to remove write-protection from directory, than just right click on the directory and delete it. But, You are say "by the work" so I am not 100% sure that You will be able to delete directory without administrator's rights.
Cheers
 

Devilfish

DW Regular
Joined
Oct 22, 2005
Messages
14,269
Likes
194
#3
I would delete the contents of the /tuxbox-cvs folder. Is this what you mean by the 'work' folder?

Then go back to Part 3 and start from there.
 

osborne82

DW Regular
Joined
Nov 16, 2005
Messages
1,293
Likes
25
#4
OK, just a quickie. If I want to start again what's the best way. I have had many "issues" up to lesson 4, and had compile errors etc, so thought I would begin again. Not sure why by the work dir is write protected so don't seem to be able to delete it.

Can someone advise on the command to remove the whole dir, so I can begin again.

Thanks


login as root
Code:
su
then once your loged in to remove the tuxbox dir type

Code:
rm -rf tuxbox-cvs
this will remove the whole folder and let u start again myfriend :)
 

Ebro

Member ++
Joined
Mar 6, 2006
Messages
714
Likes
4
#5
Thanks guys. I think my original problem stemmed from creating the initial folder as SU as per the instructions. I could therefore only delete it as the SU user. AI have removed all ok, so back to square one. (but with a little more knowledge.) LOL
 

fergy

Member +
Joined
Jan 11, 2007
Messages
170
Likes
3
#6
Thanks guys. I think my original problem stemmed from creating the initial folder as SU as per the instructions. I could therefore only delete it as the SU user. AI have removed all ok, so back to square one. (but with a little more knowledge.) LOL
lol Listen, NEVER compile image as root!
There is just few specially moments when You must log as root, but You will probably never need that, except if You don't wanna make ssh plugin or something like that - but, that is another story.
Cheers : multi :
 

ellie1998

DW Member ++
Joined
May 7, 2005
Messages
5,744
Likes
67
#7
lol Listen, NEVER compile image as root!
There is just few specially moments when You must log as root, but You will probably never need that, except if You don't wanna make ssh plugin or something like that - but, that is another story.
Cheers : multi :
I have just edited stage/lesson 3 to remove the su command as it is going to cause problems later.