Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Overwriting files but not extended attributes
g_sal
Hi everyone,
I was perfoming some tests and noticed some TeamSite behaviour which I would consider a bug. When I overwrite one file with another, the extended attributes are not copied and the old values remain. I wanted to know if anyone else is observing this behaviour and wether they consider this a bug.
Here's a detailed view of what's going on.
I have two directories under a workarea we'll call A and B. In each director we have a file called y.txt which contains different content cA for A/y.txt and cB for B/y.txt. The files also contains a different set of extended attributes eA for A/y.txt and eB B/y.txt.
Now I move or copy A/y.txt to B/y.txt and overwrite. I expect the new B/y.txt file to have content cA and eA. In reality I'm observing that cA is copied over, but eB remains.
Any feedback would be helpful.
Find more posts tagged with
Comments
nipper
Copy does not copy attributes. Copy To does, however it is meant to copy from one WA to another.
Net-net I do not think it is a bug, it is specified behavior. You may not like that behavior but I really doubt IW will consider this a bug.
You can place a FR for this, but don't hold your breath.
Andy
g_sal
Well this specified behaviour is highly unintuitive, especially if you track the FSE events. A move command is essentially DestroyFSE: b/y.txt followed by a RenameFSE a/y.txt -> b/y.txt. Based on these events you'd suspect the extended attributes would be wiped out before the rename.