Topic "with acl i can delete files but not overwrite"

Author Message
Rocco83
[View user's profile]

Joined: 2007-04-02
Posts: 3
Location: Rimini, Italy (IT)
hi.

i am using scponly(c) 4.6 (openssh 4.5_p1) and winscp 3.8.2.
on server, i have a xfs filesystem, with acl support.

the user that login to the server (user "A") have rw- permission, but in acl.
the owner of file is another user (let's call user "B").

when user A try to send a new copy of a file, winscp will tell me that i have no right to overwrite it. then he ask if i want to delete the remote file.
i say yes, the file is deleted, and i can copy new file over.

is this a normal behaviour? shouldn't winscp first try to remove the file AND THEN copy over?

thanks
d.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Rocco83 wrote:
is this a normal behaviour? shouldn't winscp first try to remove the file AND THEN copy over?

It does that, doesn't it?
_________________
Martin Prikryl
Rocco83
[View user's profile]

Joined: 2007-04-02
Posts: 3
Location: Rimini, Italy (IT)
prikryl wrote:
Rocco83 wrote:
is this a normal behaviour? shouldn't winscp first try to remove the file AND THEN copy over?

It does that, doesn't it?


well, if it does that, why are winscp asking to delete the file (thing that work)?

i can provide a test user, but i don't think that place it in a public forum is a good idea.

Or, i can provide (let's say, thursday) a couple of screenshot. in case, i should post images directly in the forum?

bye
d.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
I may not understand your problem. Do you mind that WinSCP asks you at all to delete the file? Do you want it to delete it automatically?
_________________
Martin Prikryl
Rocco83
[View user's profile]

Joined: 2007-04-02
Posts: 3
Location: Rimini, Italy (IT)
prikryl wrote:
I may not understand your problem. Do you mind that WinSCP asks you at all to delete the file? Do you want it to delete it automatically?


all the topic is about "place a new copy of file on a remote location".
what i expect is that winscp will overwrite the file on remote location.

and, this is what normally happens.
instead, when i use acl AND i am NOT the owner of a file (but i have permission to write it in ACL), winscp will fail, asking me if i want to delete the remote file.
if i say "delete", winscp will delete the file, and then i can write a new file.

the "bad thing" is that i have to delete the file BEFORE overwrite it.

bye
d.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Rocco83 wrote:
the "bad thing" is that i have to delete the file BEFORE overwrite it.

I understand that. But I do not understand what solution would you like.
_________________
Martin Prikryl
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