Agree. I would think the working dir should probably work here too.
 On Sep 14, 2013 8:55 AM, "Josh Albrecht" <notifications@github.com> wrote:

> In
> src/test/scala/com/codexica/s3crate/filetree/local/LinuxFileTreeSpec.scala:
>
> >      }
> >    }
> >
> >    "getting the group" should {
> >      "return the group's name for regular files" in new Context {
> > -      throw new NotImplementedError()
> > +      val file = new File("/tmp/linuxFileGroupTest")
> > +      if (!file.exists()) {
> > +        file.createNewFile()
> > +      }
> > +      val path = Paths.get(file.toURI())
> > +      val group: GroupPrincipal = Files.readAttributes(Paths.get(new File(System.getProperty("user.home")).toURI()), classOf[PosixFileAttributes], LinkOption.NOFOLLOW_LINKS).group()
>
> Similar failure here as above likely, though I don't know how to fix this
> one. The only way I can think of is calling a shell process to figure out
> what group you are, but that's horrible.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/joshalbrecht/s3crate/pull/1/files#r6364096>
> .
>