[Bug 973] New: mappings above cwd in relative path
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=973 Summary: mappings above cwd in relative path Product: Swift Version: 0.94 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: General AssignedTo: [email protected] ReportedBy: [email protected] Mapping files which are above the CWD using a relative path causes Swift to fail to link to them from shared directory to work directory. A possible cause is a file race condition. e.g. A file called ../path/file.name if mapped to swift var afile, then there will be multiple simultaneous link and unlinking which will cause the linking to fail. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=973 Mihael Hategan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |FIXED --- Comment #1 from Mihael Hategan <[email protected]> 2013-04-03 21:50:04 --- trunk r6413 fixes this and also the ambiguity between /dir/file and dir/file. When figuring out the remote path, the following scheme is employed: 1. replace leading '/' with '__root__/' 2. replace any reference to a parent directory by '__parent__' Since paths are not canonicalized first, this may lead to duplicate files on the remote site if the user is carefully using multiple different ways of referring to the same file, but it guarantees that: a) input/output files stay inside the work directory b) no two different local files are represented by the same file remotely. We should test this in trunk and then I'll commit this to the branch. So *please* test this in trunk and let me know how it works before we make the 0.94 release. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@mcs.anl.gov