LFS Error: Access forbidden. Check your access level.
This happens when cloning a public repo with LFS content on which you do not have write access.
git-lfs/1.0.2 (GitHub; darwin amd64; go 1.5.1)
git version 2.5.1
$ git-lfs smudge images/2011-06-27.jpg
Error accessing media: images/2011-06-27.jpg (345560b7d4e8eddc2a1bda60c067c98f4c9ad2ce1c187b65f99bde1aa3beaf72)
Access forbidden. Check your access level.
Docs: https://gitlab.com/help
goroutine 1 [running]:
github.com/github/git-lfs/lfs.Stack(0x0, 0x0, 0x0)
/private/tmp/git-lfs20151028-50673-dp7qny/git-lfs-1.0.2/src/github.com/github/git-lfs/lfs/errors.go:557 +0x80
github.com/github/git-lfs/commands.logPanicToWriter(0xc641e8, 0xc8204760b0, 0xca1260, 0xc820168880)
/private/tmp/git-lfs20151028-50673-dp7qny/git-lfs-1.0.2/src/github.com/github/git-lfs/commands/commands.go:184 +0xf7f
github.com/github/git-lfs/commands.logPanic(0xca1260, 0xc820168880, 0x0, 0x0)
/private/tmp/git-lfs20151028-50673-dp7qny/git-lfs-1.0.2/src/github.com/github/git-lfs/commands/commands.go:148 +0x421
github.com/github/git-lfs/commands.handlePanic(0xca1260, 0xc820168880, 0x0, 0x0)
/private/tmp/git-lfs20151028-50673-dp7qny/git-lfs-1.0.2/src/github.com/github/git-lfs/commands/commands.go:123 +0x4e
github.com/github/git-lfs/commands.LoggedError(0xca1260, 0xc820168880, 0x4e3700, 0x1e, 0xc8200f3c98, 0x2, 0x2)
/private/tmp/git-lfs20151028-50673-dp7qny/git-lfs-1.0.2/src/github.com/github/git-lfs/commands/commands.go:73 +0x82
github.com/github/git-lfs/commands.smudgeCommand(0x6bbf20, 0xc820013930, 0x1, 0x1)
/private/tmp/git-lfs20151028-50673-dp7qny/git-lfs-1.0.2/src/github.com/github/git-lfs/commands/command_smudge.go:80 +0xd89
github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).execute(0x6bbf20, 0xc820013880, 0x1, 0x1, 0x0, 0x0)
/private/tmp/git-lfs20151028-50673-dp7qny/git-lfs-1.0.2/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:477 +0x403
github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).Execute(0x6bcc20, 0x0, 0x0)
/private/tmp/git-lfs20151028-50673-dp7qny/git-lfs-1.0.2/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:551 +0x46a
github.com/github/git-lfs/commands.Run()
/private/tmp/git-lfs20151028-50673-dp7qny/git-lfs-1.0.2/src/github.com/github/git-lfs/commands/commands.go:88 +0x23
main.main()
/private/tmp/git-lfs20151028-50673-dp7qny/git-lfs-1.0.2/git-lfs.go:34 +0x12e
ENV:
LocalWorkingDir=.
LocalGitDir=.git
LocalGitStorageDir=.git
LocalMediaDir=.git/lfs/objects
TempDir=.git/lfs/tmp
ConcurrentTransfers=3
BatchTransfer=true
GIT_DIR=.git
GIT_WORK_TREE=.