Overview
| Artifact ID: | 726260ba0fd6472e3b6951ec0614c9582137a6c8 |
|---|---|
| Ticket: | 218330ffffffffffffffffffffffffffffffffff
Long group names cause tests to fail |
| User & Date: | nobody on 2000-10-26 00:56:18 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3914 Bug Version: 8.2.3 SubmitDate: '1999-12-21' LastModified: '1999-12-21' Severity: LOW Status: Closed Submitter: techsupp ChangedBy: hobbs OS: HP-UX OSVersion: 11.0 Machine: 712/80 FixedDate: '2000-10-25' ClosedDate: '1999-12-21' Name: Laurent Duperval ReproducibleScript: I belong to an NIS group, the name of which is more than 8 charcters long. When doing a 'ls -l', you can see the first 8 letters and the rest are chopped off. But the group name must be specified using all the letters, or else the OS reports that the group is invalid. ObservedBehavior: fCmd.test ==== fCmd-27.5 TclFileAttrsCmd - setting one option FAILED ==== Contents of test case: catch {file delete -force -- foo.tmp} createfile foo.tmp set attrs [file attributes foo.tmp] list [catch {eval file attributes foo.tmp [lrange $attrs 0 1]} msg] $msg [file delete -force -- foo.tmp] ---- Result was: 1 {could not set group for file "foo.tmp": group "developp" does not exist} {} ---- Result should have been: 0 {} {} ==== fCmd-27.5 FAILED ==== fCmd-27.6 TclFileAttrsCmd - setting more than one option FAILED ==== Contents of test case: catch {file delete -force -- foo.tmp} createfile foo.tmp set attrs [file attributes foo.tmp] list [catch {eval file attributes foo.tmp [lrange $attrs 0 3]} msg] $msg [file delete -force -- foo.tmp] ---- Result was: 1 {could not set group for file "foo.tmp": group "developp" does not exist} {} ---- Result should have been: 0 {} {} ==== fCmd-27.6 FAILED unixFCmd.test ==== unixFCmd-15.2 SetGroupAttribute - invalid file FAILED ==== Contents of test case: catch {file delete -force -- foo.test} list [catch {file attributes foo.test -group $group} msg] $msg ---- Result was: 1 {could not set group for file "foo.test": group "" does not exist} ---- Result should have been: 1 {could not set group for file "foo.test": no such file or directory} ==== unixFCmd-15.2 FAILED DesiredBehavior: Well, I expect it to work properly even if the group name is too long. But then, if the OS isn't even bothering to report the complete group name... This looks like a system bug, as the user notes it also effects 'ls'. There are no char size limitation for getting the group name in unix/tclUnixFCmd.c. -- 12/21/1999 hobbs - foundin changed to: "final: 8.2.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "37. File System"
- title changed to: "Long group names cause tests to fail"
- type changed to: "Bug"