Topic "permissions always set to 600 :("

Author Message
Joffer

Guest


I'm using 3.5.0 and sftp and ssh2. When I copy a file from local to remote, the file always gets 600 as persmission, even though I set 644 (rw-r-r) in the copy dialog. This is a problem when I transfer lots of tile to my webserver, I don't want to choose properties on all files to manually change them..

anyone?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Joffer wrote:
I'm using 3.5.0 and sftp and ssh2. When I copy a file from local to remote, the file always gets 600 as persmission, even though I set 644 (rw-r-r) in the copy dialog.

This happens on some servers. I may change the way properties are set, but it would slow down the transfer. But obviously I have to do it sometime Sad

Quote:
This is a problem when I transfer lots of tile to my webserver, I don't want to choose properties on all files to manually change them..

You may change permissions for all files at once, just select them and open properties dialog.
_________________
Martin Prikryl
Joffer

Guest


Quote:
You may change permissions for all files at once, just select them and open properties dialog.

Wouldn't this change permissions on folders too (if I'm in the root folder of www folder for instance)? (I haven't had time to try to confirm this though
Joffer

Guest


I just saw.. "Add X to directories". I guess this is what I would want to do if I want all my files to be 644, and my folders 755.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Joffer wrote:
I just saw.. "Add X to directories". I guess this is what I would want to do if I want all my files to be 644, and my folders 755.

Sure Smile X permission is added to owner/group/other only, if the particular group has also least R or W.
_________________
Martin Prikryl
klausner
[View user's profile]
Donor
Joined: 2004-02-18
Posts: 18
prikryl wrote:
Joffer wrote:
I just saw.. "Add X to directories". I guess this is what I would want to do if I want all my files to be 644, and my folders 755.

Sure Smile X permission is added to owner/group/other only, if the particular group has also least R or W.


The SSH Communications "transfer client" (at https://www.ssh.com/) lets me change the permissions on a global basis for all uploads, both by files and by directories. Perhaps we should be able to do that in WinSCP?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
klausner wrote:
The SSH Communications "transfer client" (at https://www.ssh.com/) lets me change the permissions on a global basis for all uploads, both by files and by directories. Perhaps we should be able to do that in WinSCP?

Please try to specify in detail, what you ask me for. I do not understand.
_________________
Martin Prikryl
klausner
[View user's profile]
Donor
Joined: 2004-02-18
Posts: 18
prikryl wrote:
klausner wrote:
The SSH Communications "transfer client" (at https://www.ssh.com/) lets me change the permissions on a global basis for all uploads, both by files and by directories. Perhaps we should be able to do that in WinSCP?

Please try to specify in detail, what you ask me for. I do not understand.


If you try the SSH client (at https://www.ssh.com/) you will see it allows me to specify upload DEFAULT file and directory permissions. That means that I can force other than "600" permissions, a problem for me and perhaps others when uploading.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License