Fwd:

2013-01-19 Thread Marko Loparic
http://vinipoderevecciano.it/admin/about/ht6wn2.php

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



making executable independent of cygwin with gcc

2007-12-17 Thread Marko Loparic
Hi,

Is there a way to create an executable from a C source that will run
on windows without cygwin?

The gcc command I use is simply:

  gcc -I. -lm -g -o unit_comm $(objects)

The error I get when running the program in a windows system without cygwin is:

This application has failed to start because cygwin1.dll was not
found. Re-installing the application may fix the problem.

Thanks a lot in advance!
Marko

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



PROBLEM SOLVED! (was: Re: Is there someone offering cygwin paid support?)

2007-09-18 Thread Marko Loparic
THE PROBLEM IS SOLVED. Thanks a lot to everyone that helped.

The problem disappeared by itself without any manipulations on my
side. Probably the network administrators changed something.

Keith: thanks for the tip of using Process Explorer. It is a very nice tool.

d. henman: switching to linux is a good idea, I did it at home, but at
work I am not allowed (I know, perhaps I should change the job too...)

Steve: thanks for the help and the suggestions.

Have a good day,
Marko

On 9/17/07, Keith Christian [EMAIL PROTECTED] wrote:
 - Original Message 
 From: Marko Loparic [EMAIL PROTECTED]
 To: cygwin@cygwin.com
 Sent: Monday, September 17, 2007 1:49:39 PM
 Subject: Re: Is there someone offering cygwin paid support?


 Hello Steve,

 On 9/17/07, Steve Holden [EMAIL PROTECTED] wrote:
  Just a quick note, by the way, to question your apparent assumption that
  paid support will get you any further than using this list!

 I have already tried the list, some people helped, someone suggested
 me to use cacls, which certainly put me closer to the solution, but it
 was not enough. If you have an idea of what else I could try please
 tell me. DOS commands have no permission problem, emacs for windows
 also opens the directory without problems, but all cygwin commands get
 a permission denied error...

 Thanks,
 Marko



 Marko, you could download Process Explorer 
 (http://www.microsoft.com/technet/sysinternals/utilities/processexplorer.mspx)
  and use it to watch for Windows messages while trying to access the 
 directories/files you are having problems with.  It's an excellent tool.

 =Keith

 --
 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: Is there someone offering cygwin paid support?

2007-09-17 Thread Marko Loparic
Hi Phil,

I have also tried to do what you say but it did not solve the problem.

Thanks a lot anyway,
Marko

On 9/17/07, Phil Betts [EMAIL PROTECTED] wrote:
 Marko Loparic wrote on Friday, September 14, 2007 3:42 PM::

  Hello,
 
  Is there someone that could offer paid support for a cygwin problem I
  have?
 
  I have tried to contact Red Hat but they did not seem interested in
  offering support for the type of problem I have (or perhaps I didn't
  reach the right person...).
 
  It is described in the cygwin list:
 
   http://cygwin.com/ml/cygwin/2007-02/msg00023.html
   http://cygwin.com/ml/cygwin/2007-08/msg00468.html
   http://cygwin.com/ml/cygwin/2007-08/msg00517.html
 
  Some people helped, but it was not enough to solve the problem.
 
  Thanks a lot,
  Marko

 Nobody seems to have noticed that the group is listed as mkgroup-l-d.
 This suggests that you need to set up /etc/groups properly by running
 the command:

   mkgroup -l  /etc/group

 or more likely in this case (as it's a network share):

   mkgroup -d  /etc/group

 For more information, man mkgroup and/or man mkpasswd.

 No charge, no guarantee.  (If it sorts out your problem, my insincere
 apologies go to anyone who fancied making a quick buck!)

 Phil

 --
 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: Is there someone offering cygwin paid support?

2007-09-17 Thread Marko Loparic
Hello Steve,

On 9/17/07, Steve Holden [EMAIL PROTECTED] wrote:
 Just a quick note, by the way, to question your apparent assumption that
 paid support will get you any further than using this list!

I have already tried the list, some people helped, someone suggested
me to use cacls, which certainly put me closer to the solution, but it
was not enough. If you have an idea of what else I could try please
tell me. DOS commands have no permission problem, emacs for windows
also opens the directory without problems, but all cygwin commands get
a permission denied error...

Thanks,
Marko

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



Is there someone offering cygwin paid support?

2007-09-14 Thread Marko Loparic
Hello,

Is there someone that could offer paid support for a cygwin problem I have?

I have tried to contact Red Hat but they did not seem interested in
offering support for the type of problem I have (or perhaps I didn't
reach the right person...).

It is described in the cygwin list:

 http://cygwin.com/ml/cygwin/2007-02/msg00023.html
 http://cygwin.com/ml/cygwin/2007-08/msg00468.html
 http://cygwin.com/ml/cygwin/2007-08/msg00517.html

Some people helped, but it was not enough to solve the problem.

Thanks a lot,
Marko

--
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: Permission denied problem

2007-08-20 Thread Marko Loparic
On 17 August 2007 17:35, Dave Korn

  For comparison, what does the standard windows 'cacls.exe' utility tell you
 about that directory, and about one where the problem doesn't happen?

cacls will certainly be of great help, thanks a lot. Here is what I
get for the directory without problems:

$ cacls 'x:\02_0024\PPP'
x:\02_0024\PPP NT AUTHORITY\SYSTEM:(OI)(CI)F
 CORP\AllShareAdminGroup:(OI)(CI)F
 CORP\AllShareListGroup:(CI)R
 CORP\13.G__Access_Admin:R
 CORP\13.G__R_D_ITS:R
 CORP\13.G__Spark_International:R
 CORP\13.G__Team_Access_Admin:R
 CORP\16.0024_MO_Access_Admin:R
 CORP\13.G__Assistant:R
 CORP\13.G__Team_External:R
 CORP\13.G__Team_Member:R

And here is the directory with the permission denied problem

$ cacls 'x:\02_0024\PPP\QQQ'
x:\02_0024\PPP\QQQ CORP\13.G__Mgmt_Team:(DENY)(special access:)
DELETE
SYNCHRONIZE

 CORP\13.G__R_D_ITS:(DENY)(special access:)
  DELETE
  SYNCHRONIZE

 CORP\13.G__R_D_Restricted:(DENY)(special access:)
 DELETE
 SYNCHRONIZE

 CORP\13.G__RALM_Restricted:(DENY)(special access:)
  DELETE
  SYNCHRONIZE

 CORP\13.G__SCS_Restricted:(DENY)(special access:)
 DELETE
 SYNCHRONIZE

 CORP\13.G__Team_External:(DENY)(special access:)
DELETE
SYNCHRONIZE

 NT AUTHORITY\SYSTEM:(OI)(CI)F
 CORP\AllShareAdminGroup:(OI)(CI)F
 CORP\AllShareListGroup:(CI)R
 CORP\13.G__Access_Admin:(CI)R
 CORP\13.G__Team_Access_Admin:(CI)R
 CORP\16.0024_MO_Access_Admin:(CI)R
 CORP\13.G__Mgmt_Team:(OI)(CI)(special access:)
DELETE
READ_CONTROL
SYNCHRONIZE
FILE_GENERIC_WRITE
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_WRITE_EA
FILE_WRITE_ATTRIBUTES

 CORP\13.G__R_D_ITS:(OI)(CI)C
 CORP\13.G__R_D_Restricted:(OI)(CI)(special access:)
 DELETE
 READ_CONTROL
 SYNCHRONIZE
 FILE_GENERIC_WRITE
 FILE_WRITE_DATA
 FILE_APPEND_DATA
 FILE_WRITE_EA
 FILE_WRITE_ATTRIBUTES

 CORP\13.G__RALM_Restricted:(OI)(CI)(special access:)
  DELETE
  READ_CONTROL
  SYNCHRONIZE
  FILE_GENERIC_WRITE
  FILE_WRITE_DATA
  FILE_APPEND_DATA
  FILE_WRITE_EA
  FILE_WRITE_ATTRIBUTES

 CORP\13.G__SCS_Restricted:(OI)(CI)(special access:)
 DELETE
 READ_CONTROL
 SYNCHRONIZE
 FILE_GENERIC_WRITE
 FILE_WRITE_DATA
 FILE_APPEND_DATA
 FILE_WRITE_EA
 FILE_WRITE_ATTRIBUTES

 CORP\13.G__Team_External:(OI)(CI)C
 CORP\13.G__Team_Member:(OI)(CI)(special access:)
  READ_CONTROL
  WRITE_DAC
  WRITE_OWNER
  SYNCHRONIZE
  FILE_GENERIC_READ
  FILE_GENERIC_WRITE
  FILE_GENERIC_EXECUTE
  FILE_READ_DATA
  FILE_WRITE_DATA
  FILE_APPEND_DATA
  FILE_READ_EA
  FILE_WRITE_EA
  FILE_EXECUTE
  FILE_DELETE_CHILD
  

Permission denied problem

2007-08-17 Thread Marko Loparic
Hi,

I have a permission denied problem with a specific network directory

$ ls /cygdrive/x/PPP/QQQ
ls: cannot open directory /cygdrive/x/PPP/QQQ: Permission denied

I described this problem some time ago in
http://cygwin.com/ml/cygwin/2007-02/msg00023.html

Larry Hall suggested me to try nontsec, but this did not change the behaviour.

I also read the doc in

http://cygwin.com/cygwin-ug-net/ntsec.html

but couldn't get a solution for the problem. getfacl gives the same answer

$ getfacl.exe /cygdrive/x/PPP/QQQ
# file: /cygdrive/x/PPP/QQQ
# owner: ffa195
# group: mkgroup-l-d
user::rwx
group::r-x
other:r-x
mask:rwx

for both the directories with the permission problem and for other
directories without the problem.

Thank you very much in advance!
Marko

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



Permission denied problem

2007-02-01 Thread Marko Loparic

Hi,

Is there a way to make cygwin executables to have the same permission
rights as cmd.exe or other windows applications?

For the moment I can't access a directory inside cygwin:

$ ls /cygdrive/x/PPP/QQQ
ls: cannot open directory /cygdrive/x/PPP/QQQ/: Permission denied

Windows applications like windows explorer, emacs (windows emacs not
the one from cygwin) navigate inside the QQQ directory without
problems.

Using DOS cmd.exe window I can make the dir command on the QQQ directory:

X:\PPP\QQQdir
22/11/2006  15:48DIR  RRR
05/01/2007  17:23DIR  SSS

However using cygwin ls from DOS does not work:

X:\PPP\QQQc:\cygwin\bin\ls.exe
/usr/bin/ls: cannot open directory .: Permission denied

while it works fine on other directories.

Checking the permissions of the QQQ directory I realise that
effectively the IT staff in charge of the windows network has
restricted to permissions to it (I couldn't guess what they mean). I
have little hope to have their help to solve the problem, that is why
I would like  to get ls to have the same rights as dir.

Cygwin does not tell me much about the permissions of the directory.

$ ls /cygdrive/x/PPP | grep QQQ
drwxr-xr-x 1 marko mkgroup-l-d 0 Jan 31 10:25 QQQ

Thank you very much in advance,
Marko

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