Products from ITeF!x
Copssh fails to set correct File permissions.
Hi all
Long Story short:
Been using Copssh for quite a long time with no problems.
Recently installed copssh 3.0.1 on a batch of Win7 pc prior to deployment.
Found a couple of problems AFTER DEPLOYMENT:
- only about 10% of new ssh connections get in. upgrading to 3.0.3 seems to change to about 10% miss. (ACCEPTABLE)
- File permissions fail: If i use scp or RSync to upload a file, the file permissions are set to r--r--r-- and do not inherit current folder permissions. Sometimes, depending on the directory, perminssions may be set to none. Furthermore, if i retrive a file from Win7/Copssh to the linux server, the retrived file has its permissions set to none.
I use COPSSH on Win7 PCs for three main reasons:
- Download of aplication Logs --> get file on linux server that no one can use, must be chmod to u+r
- Upload of new aplication versions -> no execution permission, must be chmod to a+x
- install new fonts -> on /cygdrive/c/windows/fonts files have permision to none, must be chmod to a+rx
Can anyone shed a light on this?
Thanks in advance.
No change was done to FSTAB. please check below
# fstab file created by ICW Base installer
#
# see fstab.txt in the installation directory for more information
C:/Program\040Files/ICW / ntfs override,binary,noacl 0 0
C:/Program\040Files/ICW/bin /usr/bin ntfs override,binary,noacl 0 0
C:/Program\040Files/ICW/etc/terminfo /usr/share/terminfo ntfs override,binary,noacl 0 0
Previous installation had no problem with permissions. When uploaded a EXE to the remote pc, it would be executable. Now I have to manually set the permissions. Can this be due to Windows7?
Thanks for the help
Which version did you use before ?
How does your etc/fstab look like ? By default, linux-like permissions will not be used to adjust equivalent permissions on the file system.