Hello everybody,
I know that there are a lot of information written about the subject. I’ve read many sources and did a number of experiments, but unfortunately I still cannot solve the puzzle. It looks like I’m missing something basic.
I installed Samba 2.2.4 on QNX 6.2. Configuration is pretty simple:
[global]
workgroup = QNX
netbios name = CVS
unix extensions = Yes
case sensitive = Yes
map archive = No
create mask = 0777
[abc]
path = /home/abc
writable = Yes
I want to connect to the server from QNX and from Win, but I’m mostly concerned about keeping there QNX files. Generally speaking I want to put there a file with -rwxrw-rw- attributes, see the same attributes there and take it back with the same attributes.
Now I observe the following behavior. I mount “abc” service as /fs/abc on client computer (QNX 6.2). Then I copy “hello” file with -rwx-rw-rw- attributes to /fs/abc. When I do ls -l /fs/abc/hello I see -rwxrwxrwx. When I do ls -l /home/abc/hello I see -rw-rw-rw.
When I copy the file back to client disk (new location) the attributes are amazingly restored to their original state.
Is there anything I can do with configuration to see proper attributes at least from client? As you can see in my smb.conf, I try to preserve all attributes with “create mask = 0777” and don’t care about DOS attributes mapping.
Thanks,
Serge