# # (SCO Unix) How Can I stop OpenServer 5.0.6 creating /usr/local as a sym-link?
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

OSR5 FAQ

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.



Some material is very old and may be incorrect today

© December 2003 (various)

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

How Can I stop SCO Unix OpenServer 5.0.6 creating /usr/local as a sym-link?

This is an ancient post with no relevance to modern systems.

a) After the install remove /usr/local and re-create as required. BUT - if you do this and then at some point in the future you run custom verify and let it fix the discrepencies then your /usr/local will be moved to /usr/local# and the sys-link will be re-created.

b) Edit the Custom+ database to stop custom complaining. WARNING - Incorrect Editing the Custom+ database WILL give you problems - be carefull.

You need to comment out one line in the file


      /var/opt/K/SCO/Unix/5.0.6Ga/.softmgmt/RTS.fl
 

The line is:

 
       EXPORT r ./usr/local /usr/local
 

You can use a script similar to:

 ----- Cut Here ---------
 DIR=/var/opt/K/SCO/Unix/5.0.6Ga/.softmgmt
 FILE=RTS.fl
 sed -e 's/^EXPORT r .*local$/#&/' < ${DIR}/${FILE} >${DIR}/$$
 mv ${DIR}/$$ ${DIR}/${FILE}
 ----- Cut Here ---------
 

to do it for you.

Contributed by Tom Melvin
[email protected]
http://www.tkrh.demon.co.uk

If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> (SCO Unix) How Can I stop OpenServer 5.0.6 creating /usr/local as a sym-link?


Inexpensive and informative Apple related e-books:

Take Control of iCloud, Fifth Edition

El Capitan: A Take Control Crash Course

Take Control of High Sierra

Take Control of Pages

Take Control of the Mac Command Line with Terminal, Second Edition






Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





Securing a computer system has traditionally been a battle of wits: the penetrator tries to find the holes, and the designer tries to close them. (Gosser)




Linux posts

Troubleshooting posts


This post tagged:

FAQ

SCO_OSR5



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode