Topic "Rights on WinSCP"

Author Message
ittech
[View user's profile]

Joined: 2016-03-09
Posts: 3
Location: TX
when i open a WinSCP session i can see a column option called "rights" set it up like this, for example, r-xr-x--- (owner, group and others) and next to it a column for the "Owner" but when the owner goes back to the folder to edit it, he/she can't [you need permission to perform this action], is this an option [changing rights] that i can do from Winscp to ALWAYS apply the same rights for a user when she/he creates/edits a file/folder or is a Windows thing on the users side?
i can go manually and edit rights to the file/folder for group or owner within Winscp but its not efficient when there are 1000 file/folders
please help, i try to find the solution or both sides [Windows or Winscp] and I wasn't able to

PS- i forgot to mention we have a Linux Server with rights already setup and they SHOULD always be 0770 or rwxrwx--- but on Winscp the rights are different depending on the user..
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You can override the server's the default permissions here:
http://winscp.net/eng/docs/ui_transfer_custom
ittech
[View user's profile]

Joined: 2016-03-09
Posts: 3
Location: TX
Thanks Prikryl,
as you can tell i am new to Winscp so i will clarify a bit my question, i just want Winscp to open files/folders as 0770 or rwxrwx--- for the entire tree, i believe the way they are setup to be save as in the server. the link you showed me is the right place? how do i do that?.
the "rights" i see in winscp are from the Windows computers the files/folders were edited on, the server that housed the files/folders or Winscp?
i have attached a picture of my Winscp so you can see what i am talking about.
thanks again!
Untitled.png (61.93 KB) [Download]

Description: (none)

ittech
[View user's profile]

Joined: 2016-03-09
Posts: 3
Location: TX
i have an update to my issue:
-mapped the network drive with my credentials
-open 3 files (same folder) and edit (added a word only)
1 word doc
2 excel files
- save and opened a WinCSP session to the same network drive
- refreshed and i can see the same files that i just "modified content"
word doc has rwxrwx---
first excel file has rwxrwx---
second excel file has rwxrw-rw-

why is this happening? size, date and ownership are correct but why the permissions are different?
permissions were given in the Ubuntu server to rwx to owner and group and none to others for all the files/folders.

appreciate any response!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
I'm still not sure I understand the problem.

ittech wrote:
i have an update to my issue:
-mapped the network drive with my credentials
-open 3 files (same folder) and edit (added a word only)
1 word doc
2 excel files

Do I understand right that you do not edit them via WinSCP, right?

Quote:
- save and opened a WinCSP session to the same network drive
- refreshed and i can see the same files that i just "modified content"
word doc has rwxrwx---
first excel file has rwxrwx---
second excel file has rwxrw-rw-

So when you SSH to the sever and do ls -la you see different permissions than in WinSCP?
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