Hi!

I would just like to know is there a way you can overwrite the main.c file in the kernel folder(dir /usr/src/kernel/main.c) in MINIX 3. I want to change some code in the file(I know the risks involved) but the problem is I can't save it. I've tried logging in as 'bin' and 'root' and still the same issue.

Is there another way of doing this?

Thanks-and any help will be appreciated! :D

Recommended Answers

What are you using for an editor? Have you modified the file and directory permissions so you can save a new version of the file?

Jump to Post

All 2 Replies

What are you using for an editor? Have you modified the file and directory permissions so you can save a new version of the file?

I'm using the VI editor. I'm not sure how to modify the permissions but I'll take a look into it thanks!

After struggling like this I took an alternative root and reinstalled+redownloaded minix and the virtualbox which seemed to fix the problem for now. Hopefully it stays like this

But Thanks for the feedback!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.