Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2017, 09:55 AM
Mario Izaguirre Mario Izaguirre is offline
Registered User
 
Join Date: Sep 2016
Location: Barcelona, spain
Posts: 9
Post Vshelld - Setting umask parameter

Hi.

I have a problem with these.

In the vshelld_config we're used defaultumask=007 and I have seen that when uploading files with RW-RW- (660) source permissions, when they finish uploading the files they have the same permissions as the source. (660)

I do a test upload a file with 700 permissions and the file is in the destination with the same permissions. (700).

My confusion is, any test that I do with the permissions of files at source always gives me the same result.

¿Should not the mask that has been put on vshell_config be applied?

Note: I have tried using the UMASK in ~ / .vshellrc and the same thing always works.

Any Idea Please.
Reply With Quote
  #2  
Old 03-15-2017, 10:44 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,023
The DefaultUmask setting is only a default.

An SFTP client will usually change the permissions on an uploaded file to match the source in an attempt to preserve file attributes.

Are you looking for a way to suppress a client's attempts to change file permissions?

--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Reply With Quote
  #3  
Old 03-16-2017, 03:56 AM
Mario Izaguirre Mario Izaguirre is offline
Registered User
 
Join Date: Sep 2016
Location: Barcelona, spain
Posts: 9
Hi Jake.

I send the response via email to support.

Thanks.
Reply With Quote
Reply


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 06:48 PM.