File not recognized but another file in same folder is recognized
omitheaussie <[email protected]>
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
I am running Ubuntu 20.04 on a machine. There is a rc.local service that runs as follows: #!/bin/bash sudo -u ubuntu s3fs nameofs3bucket /home/ubuntu/folder1 -0 umask=000 -o allow_others url=<url.com> sudo chown -R ubuntu:ubuntu /home/ubuntu/.unison /usr/bin/unison -root /home/ubuntu/folder1 -root /home/ubuntu/folder2 -batch -auto -prefer newer -repeat=watch my permissions for the /usr/bin/ applications involved are rwxrwxrwx (the applications are unison, unison-fsmonitor, s3fs). When I upload a file to s3 bucket the s3fs running in the background is able to mount the file to the folder1 without any problem with public permissions (rwxrwxrwx). I uploaded 3 files to s3 bucket (temp1.txt, temp2.txt, temp3.txt) and I can see all their permissions when s3fs mounts them to folder1 are rwxrwxrwx (due to the umask=000 option). But in the log for unison I only see two of the 3 files and in the folder2 only 2 files get copied. [BGN] Copying temp1.txt from /home/ubuntu/folder1 to /home/ubuntu/folder2 [END] Copying temp1.txt [BGN] Copying temp3.txt from /home/ubuntu/folder1 to /home/ubuntu/folder2 [END] Copying temp3.txt Unison 2.53.3 (ocaml 4.08.1) finished propagating changes at 16:17:21.22 on 25 Aug 2023, 85.803 s I am not sure why unison is missing syncing the third file? Also, if I dont set the option for the permissions for the synced files in folder1 look like -rw-------. In this case unison doesnt sync any files to folder2. I also tried running unison and s3fs both as root in rc.local, but that didnt work either. -- To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].