Re: Send command and parameters into cygwin.bat

2006-09-17 Thread mocs

Unfortunately it doesn't work.

I thhink its because that xmds doesnt get the parameter or the input file
sent from the command prompt in "dos-mode" in to the bas shell in cygwin. If
I edit my .bat-file and write "xmds -parameter inputfile" then it works but
I need to be able to change the inputfile without editing my .bat-file, and
yes it doesnt work without " ".

Best regards!

Jonas Ă–gren


Larry Hall (Cygwin) wrote:
> 
> .  Reformatted.
> mocs wrote:
>> mwoehlke-2 wrote:
>>> mocs wrote:
 Ive would like to edit my cygwin.bat so a command into "cygwin" starts
 automatically with a document and some parameters, how should i write?
>>> 'man bash'
>>
>> 
>  > Now I can start an application in cygwin with a single command:-)
>  >
>  > @echo off
>  > C:
>  > chdir C:\program\cygwin\bin
>  > bash --login -i -c %xmds
>  >
>  >
>  > But how should I write if I want to start the application with a
> certain
>  > parameter or input file?
>  >
>  > What I would like to do is to run the following command "xmds -i
>  > c:\path\ring.xmds".
>  >
> 
> I see nothing wrong with the command you propose, with the exception that
> I recommend POSIX paths if 'xmds' is a Cygwin app.
> 
> -- 
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 216 Dalton Rd.  (508) 893-9889 - FAX
> Holliston, MA 01746
> 
> --
> 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/
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Send-command-and-parameters-into-cygwin.bat-tf2129841.html#a6347114
Sent from the Cygwin Users forum at Nabble.com.


--
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/



Re: downgrading make version

2006-09-17 Thread Kovarththanan Rajaratnam

Hello Christopher

Christopher Faylor wrote:

On Sat, Sep 16, 2006 at 05:13:08PM +0200, Kovarththanan Rajaratnam wrote:
I've deleted the old version of make since this behavior will be the
default if I make a new release and we really need to test the patched
version.

See:
http://cygwin.com/ml/cygwin/2006-09/msg00078.html
http://cygwin.com/ml/cygwin/2006-09/msg00131.html
http://cygwin.com/ml/cygwin/2006-09/msg00153.html


Thanks for pointing this out. The suggested patch works like a charm.

--
Best Regards
Kovarththanan Rajaratnam


--
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/



ncftpbatch log entry

2006-09-17 Thread Stephen Grant Brown

Hi There,
When I run ncftpbatch from within ncftp I get the following error

2006-09-16 21:06:50 [001296] | Could not write to 
local-dir=/cygdrive/e/Docu

ments and Settings/All Users/Documents/KCM: Permission denied

What are my options for writing to this directory?

Yours Sincerely Stephen Grant Brown


--
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/



Re: Send command and parameters into cygwin.bat

2006-09-17 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Sun, 17 Sep 2006, mocs wrote:

> Larry Hall (Cygwin) wrote:
> >
> > .  Reformatted.
> > mocs wrote:
> >> mwoehlke-2 wrote:
> >>> mocs wrote:
>  Ive would like to edit my cygwin.bat so a command into "cygwin" starts
>  automatically with a document and some parameters, how should i write?
> >>> 'man bash'
> >>
> >>
> >  > Now I can start an application in cygwin with a single command:-)
> >  >
> >  > @echo off
> >  > C:
> >  > chdir C:\program\cygwin\bin
> >  > bash --login -i -c %xmds
> >  >
> >  >
> >  > But how should I write if I want to start the application with a
> >  > certain parameter or input file?
> >  >
> >  > What I would like to do is to run the following command "xmds -i
> >  > c:\path\ring.xmds".
> >
> > I see nothing wrong with the command you propose, with the exception
> > that I recommend POSIX paths if 'xmds' is a Cygwin app.
>
> Unfortunately it doesn't work.
>
> I thhink its because that xmds doesnt get the parameter or the input
> file sent from the command prompt in "dos-mode" in to the bas shell in
> cygwin. If I edit my .bat-file and write "xmds -parameter inputfile"
> then it works but I need to be able to change the inputfile without
> editing my .bat-file, and yes it doesnt work without " ".

