emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using glib's g_file_monitor_file and g_file_monitor_directory


From: Michael Albinus
Subject: Re: Using glib's g_file_monitor_file and g_file_monitor_directory
Date: Wed, 29 May 2013 08:12:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

>> # env DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/foo" emacs --eval
>> "(dbus-init-bus :session)"
>
> Thanks.  What is the significance of "/tmp/foo" here?
> Will any file name do, e.g.,
> DBUS_SESSION_BUS_ADDRESS="unix:path=/"?
> Or must it be a file that is guaranteed
> to not exist?  If the latter, that might
> be hard to arrange reliably.

DBUS_SESSION_BUS_ADDRESS="unix:path=/" works, but returns "Permission
denied". I have not checked what happens if "/" is writable for the caller.

DBUS_SESSION_BUS_ADDRESS="unix:path=/dev/null" seems to be reliable.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]