Dear support
Bc 3.1.11 (Windows)
I compare 2 files (file1,file2) on network drive (samba, linux)
After small changes in file2, permissions and owner on linux are changed.
This is very uncomfortable and result in some problems!
There are no such effect while editing files by any external editor.
How can I avoid this?
Here are some details for you
original files:
[email protected] tmp]# ls -la file1 file2
-rwxrwxrwx 1 online online 147 Dec 2 15:49 file1
-rwxrwxrwx 1 online online 147 Dec 2 15:49 file2
After BC change in file2:
[[email protected] tmp]# ls -la file1 file2
-rwxrwxrwx 1 online online 147 Dec 2 15:49 file1
-rw-rw-r-- 1 root root 148 Dec 3 14:12 file2
From samba traces I can see that you create temp file file2~RF10d0216.TMP with default permissions
And then move it to file2 (just my suppose)
This really can result in such behaviour.
Bc 3.1.11 (Windows)
I compare 2 files (file1,file2) on network drive (samba, linux)
After small changes in file2, permissions and owner on linux are changed.
This is very uncomfortable and result in some problems!
There are no such effect while editing files by any external editor.
How can I avoid this?
Here are some details for you
original files:
[email protected] tmp]# ls -la file1 file2
-rwxrwxrwx 1 online online 147 Dec 2 15:49 file1
-rwxrwxrwx 1 online online 147 Dec 2 15:49 file2
After BC change in file2:
[[email protected] tmp]# ls -la file1 file2
-rwxrwxrwx 1 online online 147 Dec 2 15:49 file1
-rw-rw-r-- 1 root root 148 Dec 3 14:12 file2
From samba traces I can see that you create temp file file2~RF10d0216.TMP with default permissions
And then move it to file2 (just my suppose)
This really can result in such behaviour.
Comment