Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > General

Thread Tools Display Modes
Old 10-14-2008, 03:36 AM
aron aron is offline
Registered User
Join Date: Oct 2008
Posts: 1
VShell-server: umask problem


I am writing in regard to my problem with coping files on server with vshell.
While copying any file from hostA to hostB (hostA - linux rh7.2 or rhel3 or rhel4 OpenSSH,rsync-2.6.9-1; hostB - vshell server 3.5.1-383 linux rhel4,rsync-2.6.9-1) with 'scp' or 'rsync' over 'ssh', the following commands on "hostA" are executed:

C1: rsync -z -e ssh anyfile user@hostB:/target/dir/
C2: scp anyfile user@hostB:/target/dir/

("user" has /bin/bash as shell and is allowed for
Login,Shell,RemoteExecution,sftp and scp)

The following parameters are set up in a configuring file 'vshelld_config':

'DefaultUmask 0002'
'EnableUmaskDiscovery false'.

After the execution of the command C1, all copying files have the permission 0644
After the execution of the command C2, all copying files have the permission 0600

A change of settings 'DefaultUmask' or/and 'EnableUmaskDiscovery'
does not cause any change in the permission of copying files.

I have tried setting up umask with ~/.vshellrc (umask 0002) but this
settings are working only through the direct log in with (bash-)shell and not with 'rsync' or 'scp'.

Therefore, I have a question how I can set umask for rsync, scp and sftp

Best regards
Reply With Quote
Old 10-14-2008, 10:20 AM
kbarnette kbarnette is offline
VanDyke Technical Support
Join Date: Aug 2007
Posts: 587
Hi aron,

I have received your e-mail and responded accordingly.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 04:03 AM.