diff --git a/heyefi.cabal b/heyefi.cabal
--- a/heyefi.cabal
+++ b/heyefi.cabal
@@ -3,7 +3,7 @@
 -- see: https://github.com/sol/hpack
 
 name:                heyefi
-version:             2.0.0.0
+version:             2.0.0.1
 synopsis:            A server for Eye-Fi SD cards.
 description:         This server listens for Eye-Fi cards that want to upload files to a computer and stores them in an upload directory. It is meant to be run as a system daemon.
 category:            Network
diff --git a/test/HEyefi/UploadPhotoSpec.hs b/test/HEyefi/UploadPhotoSpec.hs
--- a/test/HEyefi/UploadPhotoSpec.hs
+++ b/test/HEyefi/UploadPhotoSpec.hs
@@ -39,14 +39,14 @@
           bs <- BS.readFile "test_upload_file.tar"
           removeUploadDir
           createDirectory uploadDir
-          ge <- getGroupEntryForName "wheel"
-          ue <- getUserEntryForName "ryantm"
-          setOwnerAndGroup uploadDir (userID ue) (groupID ge)
+          gid <- getRealGroupID
+          uid <- getRealUserID
+          setOwnerAndGroup uploadDir uid gid
           _ <- runWithConfig uploadConfig (writeTarFile bs)
           contents <- getDirectoryContents uploadDir
           length contents `shouldBe` 3
           let f = "test_upload_dir/test_upload_file.txt"
           fs <- getFileStatus f
-          fileGroup fs `shouldBe` groupID ge
-          fileOwner fs `shouldBe` userID ue
+          fileGroup fs `shouldBe` gid
+          fileOwner fs `shouldBe` uid
           removeUploadDir))
