Lock not made on .gnupg folder

View: New views
2 Messages — Rating Filter:   Alert me  

Lock not made on .gnupg folder

by Flap Flap :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I'm new to the list so hello all.

I've just installed macgpg on my macbook pro with mac os x 10.4.11

but when I try to run gpg command I get this errors :

gpg: lock not made: link() failed: Operation not supported
gpg: can't lock `/Volumes/DATA/benoitmilgram/.gnupg/secring.gpg'
gpg: DBG: oops, `/Volumes/DATA/benoitmilgram/.gnupg/secring.gpg.lock' is not locked
gpg: ressource bloc de cl'es `/Volumes/DATA/benoitmilgram/.gnupg/secring.gpg': erreur g'en'erale
gpg: lock not made: link() failed: Operation not supported
gpg: can't lock `/Volumes/DATA/benoitmilgram/.gnupg/pubring.gpg'
gpg: DBG: oops, `/Volumes/DATA/benoitmilgram/.gnupg/pubring.gpg.lock' is not locked
gpg: ressource bloc de cl'es `/Volumes/DATA/benoitmilgram/.gnupg/pubring.gpg': erreur g'en'erale
gpg: fatal: /Volumes/DATA/benoitmilgram/.gnupg/trustdb.gpg: base de confiance invalide
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768

It may come from a particularity of my configuration.

I've 3 partitions on my HD, on for MacOsX system, on for Data and another for Windows system (used with bootcamp).
I've modified the system configuration so the home folder is located on the Data partition (on the benoitmilgram folder to be specific) and I think it's the reason of the problem...
I've tried move the folder with the gnupg preference pane but it crashed...

I think I may do this with command line but not find any clue on this...

Thanks for any help

--
Benoît Milgram / Flapflap
http://www.kilooctet.net

I'm also a music mashup / bootlegs producer :
http://www.djgaston.net

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Macgpg-users mailing list
Macgpg-users@...
https://lists.sourceforge.net/lists/listinfo/macgpg-users

Re: Lock not made on .gnupg folder

by Stéphane Corthésy-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

File locking is not possible on FAT volumes. Disable gpg file locking  
to avoid warnings, and be sure that you never have 2 processes trying  
to access to keyrings at the same time, or you might corrupt them...

I'd be interested to have the crash log of System Preferences - see  
$HOME/Library/Logs/CrashReporter/SystemPreferences*

To move your .gnupg folder manually, you need to:
1) move the folder by hand
2) set the GNUPGHOME environment variable to the new path of the  
folder, in the property list file $HOME/.MacOSX/environment.plist
3) Logout/login

Cheers,

Stéphane

On Jan 21, 2009, at 10:27 PM, Flap Flap wrote:

> Hi all,
>
> I'm new to the list so hello all.
>
> I've just installed macgpg on my macbook pro with mac os x 10.4.11
>
> but when I try to run gpg command I get this errors :
>
> gpg: lock not made: link() failed: Operation not supported
> gpg: can't lock `/Volumes/DATA/benoitmilgram/.gnupg/secring.gpg'
> gpg: DBG: oops, `/Volumes/DATA/benoitmilgram/.gnupg/
> secring.gpg.lock' is not locked
> gpg: ressource bloc de cl'es `/Volumes/DATA/benoitmilgram/.gnupg/
> secring.gpg': erreur g'en'erale
> gpg: lock not made: link() failed: Operation not supported
> gpg: can't lock `/Volumes/DATA/benoitmilgram/.gnupg/pubring.gpg'
> gpg: DBG: oops, `/Volumes/DATA/benoitmilgram/.gnupg/
> pubring.gpg.lock' is not locked
> gpg: ressource bloc de cl'es `/Volumes/DATA/benoitmilgram/.gnupg/
> pubring.gpg': erreur g'en'erale
> gpg: fatal: /Volumes/DATA/benoitmilgram/.gnupg/trustdb.gpg: base de  
> confiance invalide
> secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
>
> It may come from a particularity of my configuration.
>
> I've 3 partitions on my HD, on for MacOsX system, on for Data and  
> another for Windows system (used with bootcamp).
> I've modified the system configuration so the home folder is located  
> on the Data partition (on the benoitmilgram folder to be specific)  
> and I think it's the reason of the problem...
> I've tried move the folder with the gnupg preference pane but it  
> crashed...
>
> I think I may do this with command line but not find any clue on  
> this...
>
> Thanks for any help
>
> --
> Benoît Milgram / Flapflap
> http://www.kilooctet.net
>
> I'm also a music mashup / bootlegs producer :
> http://www.djgaston.net
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword_______________________________________________
> Macgpg-users mailing list
> Macgpg-users@...
> https://lists.sourceforge.net/lists/listinfo/macgpg-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Macgpg-users mailing list
Macgpg-users@...
https://lists.sourceforge.net/lists/listinfo/macgpg-users