Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

I have found it....
Default umask was set to 022 on the system.
Anyway, thanks a lot for your help and quick response.
Ondrej.
Guest

I am using SFTP protocol.
When I copy directory, it has the right mask, which I specify in options of winscp application. But when I create the directory through winscp, it has got another (755) mask. I am able to change the mask manually.
Thanks,
Ondrej.


Creating directory "qqq".
Canonifying: "qqq"
Getting real path for '/! Nas vsech !/Vorel_Ondrej/qqq'
Type: SSH_FXP_REALPATH, Size: 40, Number: 32784
Type: SSH_FXP_NAME, Size: 83, Number: 32784
Real path is '/! Nas vsech !/Vorel_Ondrej/qqq'
Canonified: "/! Nas vsech !/Vorel_Ondrej/qqq"
Type: SSH_FXP_MKDIR, Size: 44, Number: 32526
Type: SSH_FXP_STATUS, Size: 21, Number: 32526
Status/error code: 0
Listing directory "/! Nas vsech !/Vorel_Ondrej".
Type: SSH_FXP_OPENDIR, Size: 36, Number: 33035
Type: SSH_FXP_HANDLE, Size: 17, Number: 33035
Type: SSH_FXP_READDIR, Size: 17, Number: 33292
Type: SSH_FXP_NAME, Size: 1043, Number: 33292
Type: SSH_FXP_READDIR, Size: 17, Number: 33548
Type: SSH_FXP_STATUS, Size: 22, Number: 33548
Status/error code: 1
Type: SSH_FXP_CLOSE, Size: 17, Number: 33796
Type: SSH_FXP_STATUS, Size: 21, Number: 33796
Status/error code: 0
martin

Re: wrong mask on uploaded directories

Ahoj Ondro,

what protocol do you use SCP or SFTP? Anyway it works for me with both protocols. Please post a log file.
ondrej

wrong mask on uploaded directories

Ahoj Martine
When I upload a directory to the server, all files inside that directory inherit the permissions which I specify in Options -> Preferences-> Transfer (rwxrwxr-x). But the directory itself has just rwxr-xr-x permissions. I am able to change the permissions by right click->preferences, but is there some way to specify the default create mask for uploaded directories?
Thanks.

Ondrej.