Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Export permission settings

OK I see. The carriage return is there, but your parser ignores it, right? CDATA does not change that. CDATA only makes < and & be parsed as regular characters.
matvrix

Re: Export permission settings

It would be best if [CDATA] is used to render data that's returned from a "call". Thus, maintaining the format.

Please look into this..and perhaps, make it an enhancement.
martin

Re: Export permission settings

I suppose you mean "output" within "call" element, right? I was rather referring you to "ls". But I see it does not cover all your needs.
Where do you miss carriage return? I do have them included in output. Regarding parsing. If you execute "ls" command in console, its output is server-specific.
matvrix

Re: Export permission settings

All value>>-rwsr-xr-x 1 root root 35376 Feb 12 2003 /usr/bin/chage -rwsr-xr-x 1 root root 36216 Feb 12 2003 /usr/bin/gpasswd

Carriage return is missing from output value, what's the best way to parse the value of the "output" attribute ?
martin

Re: Export permission settings

Check XML logging.
matvrix

Export permission settings

What command could list file details in the following manner ?
Machine Name | File Name (With Path) | Attributes: Owner | Attributes: Group | Attributes: Is SGID? | Attributes: Is SUID? | Attributes: Permissions - ASCII
machineo.com | _u | bin | bin | No | No | lrwxrwxrwx