If you are asking how to pass parameters from a batch file infocation to
an application called within that batch file, you're better off asking in
a Windows or batch programming forum.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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/



Cannot uninstall cygwin-doc ?!?

2006-09-17 Thread bse2000
Hi,

Just trying to update my cygwin-doc from 1.4-3 to 1.4-4.
During the uninstall procedure setup.exe hangs at the point 

  "Running preremove script ..."
  cygwin-doc

Checking with cygcheck gives an OK, so the installation of 1.4-3 should be fine.

Any idea?

Thanks
BSE

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

--
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/



Re: cygwin installation batch file?

2006-09-17 Thread Mike Verstegen

First, a few apologies...
- I just joined this mailing list, so this reply is cobbled 
together using the original message from the archives.
- Though I've used cygwin for several years as an administrative 
user, I'm brand new to using cygwin in any complex ways
- I'm not at all skilled at Windows batch files (this is my first one...)

With that said, I have a similar need to what (the other) Mike needed
to do -- namely the ability to install cygwin in a "batch" mode, preferably
from
an autostart CD. My goal is to have ssh running at the completion.

In particular, the problem I tried to address was how to install something
other than the set of packages that setup.exe chooses by default.

After searching the archives, I found two suggested approaches:

- Igor suggested that one could have one dummy package in the "Base" 
category and make it depend on everything you want. 
http://sourceware.org/ml/cygwin-apps/2005-05/msg00244.html

- Fergus' approach was to create a "template" installed.db listing 
only those packages you want, with the version numbers of each set to zero. 
For example
rxvt rxvt-0.tar.bz2 0
tar tar-0.tar.bz2 0
Setup.exe will find this file and update each listed package to the 
current (non-zero) version.
http://marc.theaimsgroup.com/?l=cygwin&m=110538795118459&w=2

Since making the dummy package in setup.ini would require some magic 
to edit setup.ini (downloaded fresh with each execution of setup.exe??) 
on the fly that I couldn't quite figure out how to do, I chose the latter 
approach.

With the goal of getting sshd completely up and running, I used the 
procedure described at http://pigtail.net/LRP/printsrv/cygwin-sshd.html 
and attempted to turn it in to a batch file.

One tool that I could not find in cygwin was a way to set the Windows 
System Environment variables. For ssh it looks like both PATH and CYGWIN 
need to be updated/created. To get this done, I used setenv.exe 
from http://barnyard.syr.edu/~vefatica/ which looks quite old, is only 
available as an executable (ouch!), but solved the immediate problem. 
Suggestions welcome on how to do this better.

