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

Macadamia

Re: how can i change the owner of a file?

Galaxist wrote:

Hi, On my system I'm the root. But I can't change owner and group. When I open that window, the entries of owner and group are grey. :(

Had the same problem, here's my solution:

- Open in PuTTY (CTRL-P from winscp)
- change to desired directory (cd .. / cd foldername / dir)

- chown -R new_owner:new_group *
this changes the owner and group of all files and subfolders of the current directory (enter chown --help for more info)

hope it helps! :D
martin

Re: how can i change the owner of a file?

See above. You may use SFTP on current notebook, while SCP on old machine.
Guest

Re: how can i change the owner of a file?

Hello,
there must be a local reason but I don't know why.
On my current notebook I have no access to groups/owners (XP SP1)
On my old machine (XP without SP1) I have access.
This has nothing to do with WinSCP version or Linux.

Any idea what I have to change in my current XP?

Thx
Detlev
martin

Re: how can i change the owner of a file?

Galaxist wrote:

Hi, On my system I'm the root. But I can't change owner and group. When I open that window, the entries of owner and group are grey.

You can change owner/group with SCP protocol and SFTP protocol version 4 and greater. In other words, you cannot change them with SFTP 3 and below (most of the SFTP servers). Read Supported transfer protocols.
Galaxist

Re: how can i change the owner of a file?

Hi, On my system I'm the root. But I can't change owner and group. When I open that window, the entries of owner and group are grey. :(

<invalid hyperlink removed by admin>

Do anyone know Why???
I've got the Version 3.5.5
martin

Re: how can i change the owner of a file?

Anonymous wrote:

I'm the owner of the file and because of this other persons are not able the change the permissions!

OK, I was wrong. Only owner and root can change the permissions on most of *nix systems.
Guest

Re: how can i change the owner of a file?

I'm the owner of the file and because of this other persons are not able the change the permissions!
martin

Re: how can i change the owner of a file?

I believe that the users that has write permissions to the file can change its permissions. So you can grant group of users write permissions.
scheffe

How can I change the owner of a file?

Hi!
To my knowledge only the owner of a file is able to change the preferences (of his/her files).
But how can i change the owner, so that other persons can chage the preferences?

Thanks a lot!