Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I remove the hidden attribute on a .htaccess file that is stored on an OSX server that is accessed from a Windows machine via SMB? When I currently remove the hidden attribute it does not stick.

Many thanks

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

I haven't tested this, but I think adding

hide dot files = no

to either the [global] section of /etc/smb.conf (which'll make it apply to all share points), or the specific share point's section of /var/db/samba/smb.shares. Note that these files may get overwritten (either due to a settings change or system update), so be prepared to reinsert that directive as needed.

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.