Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

On my ML MBP, '/opt' is somehow 'hidden'. In the finder, it shows in gray. In various applications, it's invisible from a file selection dialog box. Get Info and ls -l show now flags that corresponds to this behavior. Is there any way to turn it off?

share|improve this question
    
Do you have the Finder set to display invisible files? –  Max Ried Sep 19 '12 at 13:01
add comment

1 Answer

up vote 2 down vote accepted

Out of the box, there is no /opt file delivered by OS X.

This command will show the hidden status of files in root ls -lO / with O being the capital letter, not zero. The chflags command can be used to toggle the hidden flag if needed.

Depending on how you got /opt created, you may or may not have issues with the permissions changing again - most tools leave things alone with respect to filesystem flags as long as the read/write/execute permissions are not removed.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.