with acl i can delete files but not overwrite

Advertisement

Rocco83
Joined:
Posts:
3
Location:
Rimini, Italy (IT)

with acl i can delete files but not overwrite

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.

Reply with quote

Advertisement

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

Re: with acl i can delete files but not overwrite

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?

Reply with quote

Rocco83
Joined:
Posts:
3
Location:
Rimini, Italy (IT)

Re: with acl i can delete files but not overwrite

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

Reply with quote

martin
Site Admin
martin avatar

Re: with acl i can delete files but not overwrite

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?

Reply with quote

Rocco83
Joined:
Posts:
3
Location:
Rimini, Italy (IT)

Re: with acl i can delete files but not overwrite

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: with acl i can delete files but not overwrite

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.

Reply with quote

Advertisement

You can post new topics in this forum