Timeline for How can Finder permanently show a specific file starting with a dot/period?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 11, 2013 at 14:09 | comment | added | Elias Mossholm | Thanks joerick and Daniel Lawson! I went with the symbolic link, it works like a charm (and it’s excluded from synching with git so it shouldn’t end up on the live server). | |
Nov 11, 2013 at 14:07 | vote | accept | Elias Mossholm | ||
Nov 11, 2013 at 13:58 | comment | added | Elias Mossholm | Oliver, since this is on my local machine I could just tell git to exclude the link from synching to the server, thanks for the legitimate warning though :-). | |
Nov 6, 2013 at 17:14 | comment | added | joerick |
@OlivierDulac, you make a good point. Ensure that apache doesn't serve the htaccess file (or whatever the link's called), to do so might be a security risk.
|
|
Nov 6, 2013 at 17:06 | comment | added | Olivier Dulac |
or use a hardlink (ln .htaccess htaccess ) instead of a soft link... It would be less visible that it is a link, but in some case it's preferable. But in all case, BE CAREFUL. I'd be very worried (and not at all surprised) that doing this could lower the security of the website... you really need to dig info about this before you use that solution at all (either symlink/other name/hard link/etc)!
|
|
Nov 6, 2013 at 16:11 | comment | added | alexis |
You can also link it to something that looks like a dot; I use ,htaccess (etc.), but you could play games with unicode if you really, really wanted to.
|
|
Nov 6, 2013 at 12:55 | history | edited | Daniel♦ | CC BY-SA 3.0 |
added 164 characters in body
|
Nov 6, 2013 at 12:45 | comment | added | Matthieu Riegler | Great workaround since the answer to the title's question was no. | |
Nov 6, 2013 at 12:44 | history | answered | joerick | CC BY-SA 3.0 |