This is the mail archive of the cygwin mailing list for the Cygwin project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Tim McDaniel wrote:
> Given that the debug output has "attrib +S" but the code at top has
> "attrib +H", and that the debug output has "test 0 -gt 0" that the
> code doesn't have just before the loop exit, it is probably necessary
> for you to publish the actual code that's failing, even if it has
> details that you're "100% certain" are irrelevant and unimportant.
>
Sorry !
The sourcecode (/etc/setAttribute):
#!/bin/sh
while read -r cLine
do
echo $cLine
attrib ${cLine%%:*} "${cLine#*:}"
done < 2restore4
The output:
$ sh -x /etc/setAttribute
+ read -r cLine
+ echo '+S:C:\Dokumente' und 'Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500'
+S:C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500
+ attrib +S 'C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500'
+ read -r cLine
+ exit
attached you will find the file (2restore4) which I want read.
br
Matthias
--
Don't Panic
Attachment:
2restore4
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |