Copssh fails to set correct File permissions.

3 replies [Last post]
drboo
User offline. Last seen 4 weeks 1 day ago. Offline
Joined: 05.02.2010
Posts:

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.

 

 

 

 

tk
User offline. Last seen 2 days 13 hours ago. Offline
Joined: 01.05.2008
Posts:
How does your etc/fstab look

How does your etc/fstab look like ? By default, linux-like permissions will not be used to adjust equivalent permissions on the file system.

drboo
User offline. Last seen 4 weeks 1 day ago. Offline
Joined: 05.02.2010
Posts:
No change was done to FSTAB.

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

 

tk
User offline. Last seen 2 days 13 hours ago. Offline
Joined: 01.05.2008
Posts:
Which version did you use

Which version did you use before ?

Who's online

There are currently 0 users and 21 guests online.

Site statistics

Registered users2539
Posts1902
Comments4926