lyt23 / filesync4eclipse

Automatically exported from code.google.com/p/filesync4eclipse
1 stars 0 forks source link

filesync modifies permissions in a weird way #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

When I try to sync files to a folder on a remote machine mounted using
sshfs or samba, then permissions of the files get messed up:

- if a file was read only, say -r--r--r--, it becomes -rw------- (if synced
to a local folder it becomes -rw-r--r--, which makes more sense)

- if the remote folder was mounted using samba, then -rw-r--r-- becomes,
-rwx-r--r--, which is totally weird (doesn't happen with sshfs)

I am using Mac OS X 10.5.6, and syncing files to a Linux box. 

Original issue reported on code.google.com by bitterc...@gmail.com on 1 Jul 2009 at 1:36

GoogleCodeExporter commented 8 years ago
I tend to close this issue for the followed reasons:
- file system permissions maintenance was/is not a goal of fylesync
- Java 1.4 - 1.5 does not provide any file system API to manage file system 
permissions

Actually only Java 1.6 would allow me to fix the issue (I hope). But I will NOT 
migrate to thi Java version right now, because most of the users will not 
migrate to 
it in the next two years ;-)

Another possibility would be to create a second FS version for 1.6 VM only, but 
I 
just have no time to maintain two branches.

Original comment by iloveeclipse on 1 Jul 2009 at 5:22