wrong mask on uploaded directories

Advertisement

ondrej
Guest

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

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.

Reply with quote

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

Reply with quote

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.

Reply with quote

Advertisement

You can post new topics in this forum