Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

OK, it seems that chgrp clears the UID/GUID permissions. So solution would be to switch order of chmod and chgrp/chown calls.
Guest

. 2005-09-01 01:46:31.460 Changing properties of "file" (No)
. 2005-09-01 01:46:31.460 - mode: "u+rwxs,g+rwxs,o+r-wxt"
. 2005-09-01 01:46:31.460 - group: "bin"
. 2005-09-01 01:46:31.460 - owner: "bin"
> 2005-09-01 01:46:31.470 chmod 6774 "file" ; echo "WinSCP: this is end-of-file:$?"
< 2005-09-01 01:46:31.521 WinSCP: this is end-of-file:0
> 2005-09-01 01:46:31.521 chgrp "bin" "file" ; echo "WinSCP: this is end-of-file:$?"
< 2005-09-01 01:46:31.581 WinSCP: this is end-of-file:0
> 2005-09-01 01:46:31.581 chown "bin" "file" ; echo "WinSCP: this is end-of-file:$?"
< 2005-09-01 01:46:31.641 WinSCP: this is end-of-file:0
. 2005-09-01 01:46:31.641 Listing current directory.
> 2005-09-01 01:46:31.641 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
< 2005-09-01 01:46:31.711 total 48
< 2005-09-01 01:46:31.711 drwxr-xr-x 2 root root 4096 2005-09-01 01:44:39.000000000 +0200 .
< 2005-09-01 01:46:31.711 drwxr-xr-x 17 root root 4096 2005-09-01 01:39:24.000000000 +0200 ..
< 2005-09-01 01:46:31.711 -rwxrwxr-- 1 bin bin 37770 2003-07-27 20:24:46.000000000 +0200 file
< 2005-09-01 01:46:31.711 WinSCP: this is end-of-file:0
martin

Re: Problem changing user and special sermisions

Please post a log file.
Guest

Re: Problem changing user and special sermisions

martin wrote:

Shortly, does it mean that you are not able to set UID and GUID permissions with WinSCP?
setting UID/GUID works, but changing user/group AND setting UID/GUID doesn't work at the same time
martin

Re: Problem changing user and special sermisions

Shortly, does it mean that you are not able to set UID and GUID permissions with WinSCP?
Guest

Problem changing user and special sermisions

Hi,

I'm using WinSCP to acces a linux-box via scp.
There is annoying bug when changing user and the special permissions.

Steps to reproduce:
* select a file permisions = 0644 user "a" group "a"
* F9 for properties
* change user and group to "b" and user and group permisions to x and UID and GUID (6754)
* OK
-> after that user, group and permission x is set, BUT no UID or GUID

verion: 3.7.4
protocol: scp
Interface style: Norton commander

Hope I cold help
and sorry for my english