permissions always set to 600 :(

Advertisement

Joffer
Guest

permissions always set to 600 :(

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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: permissions always set to 600 :(

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 :-(

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.

Reply with quote

Joffer
Guest

Re: permissions always set to 600 :(

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

Reply with quote

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.

Reply with quote

martin
Site Admin
martin avatar

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 :-) X permission is added to owner/group/other only, if the particular group has also least R or W.

Reply with quote

Advertisement

klausner
Donor
Joined:
Posts:
18

martin 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 :-) 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?

Reply with quote E-mail

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
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.

Reply with quote

klausner
Donor
Joined:
Posts:
18

martin 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.

Reply with quote E-mail

Advertisement

You can post new topics in this forum