[Users] Error creating socket_dir /tmp/claws-mail-1001: No such file or directory

Luc GMail lucmove at gmail.com
Fri Oct 20 04:51:34 UTC 2023


On Fri, Oct 20, 2023 at 12:56 AM Ralf Mardorf <kde.lists at yahoo.com> wrote:

> On Thu, 2023-10-19 at 22:14 -0300, Luc GMail wrote:
> > Creating the directory manually doesn't work.
>
> Hi,
>
> do I understand correctly that e.g. running
>
>   touch /tmp/hello
>
> creates a file "hello" in the directory "tmp", when using one kernel,
> but it doesn't do so, when using the other kernel?
>
> What's the output of
>
>   ls -ld /tmp/
>
> and
>
>   df -h
>
> when running the kernel, that seems to be related to the issue?
>
> Regards,
> Ralf
>


No, I can create files and directories in /tmp but claws-mail still won't
run:

$ claws-mail --debug
claws.c:102:Starting Claws Mail version Claws Mail 3.14.1
.claws-mail: stat: Permission denied
/tmp/claws-mail-1001: mkdir: Permission denied
Error creating socket_dir /tmp/claws-mail-1001: Permission denied
utils.c:1822:using default rc_dir /home/luc/.claws-mail
main.c:2204:Using control socket
/tmp/claws-mail-1000/faf2a420c5fc824c9c93e4de041ab6df
main.c:2253:Couldn't open
/tmp/claws-mail-1001/faf2a420c5fc824c9c93e4de041ab6df.lock: No such file or
directory (2)

$ mkdir -p /tmp/claws-mail-1001

$ claws-mail --debug
claws.c:102:Starting Claws Mail version Claws Mail 3.14.1
.claws-mail: stat: Permission denied
utils.c:1822:using default rc_dir /home/luc/.claws-mail
main.c:2204:Using control socket
/tmp/claws-mail-1001/faf2a420c5fc824c9c93e4de041ab6df
main.c:2253:Couldn't open
/tmp/claws-mail-1001/faf2a420c5fc824c9c93e4de041ab6df.lock: Permission
denied (13)

$ ls -ld /tmp/
drwxrwxrwt 1 root root 2090 Oct 20 01:40 /tmp/

$ ls -ld /tmp/claws-mail-1001
drwxr-xr-x 1 luc luc 0 Oct 20 01:36 /tmp/claws-mail-1001

$ chmod 777 /tmp/claws-mail-1001

$ ls -ld /tmp/claws-mail-1001
drwxrwxrwx 1 luc luc 0 Oct 20 01:36 /tmp/claws-mail-1001

$ claws-mail --debug
claws.c:102:Starting Claws Mail version Claws Mail 3.14.1
.claws-mail: stat: Permission denied
utils.c:1822:using default rc_dir /home/luc/.claws-mail
main.c:2204:Using control socket
/tmp/claws-mail-1001/faf2a420c5fc824c9c93e4de041ab6df
main.c:2253:Couldn't open
/tmp/claws-mail-1001/faf2a420c5fc824c9c93e4de041ab6df.lock: Permission
denied (13)


More information about the Users mailing list