The following batch file is intended (haven't actually done the CD part yet)
to be put on a CD containing the following files:
- cygwin_inst.bat -- the following file
- setup.exe -- the cygwin set up program
- setenv.exe -- the program described previously to set environment
variables
- to_be_installed.db -- the list of packages desired, with the versions set
to zero


=== begin batch file =
rem -- Batch install file for cygwin
rem -- MDV 9/16/06
rem
rem -- To set system environment variables (PATH, CYGWIN), this script
depends on 
rem -- setenv.exe from http://barnyard.syr.edu/%7Evefatica
rem -- which is used instead of Microsoft setx (which is in a Windows
resource pack)
rem -- because of possible MS licensing restrictions on copying to an
install CD.
rem -- There may be a better way to do this!

rem -- CYG_MIRROR is the URL of a public or private server from where cygwin
can be downloaded.
rem -- This particular site works, but necessarily the best one... to do...
rem -- the http:// is important

set CYG_MIRROR="http://www.signal42.com";

mkdir c:\cygwin

rem -- Assume that setup.exe and setenv.exe are in the working directory on
the CD when started
rem -- Copy executables from CD to disk

copy setup.exe c:\cygwin
copy setenv.exe c:\cygwin

rem -- Now put a hand-crafted installed.db in cygwin's /etc/setup
rem -- This installed.db has the list of packages desired with the revision
level set to zero
rem --   as suggested by Fergus in
http://marc.theaimsgroup.com/?l=cygwin&m=110538795118459&w=2
rem -- For example
rem --   openssh openssh-0.tar.bz2 0


if exist c:\cygwin\etc\setup\installed.db (
echo "cygwin already installed"
goto end
) else (
mkdir c:\cygwin\etc
mkdir c:\cygwin\etc\setup
copy to_be_installed.db c:\cygwin\etc\setup\installed.db
)

rem -- Instead of "goto end", above, do something more appropriate
rem -- Future work: compare the list of packages in our target
to_be_installed.db to the list of 
rem --   packages already in /etc/setup/installed.db to make sure that all
the packages that we want
rem --   are included. If not, merge them in with the rev level set to zero.

rem --   #UNTESTED bash code 
rem --   CURRENT_INSTALLED=/etc/setup/installed.db
rem --   TO_BE_INSTALLED=to_be_installed.db
rem --   cat $TO_BE_INSTALLED | while read
rem --   do
rem --   if grep $1 $CURRENT_INSTALLED
rem --   then
rem --  echo "Package " $1 " already included"
rem --   else
rem --   echo $0 >> $CURRENT_INSTALLED
rem --   echo "Added: " $0
rem --fi
rem --DOES INSTALLED.DB NEED TO BE SORTED?
` 
c:
cd \cygwin

rem -- Now we can finally run setup. Though this will show a status window,
no user interaction
rem -- is required.

setup --quiet-mode --site %CYG_MIRROR% --no-shortcuts --no-desktop


rem -- Now set the Windows System environment variable PA

Problems accessing c: root folder - permissions?

2006-09-17 Thread abstractryan

Hi All:

I've searched for solutions to this problem and can remember running
into it in the past. For some reason, something happened to my root
dir on C: and im not sure how it happened exacty. When i go to
/cygdrive/c/ and attempt an 'ls' ( or similar ) here's what I get

$ ls
ls: reading directory .: No such file or directory

however I can still access the directories in that directory if i
specifically go into each directory. I'm thinking this is a permission
problem on c: and i've changed it a few times with no success.

Any ideas?
thanks
Ryan

--
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/



-fno-inline -O1 breaks ntohs()

2006-09-17 Thread Stefan Traby
Hi!

Testcase:
--
#include 

int main()
{
  volatile short s = 33, t;

  t = ntohs(s);
  return 0;
}
--

> i686-pc-cygwin-gcc -fno-inline  -o test test.c
> i686-pc-cygwin-gcc -O1 -fno-inline  -o test test.c
/tmp/ccswmuY9.o:test.c:(.text+0x27): undefined reference to `___ntohs'
collect2: ld returned 1 exit status
>

This is my crosscompiler (gcc-4.1.1) but it breaks with gcc-3.4.4
(included in cygwin) exactly the same way (it compiles without -O1
and breaks otherwise).

If -fno-inline is not supported under cygwin sorry for wasting your time.

-- 

  ciao - 
Stefan

"   Whip me.  Beat me.  Make me maintain VMS.   "

--
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/



RE: -fno-inline -O1 breaks ntohs()

2006-09-17 Thread Danny Smith


> Testcase:
> --
> #include 
> 
> int main()
> {
>   volatile short s = 33, t;
> 
>   t = ntohs(s);
>   return 0;
> }
> --
> 
> > i686-pc-cygwin-gcc -fno-inline  -o test test.c 
> i686-pc-cygwin-gcc -O1 
> > -fno-inline  -o test test.c
> /tmp/ccswmuY9.o:test.c:(.text+0x27): undefined reference to `___ntohs'
> collect2: ld returned 1 exit status
> >


Try the obvious  patch to include/asm/byteorder.h

*** byteorder.h.bak Wed May 17 19:41:51 2006
--- byteorder.h Mon Sep 18 09:58:37 2006
*** __ntohs(uint16_t x)
*** 70,76 
  #define __constant_htonl(x) __constant_ntohl(x)
  #define __constant_htons(x) __constant_ntohs(x)
  
! #ifdef  __OPTIMIZE__
  #  define ntohl(x) \
  (__builtin_constant_p((long)(x)) ? \
   __constant_ntohl((x)) : \
--- 70,76 
  #define __constant_htonl(x) __constant_ntohl(x)
  #define __constant_htons(x) __constant_ntohs(x)
  
! #if defined __OPTIMIZE__ && !defined   __NO_NOINLINE__
  #  define ntohl(x) \
  (__builtin_constant_p((long)(x)) ? \
   __constant_ntohl((x)) : \


--
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/



Re: ncftpbatch log entry

2006-09-17 Thread Larry Hall (Cygwin)

Stephen Grant Brown wrote:

Hi There,
When I run ncftpbatch from within ncftp I get the following error

2006-09-16 21:06:50 [001296] | Could not write to 
local-dir=/cygdrive/e/Docu

ments and Settings/All Users/Documents/KCM: Permission denied

What are my options for writing to this directory?

Yours Sincerely Stephen Grant Brown



First, check if you have permission to write there.  Second, make sure
'ncftpbatch' can handle paths with spaces in them.  Third, if the above
two don't point out the problem, read and follow the problem reporting
guidelines found here:


Problem reports:   http://cygwin.com/problems.html




--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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/



Re: Problems accessing c: root folder - permissions?

2006-09-17 Thread Larry Hall (Cygwin)

[EMAIL PROTECTED] wrote:

Hi All:

I've searched for solutions to this problem and can remember running
into it in the past. For some reason, something happened to my root
dir on C: and im not sure how it happened exacty. When i go to
/cygdrive/c/ and attempt an 'ls' ( or similar ) here's what I get

$ ls
ls: reading directory .: No such file or directory

however I can still access the directories in that directory if i
specifically go into each directory. I'm thinking this is a permission
problem on c: and i've changed it a few times with no success.

Any ideas?



Sure.  Please read and follow the problem reporting guidelines found here:


Problem reports:   http://cygwin.com/problems.html



With the required information mentioned in the problem reporting guidelines,
folks on this list will have better information about your problem and be
better able to direct you.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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/



Re: -fno-inline -O1 breaks ntohs()

2006-09-17 Thread Christopher Faylor
On Mon, Sep 18, 2006 at 10:04:45AM +1200, Danny Smith wrote:
>
>> Testcase:
>> --
>> #include 
>> 
>> int main()
>> {
>>   volatile short s = 33, t;
>> 
>>   t = ntohs(s);
>>   return 0;
>> }
>> --
>> 
>> > i686-pc-cygwin-gcc -fno-inline  -o test test.c 
>> i686-pc-cygwin-gcc -O1 
>> > -fno-inline  -o test test.c
>> /tmp/ccswmuY9.o:test.c:(.text+0x27): undefined reference to `___ntohs'
>> collect2: ld returned 1 exit status
>> >
>
>
>Try the obvious  patch to include/asm/byteorder.h
>
>*** byteorder.h.bakWed May 17 19:41:51 2006
>--- byteorder.hMon Sep 18 09:58:37 2006
>*** __ntohs(uint16_t x)
>*** 70,76 
>  #define __constant_htonl(x) __constant_ntohl(x)
>  #define __constant_htons(x) __constant_ntohs(x)
>  
>! #ifdef  __OPTIMIZE__
>  #  define ntohl(x) \
>  (__builtin_constant_p((long)(x)) ? \
>   __constant_ntohl((x)) : \
>--- 70,76 
>  #define __constant_htonl(x) __constant_ntohl(x)
>  #define __constant_htons(x) __constant_ntohs(x)
>  
>! #if defined __OPTIMIZE__ && !defined   __NO_NOINLINE__
>  #  define ntohl(x) \
>  (__builtin_constant_p((long)(x)) ? \
>   __constant_ntohl((x)) : \

Thanks, Danny.  I'll check that in.

cgf

--
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/



RE: -fno-inline -O1 breaks ntohs()

2006-09-17 Thread Danny Smith
> >  
> >! #if defined __OPTIMIZE__ && !defined   __NO_NOINLINE__
 
   #if defined __OPTIMIZE__ && !defined   __NO_INLINE__ 
Rule No 1: The obvious is not always not what it appears to be.
Danny


--
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/



Re: Problems accessing c: root folder - permissions?

2006-09-17 Thread abstractryan

Thanks Larry, ill do that. Sorry for not seeing that first...

Ryan

On 9/17/06, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:

[EMAIL PROTECTED] wrote:
> Hi All:
>
> I've searched for solutions to this problem and can remember running
> into it in the past. For some reason, something happened to my root
> dir on C: and im not sure how it happened exacty. When i go to
> /cygdrive/c/ and attempt an 'ls' ( or similar ) here's what I get
>
> $ ls
> ls: reading directory .: No such file or directory
>
> however I can still access the directories in that directory if i
> specifically go into each directory. I'm thinking this is a permission
> problem on c: and i've changed it a few times with no success.
>
> Any ideas?


Sure.  Please read and follow the problem reporting guidelines found here:

> Problem reports:   http://cygwin.com/problems.html


With the required information mentioned in the problem reporting guidelines,
folks on this list will have better information about your problem and be
better able to direct you.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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/




--
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/



Re: Problems accessing c: root folder - permissions?

2006-09-17 Thread Larry Hall (Cygwin)

abstractryan AT gmail DOT com wrote:

Thanks Larry, ill do that. Sorry for not seeing that first...



No apologies necessary. :-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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/



Re: bash-3.1-7$B!!(BBUG

2006-09-17 Thread Carlo Florendo

Larry Hall (Cygwin) wrote:


I think this is getting a little off-track.  Another option just means 
another
area for people who don't understand what's going on to trip and fall 
and then
come and bug the list as a result.  IMO, there's already such an 
option, even
without changing bash.  It's called 'd2u'.  Let's not over-think and 
over-do
things here.  There's pain involved in that too.  I'm not convinced 
that it's
worth the pain to all for the benefit of a few.  Of course, I firmly 
believe
that what can and will be done here is Eric's call.  He's the one that 
will be

maintaining it.



You've got the keyverb:  overdo

We've already got d2u.  There is a point in making bash scripts work 
with CRLF endings but at the expense of a slower and a little bit larger 
bash, I think.  (If I'm wrong here, I'm sorry, I haven't seen bash's code.)


d2u is much simpler.  For the sake of simplicity and elegance, let's go d2u.

Best Regards,

Carlo

--
Carlo Florendo
Network Administrator
Astra Philippines Inc. (www.astra.ph)
Member of the Astra Group (www.astra.co.jp)


--
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/



Re: bash-3.1-7$B!!(BBUG

2006-09-17 Thread Carlo Florendo

Carlo Florendo wrote:

Larry Hall (Cygwin) wrote:


I think this is getting a little off-track.  Another option just 
means another
area for people who don't understand what's going on to trip and fall 
and then
come and bug the list as a result.  IMO, there's already such an 
option, even
without changing bash.  It's called 'd2u'.  Let's not over-think and 
over-do
things here.  There's pain involved in that too.  I'm not convinced 
that it's
worth the pain to all for the benefit of a few.  Of course, I firmly 
believe
that what can and will be done here is Eric's call.  He's the one 
that will be

maintaining it.



You've got the keyverb:  overdo

We've already got d2u.  There is a point in making bash scripts work 
with CRLF endings but at the expense of a slower and a little bit 
larger bash, I think.  (If I'm wrong here, I'm sorry, I haven't seen 
bash's code.)


d2u is much simpler.  For the sake of simplicity and elegance, let's 
go d2u.


Best Regards,

Carlo

This was an old thread.  Sorry for the late reply.  I didn't check the 
dates.  


--
Carlo Florendo
Network Administrator
Astra Philippines Inc. (www.astra.ph)
Member of the Astra Group (www.astra.co.jp)


--
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/



rsync 2.6.6.1 changed ACL behaviour?

2006-09-17 Thread Mattias

Using rsync to update my web site on a Windows 2003 Server using the
following command

rsync --archive --stats /cygdrive/c/data/publish/ -e ssh
[EMAIL PROTECTED]:/cygdrive/c/Inetpub/ssc2

Worked fine for a year.

Stopped working recently. rsync doesn't set the ACL correctly. rsync
sets the rights of the Users user to nothing at all, which makes the
web site not work at all. (I have switched my laptop since it last
worked and reinstalled cygwin.)

After running rsync, I have to go to the server, opening the security
dialog for the directory, pressing advanced, selecting

"Replace permission entries on all child objects with enties shown
here that apply child objects"

These are the default permissions, so why doesn't rsync use them.
Which permissions do rsync use?

-- Mattias

P.s. Is there a simple way in cygwin setup.exe to just revert to an
older version of a single package, in my case rsync 2.6.3?

--
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/