Skip to content

Inconsistent permissions and smartremove.lck on server #2055

@protist

Description

@protist

Describe the problem, feature or ask a question:

I backup via ssh to a server, and can see some odd permissions on some of the directories. Mostly the directories have drwxr-xr-x, but some are drwx------. From the dates, they possibly look like some snapshots that should have been smart removed? I also have a file named smartremove.lck that has been present for the last 24+ hours.

On the server:

$ ls -lF /path/to/backintime/host-name/root/1
total 76
drwxr-xr-x 3 root root 4096 Nov 30 20:40 20241130-202500-338/
drwx------ 2 root root 4096 Dec  9 07:48 20241208-164000-950/
drwx------ 2 root root 4096 Dec 26 09:35 20241225-181022-246/
drwx------ 3 root root 4096 Dec 28 18:53 20241228-183500-747/
drwxr-xr-x 3 root root 4096 Dec 31 17:47 20241231-171000-165/
drwxr-xr-x 3 root root 4096 Jan  5 11:31 20250105-110500-633/
drwxr-xr-x 3 root root 4096 Jan 11 16:05 20250111-152000-276/
drwxr-xr-x 3 root root 4096 Jan 19 12:51 20250119-123000-501/
drwxr-xr-x 3 root root 4096 Jan 26 16:20 20250126-160000-611/
drwx------ 3 root root 4096 Jan 30 12:19 20250130-115000-674/
drwxr-xr-x 3 root root 4096 Feb  6 09:41 20250206-091500-641/
drwxr-xr-x 3 root root 4096 Feb 16 14:55 20250216-142000-122/
drwxr-xr-x 3 root root 4096 Feb 23 19:06 20250223-181219-853/
drwxr-xr-x 3 root root 4096 Feb 26 19:49 20250226-193001-892/
drwxr-xr-x 3 root root 4096 Feb 28 08:17 20250228-075528-693/
drwxr-xr-x 3 root root 4096 Mar  4 09:14 20250304-084501-338/
drwxr-xr-x 3 root root 4096 Mar  6 11:55 20250306-100000-310/
drwx------ 3 root root 4096 Mar 10 13:51 20250310-132013-454/
drwxr-xr-x 3 root root 4096 Mar 10 18:20 20250310-140624-875/
lrwxrwxrwx 1 root root   19 Mar 10 18:20 last_snapshot -> 20250310-140624-875/
-rw-r--r-- 1 root root    0 Mar 10 13:51 smartremove.lck

When logging into the GUI on the client, backintime lists all but two of these backups. These are the two that are missing:

drwx------ 2 root root 4096 Dec  9 07:48 20241208-164000-950/
drwx------ 2 root root 4096 Dec 26 09:35 20241225-181022-246/

These are two of the five with the different permissions. I have several systems running backintime via ssh, and they all seem to have inconsistent permissions for the backups.

On the client:

$ backintime --diagnostics
{
    "backintime": {
        "name": "Back In Time",
        "version": "1.5.3",
        "running-as-root": false,
        "latest-config-version": 6,
        "local-config-file": "/home/UsernameReplaced/.config/backintime/config",
        "local-config-file-found": true,
        "global-config-file": "/etc/backintime/config",
        "global-config-file-found": false,
        "started-from": "/usr/share/backintime/common",
        "user-callback": "/home/UsernameReplaced/.config/backintime/user-callback",
        "keyring-supported": true
    },
    "host-setup": {
        "OS": {
            "/etc/os-release": "Arch Linux",
            "/etc/arch-release": "\n"
        },
        "platform": "Linux-6.12.17-1-lts-x86_64-with-glibc2.41",
        "system": "Linux #1 SMP PREEMPT_DYNAMIC Thu, 27 Feb 2025 14:12:30 +0000",
        "display-system": "tty",
        "locale": "en_AU, UTF-8",
        "PATH": "/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl",
        "RSYNC_OLD_ARGS": "(not set)",
        "RSYNC_PROTECT_ARGS": "(not set)"
    },
    "python-setup": {
        "python": "3.13.2 main Feb  5 2025 08:05:21 CPython GCC 14.2.1 20250128",
        "python-executable": "/usr/bin/python",
        "python-executable-symlink": true,
        "python-executable-resolved": "/usr/bin/python3.13",
        "sys.path": [
            "/usr/share/backintime/qt/plugins",
            "/usr/share/backintime/common/plugins",
            "/usr/share/backintime/plugins",
            "/usr/share/backintime/common",
            "/usr/lib/python313.zip",
            "/usr/lib/python3.13",
            "/usr/lib/python3.13/lib-dynload",
            "/usr/lib/python3.13/site-packages"
        ],
        "qt": {
            "Version": "PyQt 6.8.1 / Qt 6.8.2"
        }
    },
    "external-programs": {
        "rsync": {
            "version": "3.4.1",
            "protocol": "32.0",
            "capabilities": "file_bits: 64; inum_bits: 64; timestamp_bits: 64; long_int_bits: 64; socketpairs: True; symlinks: True; symtimes: True; hardlinks: True; hardlink_specials: True; hardlink_symlinks: True; IPv6: True; atimes: True; batchfiles: True; inplace: True; append: True; ACLs: True; xattrs: True; secluded_args: optional; iconv: True; prealloc: True; stop_at: True; crtimes: False",
            "optimizations": "SIMD_roll: True; asm_roll: False; openssl_crypto: True; asm_MD5: False",
            "checksum_list": "xxh128, xxh3, xxh64, md5, md4, sha1, none",
            "compress_list": "zstd, lz4, zlibx, zlib, none",
            "daemon_auth_list": "sha512, sha256, sha1, md5, md4"
        },
        "ssh": "OpenSSH_9.9p2, OpenSSL 3.4.1 11 Feb 2025",
        "sshfs": "3.7.3",
        "encfs": "1.9.5",
        "shell": "/usr/bin/bash",
        "shell-version": "GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions