Skip to content

Permission error with utimensat after recent update #382

Description

@elpres

We recently upgraded a server from Fedora 43 to 44, and after that certain programs that used to work on an SSHFS mount started failing. The error can be reproduced with touch:

$ touch --date "$(date)" test
touch: setting times of 'test': Operation not permitted

strace shows this:

1584886 utimensat(0, NULL, [{tv_sec=1784638816, tv_nsec=0} /* 2026-07-21T15:00:16+0200 */, {tv_sec=1784638816, tv_nsec=0} /* 2026-07-21T15:00:16+0200 */], 0) = -1 EPERM (Operation not permitted)

These are the installed package versions:

# rpm -qa | grep fuse
fuse3-libs-3.18.2-1.fc44.x86_64
fuse-common-3.18.2-1.fc44.x86_64
fuse3-3.18.2-1.fc44.x86_64
fuse-overlayfs-1.16-2.fc44.x86_64
fuse-sshfs-3.7.6-1.fc44.x86_64
# sshfs --version
SSHFS version 3.7.6
FUSE library version 3.18.2
using FUSE kernel interface version 7.45
fusermount3 version: 3.18.2

The mount options look like this:

noauto,x-systemd.automount,IdentityFile=/root/.ssh/id_key,_netdev,reconnect,idmap=user,allow_other,default_permissions,umask=0007,compression=no,gid=ssh_remote

On a different machine running AlmaLinux 10, the same thing works:

$ touch --date $(date) test
$ rpm -qa | grep fuse
fuse-libs-2.9.9-25.el10.x86_64
fuse3-libs-3.16.2-5.el10.x86_64
fuse-common-3.16.2-5.el10.x86_64
fuse3-3.16.2-5.el10.x86_64
fuse-sshfs-3.7.3-10.el10_0.x86_64
$ sshfs --version
SSHFS version 3.7.3
FUSE library version 3.16.2
using FUSE kernel interface version 7.38
fusermount3 version: 3.16.2

Any help or advice on where else to report this error would be greatly appreciated. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions