Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbolic link error shown but link as root folder is followed and works #1855

Closed
seffw opened this issue Feb 13, 2016 · 4 comments
Closed

Symbolic link error shown but link as root folder is followed and works #1855

seffw opened this issue Feb 13, 2016 · 4 comments
Assignees
Labels

Comments

@seffw
Copy link

seffw commented Feb 13, 2016

In Windows 7 x64, created symlink content in Hugo source folder to content_src which contained content to be generated.

Hugo throws error on build: 'Symbolic links not supported'. However the content from content_src is generated as normal (so in this case, symobilic links work).

Solution: remove error when symbolic link is a root folder, leave it as-is for all other cas

@bep
Copy link
Member

bep commented Feb 14, 2016

Just tested this on OS X, and I get the error ... but I also don't get the content created. I believe we could make this work, but I cannot see how it could right now, even on Windows ....

@seffw
Copy link
Author

seffw commented Feb 14, 2016

I was pretty carefult in testing. I put the word symlink in the content of a content_src folder, and then created a symlink content to that folder. This was built by Hugo, with the error shown, and with the content generated.

Unless Hugo took the content from content_src ? Is this possible? Using the word 'content' in this folder name was probably not the best idea.

I'll test again with the content_src with a different name and location.

@bep
Copy link
Member

bep commented Feb 14, 2016

It doesn't really matter -- the pull request that is referenced to this issue should fix this issue for both you and me.

bep added a commit to bep/hugo that referenced this issue Feb 14, 2016
Note: This is for the content roots only, but that should satisfy most needs.

Fixes gohugoio#1855
@spf13 spf13 closed this as completed in e5aa477 Mar 21, 2016
tychoish pushed a commit to tychoish/hugo that referenced this issue Aug 13, 2017
Note: This is for the content roots only, but that should satisfy most needs.

Fixes gohugoio#1855
@github-actions
Copy link

github-actions bot commented Apr 8, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants