[Solved] Cannot write file "/home/rpowell/.config/FreeFileSync/Install.dat.eace.tmp".

Discuss new features and functions
Posts: 10
Joined: 17 Aug 2016

RogerP

I know this has been asked before, and I've read all the posts.

FFS simply doesn't even start, I get the above message along with `EACCES: Permission denied [open]`. Same with RTS.

I've had this problem since FFS v11.16; I have just installed 11.20 (I've been using FFS regularly for at least 8-9 years).

I use Endeavorous Linux (type of Arch Linux)
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux-logo
I have tried all possible permission settings in the folder. The file `Install.dat.eace.tmp` doesn't exist so it's not locked. I've tried creating an empty file with that name and giving permissions.

Any ideas?
Posts: 309
Joined: 7 Jan 2018

bgstack15

You've started with a great step, of course. I'm guessing Arch Linux/Endeavorous doesn't use SELinux or AppArmor?
Have you checked that the application is running as the correct user? (No reason to think it isn't, but I don't have a lot.)
Are you comfortable running the application with strace, and grepping the output for /open\(/?
edit 1: I'm starting to look through the changes between 11.15 and 11.16. In the mean time, what kind of filesystem is ~/.config/FreeFileSync/ on?
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

The failing code is in zen/file_io.cpp (shortened)
const int fdFile = ::open(filePath, O_CREAT | O_EXCL | O_WRONLY  | O_CLOEXEC,
    S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); //0666
 if (fdFile == -1)
 {
 }
One trigger could be the O_EXCL, another the 0666.
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

Does this mean you've been unable to run any FFS version since 11.16?

What do you get for the following command:
strace touch "/home/rpowell/.config/FreeFileSync/Install.dat.123.tmp"
Posts: 10
Joined: 17 Aug 2016

RogerP

Many thanks for the responses. Sorry not to respond quicker.

file system: ext4
Run from CLI causes the same widget to pop up with the same error but it stops exactly as shown below i.e. with Read(3, [reminds me of FORTRAN :) ]
[rpowell@roger-pc FreeFileSync]$ strace ./FreeFileSync
execve("./FreeFileSync", ["./FreeFileSync"], 0x7ffc20edc3e0 /* 75 vars */) = 0
[ Process PID=4993 runs in 32 bit mode. ]
strace: WARNING: Proper structure decoding for this personality is not supported, please consider building strace with mpers support enabled.
set_thread_area({entry_number=-1, base_addr=0x805180c, limit=0x0fffff, seg_32bit=1, contents=0, read_exec_only=0, limit_in_pages=1, seg_not_present=0, useable=1}) = 0 (entry_number=12)
set_tid_address(0x80518b4)              = 4993
pipe2([3, 4], O_CLOEXEC)                = 0
brk(NULL)                               = 0x9ccf000
brk(0x9cd1000)                          = 0x9cd1000
mmap2(0x9ccf000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x9ccf000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7fbe000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7fbd000
rt_sigprocmask(SIG_BLOCK, ~[], [], 8)   = 0
pipe2([5, 6], O_CLOEXEC)                = 0
clone(child_stack=0xff81dc10, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 4994
close(6)                                = 0
read(5, "", 4)                          = 0
close(5)                                = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0xf7fbd000, 4096)                = 0
fcntl64(3, F_SETFD, 0)                  = 0
close(4)                                = 0
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7fba000
readv(3, [{iov_base="x86_64\n", iov_len=4094}, {iov_base="", iov_len=1024}], 2) = 7
readv(3, [{iov_base="", iov_len=4087}, {iov_base="", iov_len=1024}], 2) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4994, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
close(3)                                = 0
munmap(0xf7fbe000, 4096)                = 0
wait4(4994, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4994
readlink("/proc/self/exe", "/home/rogerp/FreeFileSync/FreeFi"..., 4096) = 38
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7fbe000
pipe2([3, 4], O_CLOEXEC)                = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[], ~[KILL STOP RTMIN RT_1 RT_2], 8) = 0
fork()                                  = 4996
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1 RT_2], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
close(4)                                = 0
read(3,
When I click the OK button, it finished with .. (btw: it's the same read(3, but with "" etc.)
read(3, "", 16384)                      = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4996, si_uid=1000, si_status=4, si_utime=24, si_stime=7} ---
wait4(4996, [{WIFEXITED(s) && WEXITSTATUS(s) == 4}], 0, NULL) = 4996
close(3)                                = 0
munmap(0xf7fbe000, 4096)                = 0
munmap(0xf7fba000, 16384)               = 0
exit_group(4)                           = ?
+++ exited with 4 +++
Posts: 10
Joined: 17 Aug 2016

RogerP

I didn't do any installs between between 11.16 and 11.20
 strace touch "/home/rpowell/.config/FreeFileSync/Install.dat.6e95.tmp"
gives ...
execve("/usr/bin/touch", ["touch", "/home/rpowell/.config/FreeFileSy"...], 0x7fffd8011f68 /* 75 vars */) = 0
brk(NULL)                               = 0x55a443277000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc10176770) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=187043, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 187043, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f029c4f7000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\324\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0@\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0"..., 80, 848) = 80
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\205vn\235\204X\261n\234|\346\340|q,\2"..., 68, 928) = 68
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=2463384, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f029c4f5000
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 2136752, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f029c2eb000
mprotect(0x7f029c317000, 1880064, PROT_NONE) = 0
mmap(0x7f029c317000, 1531904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c000) = 0x7f029c317000
mmap(0x7f029c48d000, 344064, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a2000) = 0x7f029c48d000
mmap(0x7f029c4e2000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f6000) = 0x7f029c4e2000
mmap(0x7f029c4e8000, 51888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f029c4e8000
close(3)                                = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f029c2e8000
arch_prctl(ARCH_SET_FS, 0x7f029c2e8740) = 0
set_tid_address(0x7f029c2e8a10)         = 5113
set_robust_list(0x7f029c2e8a20, 24)     = 0
rseq(0x7f029c2e90e0, 0x20, 0, 0x53053053) = 0
mprotect(0x7f029c4e2000, 12288, PROT_READ) = 0
mprotect(0x55a4416f0000, 4096, PROT_READ) = 0
mprotect(0x7f029c55a000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7f029c4f7000, 187043)          = 0
getrandom("\xb3\xbc\xd2\xe6\x55\xea\xd6\x78", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x55a443277000
brk(0x55a443298000)                     = 0x55a443298000
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=3053472, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 3053472, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f029bffe000
close(3)                                = 0
openat(AT_FDCWD, "/home/rpowell/.config/FreeFileSync/Install.dat.6e95.tmp", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK, 0666) = -1 EACCES (Permission denied)
utimensat(AT_FDCWD, "/home/rpowell/.config/FreeFileSync/Install.dat.6e95.tmp", NULL, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2998, ...}, AT_EMPTY_PATH) = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2998
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/locale/en_GB.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_GB/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "touch: ", 7touch: )                  = 7
write(2, "cannot touch '/home/rpowell/.con"..., 70cannot touch '/home/rpowell/.config/FreeFileSync/Install.dat.6e95.tmp') = 70
openat(AT_FDCWD, "/usr/share/locale/en_GB.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_GB/LC_MESSAGES/libc.mo", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=1433, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 1433, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f029c559000
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, ": Permission denied", 19: Permission denied)     = 19
write(2, "\n", 1
)                       = 1
close(1)                                = 0
close(2)                                = 0
exit_group(1)                           = ?
+++ exited with 1 +++
Posts: 10
Joined: 17 Aug 2016

RogerP

@bgstack15

Didn't read your post properly
strace ./FreeFileSync | grep /open\(/
Reveals the following erudite response:
execve("./FreeFileSync", ["./FreeFileSync"], 0x7ffd1e930570 /* 75 vars */) = 0
[ Process PID=5181 runs in 32 bit mode. ]
strace: WARNING: Proper structure decoding for this personality is not supported, please consider building strace with mpers support enabled.
set_thread_area({entry_number=-1, base_addr=0x805180c, limit=0x0fffff, seg_32bit=1, contents=0, read_exec_only=0, limit_in_pages=1, seg_not_present=0, useable=1}) = 0 (entry_number=12)
set_tid_address(0x80518b4)              = 5181
pipe2([3, 4], O_CLOEXEC)                = 0
brk(NULL)                               = 0x8d34000
brk(0x8d36000)                          = 0x8d36000
mmap2(0x8d34000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x8d34000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7f64000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7f63000
rt_sigprocmask(SIG_BLOCK, ~[], [], 8)   = 0
pipe2([5, 6], O_CLOEXEC)                = 0
clone(child_stack=0xffd1a810, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 5182
close(6)                                = 0
read(5, "", 4)                          = 0
close(5)                                = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0xf7f63000, 4096)                = 0
fcntl64(3, F_SETFD, 0)                  = 0
close(4)                                = 0
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7f60000
readv(3, [{iov_base="x86_64\n", iov_len=4094}, {iov_base="", iov_len=1024}], 2) = 7
readv(3, [{iov_base="", iov_len=4087}, {iov_base="", iov_len=1024}], 2) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5182, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
close(3)                                = 0
munmap(0xf7f64000, 4096)                = 0
wait4(5182, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5182
readlink("/proc/self/exe", "/home/rogerp/FreeFileSync/FreeFi"..., 4096) = 38
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7f64000
pipe2([3, 4], O_CLOEXEC)                = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[], ~[KILL STOP RTMIN RT_1 RT_2], 8) = 0
fork()                                  = 5184
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1 RT_2], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
close(4)                                = 0
read(3, "", 16384)                      = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5184, si_uid=1000, si_status=4, si_utime=26, si_stime=6} ---
wait4(5184, [{WIFEXITED(s) && WEXITSTATUS(s) == 4}], 0, NULL) = 5184
close(3)                                = 0
munmap(0xf7f64000, 4096)                = 0
munmap(0xf7f60000, 16384)               = 0
exit_group(4)                           = ?
+++ exited with 4 +++
Pure poetry. I'll see if I can find a publisher.
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

Looks like there is a general permission issue when accessing this folder, not just with FFS:
openat(AT_FDCWD, "/home/rpowell/.config/FreeFileSync/Install.dat.6e95.tmp", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK, 0666) = -1 EACCES (Permission denied)
Posts: 309
Joined: 7 Jan 2018

bgstack15

Can you indulge us with examining this directory in more details? Be prepared to scrub out any personal data, although I don't expect the filenames inside directory ~/.config/FreeFileSync should be a problem.
ls -alZ ~/.config/FreeFileSync
id
ls -aln ~/.config/FreeFileSync
The first one shows us the permissions (from the -l, long) including selinux context (-Z) and includes the directory itself (-a) which shows up as dot "." in the listing. The "id" command shows us your username and uid. The third command tells ls to show us uid and gid of the owners of the files. It is possible you copied this directory from another system and the uid is not the same.
Or perhaps this directory is mounted on a read-only filesystem (highly unlikely; and the error message usually makes that clear).
/home/bgstack15$ mount | grep "on $( df -PBM . | tail -n1 | awk '{print $NF}' ) type"
/dev/mapper/fedora_vm2-home on /home type ext4 (rw,noatime,seclabel)
Here is my output for a command that shows us the that my current directory is underneath mount point /home and it is mounted read-write (rw).

Let me jump the gun and say that if the uid/username of the owner of ~/.config/FreeFileSync is not your current uid/username, then you will need to chown it.
sudo chown --recursive ~/.config/FreeFileSync
Posts: 10
Joined: 17 Aug 2016

RogerP

Thanks for staying with me.
ls -alZ ~/.config/FreeFileSync
total 28
drwxrwxr-x  3 rpowell rpowell ? 4096 Apr 21 18:38 .
drwxrwxr-x 82 rpowell rpowell ? 4096 Apr 27 20:39 ..
-rw-r--r--  1 rpowell rpowell ? 7724 Aug 18  2021 GlobalSettings.xml
-rw-rw-r--  1 rpowell rpowell ?   33 Feb  6  2021 Install.dat
-rwxrwxrwx  1 rpowell rpowell ?    0 Apr 21 18:38 Install.dat.6da4.tmp
-rw-r--r--  1 rpowell rpowell ? 1133 Aug 18  2021 LastRun.ffs_gui
drwxr-xr-x  2 rpowell rpowell ? 4096 Aug 18  2021 Logs
and ...
id
uid=1000(rpowell) gid=1000(rpowell) groups=1000(rpowell),3(sys),19(log),90(network),94(floppy),96(scanner),98(power),983(rfkill),985(users),986(video),988(storage),990(optical),991(lp),995(audio),998(wheel),999(adm)
and ...
ls -alnZ ~/.config/FreeFileSync
total 28
drwxrwxr-x  3 1000 1000 ? 4096 Apr 21 18:38 .
drwxrwxr-x 82 1000 1000 ? 4096 Apr 27 20:39 ..
-rw-r--r--  1 1000 1000 ? 7724 Aug 18  2021 GlobalSettings.xml
-rw-rw-r--  1 1000 1000 ?   33 Feb  6  2021 Install.dat
-rwxrwxrwx  1 1000 1000 ?    0 Apr 21 18:38 Install.dat.6da4.tmp
-rw-r--r--  1 1000 1000 ? 1133 Aug 18  2021 LastRun.ffs_gui
drwxr-xr-x  2 1000 1000 ? 4096 Aug 18  2021 Logs
Note that I couldn't make the install.dat.64a4.tmp file more permissive.
Posts: 309
Joined: 7 Jan 2018

bgstack15

Hm, the permissions clearly look good. I'm at a loss.

Can you show us the output of:
df -BM ~/.config/FreeFileSync
df -i ~/.config/FreeFileSync
mount | grep "on $( df -PBM . | tail -n1 | awk '{print $NF}' ) type"
It makes no sense that this one directory is unwriteable for your user. Perhaps you could try:
sudo touch /home/rpowell/.config/FreeFileSync/Install.dat.987.temp
Posts: 10
Joined: 17 Aug 2016

RogerP

The requested output:
[rpowell@roger-pc ~]$ df -BM ~/.config/FreeFileSync
Filesystem     1M-blocks    Used Available Use% Mounted on
/dev/sda1        928925M 184842M   696825M  21% /
[rpowell@roger-pc ~]$ df -i ~/.config/FreeFileSync
Filesystem       Inodes   IUsed    IFree IUse% Mounted on
/dev/sda1      60473344 1765332 58708012    3% /
[rpowell@roger-pc ~]$ mount | grep "on $( df -PBM . | tail -n1 | awk '{print $NF}' ) type"
/dev/sda1 on / type ext4 (rw,noatime)
And I already tried touching a new file. But when I do, FFS seems to try a new name and then doesn't have the permission to create it. I will try checking the Endeavouros forum.
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

And I already tried touching a new file. But when I do, RogerP, 09 May 2022, 13:10
??? According to your log (viewtopic.php?t=9309#p33765), touch fails, unrelated to FFS.
Posts: 10
Joined: 17 Aug 2016

RogerP

You are right. Sorry for being stupid. When FreeFileSync 11.20 Setup runs it assumes the username and the name of the home directory are the same. For reasons of ease of mounting a remote drive I changed the name of the home directory. E.g.:
[rpowell@roger-pc ~]$ pwd
/home/rogerp
Maybe I should install from
FreeFileSync_11.20_[Donation_Edition]_Linux.zip
instead. I'll give that a try. Sorry for being a time waster.
Posts: 10
Joined: 17 Aug 2016

RogerP

Apologies again! The zip file just contains the binaries, I thought for a minute it might be source.
Posts: 10
Joined: 17 Aug 2016

RogerP

Let me jump the gun and say that if the uid/username of the owner of ~/.config/FreeFileSync is not your current uid/username, then you will need to chown it.
sudo chown --recursive ~/.config/FreeFileSync
bgstack15, 24 Apr 2022, 19:54
Thank you!
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

You are right. Sorry for being stupid. When FreeFileSync 11.20 Setup runs it assumes the username and the name of the home directory are the same. For reasons of ease of mounting a remote drive I changed the name of the home directory. E.g.:
[rpowell@roger-pc ~]$ pwd
/home/rogerp
RogerP, 15 May 2022, 16:13
Now there's something for FFS to improve!

FFS should first consider the HOME environment variable, then fall back to getpwuid(getuid())->pw_dir. This is default Linux behavior and should solve your requirement, too: https://www.mediafire.com/file/qi2jdd4t0ouj676/FreeFileSync_11.22_beta_Linux.tar.gz