Problem with OS X file permissions on devices running other file system than "hfs"
Hi folks,
sorry for this detailed thread, but i tryed to gather all required information.
I am experiencing a total file / folder permission mess when i am using "rsync" to mirror folders from OS X to a NAS.
When i create a file test.rtf in OS X, the file premission looks like this:
8 -rw-r--r-- 1 flo staff 331 7 Mär 19:16 test.rtf
When i copy this file via finder to a OS X Extended (Journaled) formated firewire harddisc (hfs), the permission looks like:
8 -rw-r--r-- 1 flo staff 331 7 Mär 19:16 test.rtf
all cool.
When i copy this file via finder to a XFS formatted NAS (OS X interprets NAS's file system as a "smbfs"), the permission looks like:
2 -rwxrwxrwx 1 flo staff 331 7 Mär 19:16 test.rtf*
super uncool.
Now using rsync:
rsync'ing the initial file test.rtf from OS X to OS X Extended (Journaled) formated firewire harddisc, the permission looks like:
...flo$ rsync -av file-permissions-test/ /Volumes/officeWD/file-permissions-test/
building file list ... done
./
test.rtf
sent 471 bytes received 48 bytes 1038.00 bytes/sec
total size is 331 speedup is 0.64
8 -rw-r--r-- 1 flo staff 331 7 Mär 19:16 test.rtf
all cool.
rsyncing the initial file from OS X to to a XFS formatted NAS, the permission looks like:
2 -rwxrwxrwx 1 flo staff 331 7 Mär 19:16 test.rtf*
super uncool. (at least rsync and the finder copy operation does the same)
I assume the changed rights / permissions has to do with how a drive is formatted (hfs, ntfs, ext3) etc.?
When i sync to a linux on ext3 it the same problem.
So, is this all about file system, and will this problem be solved using a Time Capsule (is this thing running hfs and can i access it via network?)?
thank you!