-
elephantman
Guest
Set permissions & new files/directories
Advertisement
I've been using the "Set permissions" option so that files are uploaded as 0664 and directories as 0775. The problem is that when I create a file or directory (by right clicking and selecting new -> file/directory) the newly created file/directory has the default permissions (0644/0755). Am I missing something? I use WinSCP 4.1.9 and connect via the SFTP v3 protocol.
Advertisement
-
martin◆
Site Admin - Joined:
- Posts:
- 41,518
- Location:
- Prague, Czechia
Re: Set permissions & new files/directories
Make sure you press More button on create directory dialog.
-
fnf
Guest
Can someone explain to me as a newby how to utilize this upload options feature, to set all uploaded files to 644 and all uploaded directories to 755?
It looks like it's set default to rw-r--r-- (+x) and then inside has the option to add X to directories.
Is this good to go as is? It just needs to be ticked at Set Permissions? Or do I have to change or add anything out front?
Sorry about my ignorance. I'm learning. And thank you in advance for any help.
It looks like it's set default to rw-r--r-- (+x) and then inside has the option to add X to directories.
Is this good to go as is? It just needs to be ticked at Set Permissions? Or do I have to change or add anything out front?
Sorry about my ignorance. I'm learning. And thank you in advance for any help.
-
martin◆
Site Admin
It should works as such with the default settings you mention. Just make sure Set Permission is selected.
-
CJ7
Guest
Re: Set permissions & new files/directories
Make sure you press More button on create directory dialog.
Yes but what about for creating a new file? There is no way to set the permissions when you create a new file. It gets created with 644 permissions and then you have to change the permissions to what you want.
Advertisement
-
martin◆
Site Admin - Joined:
- Posts:
- 41,518
- Location:
- Prague, Czechia
Re: Set permissions & new files/directories
You can configure the default permissions of uploaded files in Preferences:Yes but what about for creating a new file? There is no way to set the permissions when you create a new file. It gets created with 644 permissions and then you have to change the permissions to what you want.
https://winscp.net/eng/docs/ui_pref_transfer
-
Hauthorn_05
Guest
Transfer settings for file permissions
Can't get the Set Permissions checkbox to apply to newly created files. My process is right-click -> new file, ALL of my modes in the Transfer settings are Set Permissions (checked) to 755.
New files do not come in with these changes.
Can't decide if it doesn't work or if I'm not doing it "right".
Step by step what-to-click-when-making-new-file instructions would be appreciated, 'cause I'm unable to get WinSCP settings to function.
Thanks.
New files do not come in with these changes.
Can't decide if it doesn't work or if I'm not doing it "right".
Step by step what-to-click-when-making-new-file instructions would be appreciated, 'cause I'm unable to get WinSCP settings to function.
Thanks.
-
Hauthorn05
Guest
Intercept
Disregard my post!
I learned the issues are with sftp and not my actions through ftp clients.
I learned the issues are with sftp and not my actions through ftp clients.
-
lwc
Guest
What do you mean the issues are with SFTP and not your actions?
So how come SFTP respects the default permissions for transfers and not for new files/folders?
So how come SFTP respects the default permissions for transfers and not for new files/folders?
Advertisement
You can post new topics in this forum