Re: automake-bin

2024-10-10 Thread Jim McNamara via Cygwin

Hi Brian-

thank you for not steering me down the AI road this time. I will try to follow 
the cool advice you gave and maybe get cygports and when I am more awake will 
read the rest carefully.

THANKS SO MUCH.

have cool day.

jim



Sent with Proton Mail secure email.

On Wednesday, October 9th, 2024 at 11:08 PM, Brian Inglis via Cygwin 
 wrote:

> Hi Jim,
> 
> That AI is probably hallucinating ancient advice for legacy versions, like 
> your
> other instructions below were.
> 
> If you told us the name or source of your package, we could be more helpful.
> 
> If cygport, or autoconf and automake, are installed, you have a version of
> aclocal, that may be used by autoreconf as required.
> 
> You should always use Cygwin packaged versions of build tool packages, as they
> have the customizations required to build using non-ELF PE format supporting
> utilities and use Cygwin shared libraries and Windows system DLLs.
> 
> Otherwise you will have to redo all the effort put into building Msys2 (or the
> Cygwin tool base) just to get to the point where you have tools that will work
> with Cygwin.
> 
> Or you can use a BSD or Linux VM and their toolchains if you don't need 
> Windows
> support.
> 
> Normally current modern autotools packages include configure.ac which is used 
> as
> a template by autoreconf (-f -i -v most often) running autoconf to customize a
> ./configure script, which when run detects system characteristics, then runs
> automake which uses those with the template Makefile.am(s) to customize
> Makefile(s), allowing you to run make.
> 
> Have a look at what cygport cygautoreconf does with autoreconf:
> 
> https://cygwin.com/git/?p=cygwin-apps/cygport.git;a=blob;f=cygclass/autotools.cygclass#l203
> 
> https://cygwin.com/git/?p=cygwin-apps/cygport.git;a=blob;f=cygclass/autotools.cygclass#l549
> 
> or if cygport installed:
> 
> ${VISUAL:-${EDITOR:-less}} '+/\/cygautoreconf$' \
> /usr/share/cygport/cygclass/autotools.cygclass
> 
> and
> 
> /^\s*autoreconf\s
> 
> For background see the docs in:
> 
> $ info autoconf autoreconf
> $ info automake aclocal
> 
> Similarly with cmake, ninja, and other build toolchains: see the cygport
> cygclass doc entries and scripts, and the relevant man pages.
> 
> --
> Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
> 
> La perfection est atteinte Perfection is achieved
> non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
> mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
> -- Antoine de Saint-Exupéry
> 
> 
> On 2024-10-09 18:52, Jim McNamara via Cygwin wrote:
> 
> > I harnessed the power of AI, and it advised to do edits to like makefile.am 
> > and one other file I can pull the name to tomorrow after I get some sleep 
> > since I dont have automake-bin. Also, as a strategy i could install 
> > automake from gnu and gain access to that tool which is probably the route 
> > i will go because running anything without the command aclocal and going to 
> > refresh it.
> > 
> > This is all abstraction to me other than I am jumping though some hoops to 
> > get it on there.
> 
> 
> 
> On Wednesday, October 9th, 2024 at 8:07 PM, Jim McNamara via Cygwin wrote:
> 
> > > I had tried autoreconf -i.
> > > I will keep thinking about it.
> > > I am in a bit of a loop trying to troubleshoot it.
> > > On Wednesday, October 9th, 2024 at 7:05 PM, Brian Inglis via Cygwin wrote:
> > > 
> > > > On 2024-10-09 15:20, Jim McNamara via Cygwin wrote:
> > > > 
> > > > > which package does cygwin have for automake-bin. I need aclocal 
> > > > > because the software i am installing has a newer automake, autoconf, 
> > > > > and libtool than what is available than the dir that resides in 
> > > > > ./configure dir. It instructed me to do this:
> > > > > thanks for any help guys.
> 
> > > > > Steps to Resolve the Issue
> > > > > Install automake-bin:
> > > > > 
> > > > > Run the Cygwin setup executable (setup-x86_64.exe for 64-bit).
> > > > > Search for automake-bin.
> > > > > Make sure it is selected for installation.
> > > > > Reinstall automake:
> > > > > 
> > > > > To ensure compatibility, you might also want to reinstall the 
> > > > > automake package alongside automake-bin.
> > > > > Verify Installation:
> > > > > 
> > > > > After installation, check if aclocal is now available:
> > > 

Fw: Re: automake-bin

2024-10-09 Thread Jim McNamara via Cygwin

Hi Brian-

I harnessed the power of AI, and it advised to do edits to like makefile.am and 
one other file I can pull the name to tomorrow after I get some sleep since I 
dont have automake-bin. Also, as a strategy i could install automake from gnu 
and gain access to that tool which is probably the route i will go because 
running anything without the command aclocal and going to refresh it.

This is all abstraction to me other than I am jumping though some hoops to get 
it on there.

thanks,
jim



Sent with Proton Mail secure email.

--- Forwarded Message ---
From: Jim McNamara via Cygwin 
Date: On Wednesday, October 9th, 2024 at 8:07 PM
Subject: Re: automake-bin
To: cygwin@cygwin.com 


> Hi Brian-
> 
> I had tried autoreconf -i.
> 
> I will keep thinking about it.
> 
> I am in a bit of a loop trying to troubleshoot it.
> 
> thanks,
> jim
> 
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> 
> On Wednesday, October 9th, 2024 at 7:05 PM, Brian Inglis via Cygwin 
> cygwin@cygwin.com wrote:
> 
> > On 2024-10-09 15:20, Jim McNamara via Cygwin wrote:
> > 
> > > Hi-
> > > 
> > > which package does cygwin have for automake-bin. I need aclocal because 
> > > the software i am installing has a newer automake, autoconf, and libtool 
> > > than what is available than the dir that resides in ./configure dir. It 
> > > instructed me to do this:
> > > 
> > > thanks for any help guys.
> > > 
> > > jim
> > > 
> > > Steps to Resolve the Issue
> > > Install automake-bin:
> > > 
> > > Run the Cygwin setup executable (setup-x86_64.exe for 64-bit).
> > > Search for automake-bin.
> > > Make sure it is selected for installation.
> > > Reinstall automake:
> > > 
> > > To ensure compatibility, you might also want to reinstall the automake 
> > > package alongside automake-bin.
> > > Verify Installation:
> > > 
> > > After installation, check if aclocal is now available:
> > > bash
> > > Copy code
> > > aclocal --version
> > > Regenerate Build Files:
> > > 
> > > Once aclocal is installed, you can run the necessary commands to 
> > > regenerate your project’s build files:
> > > bash
> > > Copy code
> > > aclocal
> > > autoconf
> > > automake --add-missing
> > > Continue the Build Process:
> > > 
> > > After regenerating the files, proceed with configuring and building your 
> > > project:
> > > bash
> > > Copy code
> > > ./configure --prefix=/usr/
> > > make
> > > By ensuring that both automake and automake-bin are installed, you should 
> > > be able to resolve the version issues and successfully run aclocal. If 
> > > you continue to face problems, please let me know!
> > 
> > Those must be really old instructions!
> > Check on the Cygwin Time Machine for automake-bin.
> > Repology.org has no hits for automake-bin, mostly just automake, including
> > Cygwin, and a couple of instances of automake-common and automake-vanilla.
> > That could also just be a reference to BSD or similar ports package names.
> > 
> > Normally on Cygwin package builds, you run autoreconf to update the package
> > autotools scripts and macros, and use or apply Cygwin adaptations to macros 
> > for
> > tool variants.
> > It is normally easier to install cygport and create a cygport script with
> > minimal variable definitions to automagically build and check a package 
> > using
> > autotools.
> > 
> > --
> > Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
> > 
> > La perfection est atteinte Perfection is achieved
> > non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
> > mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
> > -- Antoine de Saint-Exupéry
> > 
> > --
> > Problem reports: https://cygwin.com/problems.html
> > FAQ: https://cygwin.com/faq/
> > Documentation: https://cygwin.com/docs.html
> > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
> 
> 
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

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


Re: automake-bin

2024-10-09 Thread Jim McNamara via Cygwin
Hi Brian-

I had tried autoreconf -i.

 I will keep thinking about it.

I am in a bit of a loop trying to troubleshoot it.

thanks,
jim




Sent with Proton Mail secure email.

On Wednesday, October 9th, 2024 at 7:05 PM, Brian Inglis via Cygwin 
 wrote:

> On 2024-10-09 15:20, Jim McNamara via Cygwin wrote:
> 
> > Hi-
> > 
> > which package does cygwin have for automake-bin. I need aclocal because the 
> > software i am installing has a newer automake, autoconf, and libtool than 
> > what is available than the dir that resides in ./configure dir. It 
> > instructed me to do this:
> > 
> > thanks for any help guys.
> > 
> > jim
> > 
> > Steps to Resolve the Issue
> > Install automake-bin:
> > 
> > Run the Cygwin setup executable (setup-x86_64.exe for 64-bit).
> > Search for automake-bin.
> > Make sure it is selected for installation.
> > Reinstall automake:
> > 
> > To ensure compatibility, you might also want to reinstall the automake 
> > package alongside automake-bin.
> > Verify Installation:
> > 
> > After installation, check if aclocal is now available:
> > bash
> > Copy code
> > aclocal --version
> > Regenerate Build Files:
> > 
> > Once aclocal is installed, you can run the necessary commands to regenerate 
> > your project’s build files:
> > bash
> > Copy code
> > aclocal
> > autoconf
> > automake --add-missing
> > Continue the Build Process:
> > 
> > After regenerating the files, proceed with configuring and building your 
> > project:
> > bash
> > Copy code
> > ./configure --prefix=/usr/
> > make
> > By ensuring that both automake and automake-bin are installed, you should 
> > be able to resolve the version issues and successfully run aclocal. If you 
> > continue to face problems, please let me know!
> 
> 
> Those must be really old instructions!
> Check on the Cygwin Time Machine for automake-bin.
> Repology.org has no hits for automake-bin, mostly just automake, including
> Cygwin, and a couple of instances of automake-common and automake-vanilla.
> That could also just be a reference to BSD or similar ports package names.
> 
> Normally on Cygwin package builds, you run autoreconf to update the package
> autotools scripts and macros, and use or apply Cygwin adaptations to macros 
> for
> tool variants.
> It is normally easier to install cygport and create a cygport script with
> minimal variable definitions to automagically build and check a package using
> autotools.
> 
> --
> Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
> 
> La perfection est atteinte Perfection is achieved
> non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
> mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
> -- Antoine de Saint-Exupéry
> 
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

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


automake-bin

2024-10-09 Thread Jim McNamara via Cygwin
Hi-

which package does cygwin have for automake-bin. I need aclocal because the 
software i am installing has a newer automake, autoconf, and libtool than what 
is available than the dir that resides in ./configure dir. It instructed me to 
do this:

thanks for any help guys.

jim

Steps to Resolve the Issue
Install automake-bin:

Run the Cygwin setup executable (setup-x86_64.exe for 64-bit).
Search for automake-bin.
Make sure it is selected for installation.
Reinstall automake:

To ensure compatibility, you might also want to reinstall the automake package 
alongside automake-bin.
Verify Installation:

After installation, check if aclocal is now available:
bash
Copy code
aclocal --version
Regenerate Build Files:

Once aclocal is installed, you can run the necessary commands to regenerate 
your project’s build files:
bash
Copy code
aclocal
autoconf
automake --add-missing
Continue the Build Process:

After regenerating the files, proceed with configuring and building your 
project:
bash
Copy code
./configure --prefix=/usr/
make
By ensuring that both automake and automake-bin are installed, you should be 
able to resolve the version issues and successfully run aclocal. If you 
continue to face problems, please let me know!




Sent with Proton Mail secure email.

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


got it .... sorry.. not enough caffeine today gpg key published

2024-10-04 Thread Jim McNamara via Cygwin
https://cygwin.com/install.html




Sent with Proton Mail secure email.

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


ceritfied key for setup-x86_64.exe

2024-10-04 Thread Jim McNamara via Cygwin


Hi-
If I look up the key that it is signed with on my keyserver in kleopatra and it 
comes back with cygwin@cygwin ... good enough?

There is no certification but I see lots of people doing that these days so I 
am wondering if that step is even necessary.

Wouldnt there be a signature posted somewhere and the key fingerprint too?

thanks,
J. McNamara




Sent with Proton Mail secure email.

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


Re: pread()/pwrite() fail with EBADF in child process if already used before fork()

2024-09-22 Thread Jim McNamara via Cygwin
Hi Christian,

I worked with AI to try something like this does it help at all?

It is not exactly your code but got rid of file descriptor error.

These things were outlined on chatgpt...

thanks,
jim

A "bad file descriptor" error in your code can occur for several reasons. Here 
are the most common causes:

Uninitialized or Invalid File Descriptor:

If the file descriptor is not properly initialized or has been closed before 
it's used in pread or pwrite, you'll get an error.
File Descriptor from fork:

After a fork, both the parent and child processes have the same file 
descriptors. If the parent process closes the file descriptor before the child 
tries to read/write, the child will encounter a "bad file descriptor" error.
File Not Opened Successfully:

If open fails (e.g., due to permissions, invalid flags, or system limits), it 
returns -1. If you do not check for this and use the returned value directly, 
it can lead to a bad file descriptor error.
Incorrectly Using fopen:

If you mistakenly used fopen instead of open (as was in your original code), 
the resulting file pointer would not be compatible with low-level operations 
like pread and pwrite.
File Descriptor Limit Reached:

Each process has a limit on the number of file descriptors it can open 
simultaneously. If this limit is exceeded, open will fail, and subsequent 
attempts to use the invalid file descriptor will result in an error.
Closing the File Descriptor:

If close(fd) is called while the file descriptor is still being used by the 
child process, it will cause a "bad file descriptor" error when the child tries 
to use it.


#include 
#include 
#include 
#include 
#include 

int main() {
int fd = open("pwrite.tmp", O_RDWR | O_CREAT, 0666);
int fd2 = open("pwrite.tmp", O_RDWR | O_CREAT, 0666);
if (fd < 0) {
perror("Error opening file");
return 1;
}

if (fd2 < 0) {
perror("Error opening file");
return 1;
}

char c = 42; // Example character to write
if (pwrite(fd, &c, sizeof(c), 0) < 0) {
perror("pwrite");
close(fd);
return EXIT_FAILURE;
}

// Forking a child process
pid_t pid = fork();
if (pid < 0) {
perror("fork");
if (!fd > -1)
close(fd);
return EXIT_FAILURE;
}

if (pid == 0) {
// Child process
if (pread(fd2, &c, sizeof(c), 0) < 0) {
perror("pread");
} else {
printf("Read character: %d\n", c); // Print the read character
}
_exit(EXIT_SUCCESS);
}

int status;
if (wait(&status) < 0) {
perror("wait");
}

if (close(fd2) < 0) {
perror("close");
return EXIT_FAILURE;
}

return EXIT_SUCCESS;
}




Sent with Proton Mail secure email.

On Sunday, September 22nd, 2024 at 2:09 PM, Christian Franke via Cygwin 
 wrote:

> Found during test of 'stress-ng --pseek ...' from current upstream
> stress-ng git HEAD:
>
> Testcase:
>
> $ uname -r
> 3.5.4-1.x86_64
>
> $ cat pfail.c
> #include 
>
> #include 
>
> #include 
>
> #include 
>
>
> int main()
> {
> int fd = open("pwrite.tmp", O_RDWR|O_CREAT|O_BINARY, 0666);
> if (fd < 0) {
> perror("open"); return 1;
> }
>
> char c = 42;
> if (pwrite(fd, &c, 1, 0) < 0)
> perror("pwrite");
>
> if (fork() == 0) {
> if (pread(fd, &c, 1, 0) < 0)
> perror("pread");
> _exit(0);
> }
>
> int status;
> wait(&status);
> return 0;
> }
>
> $ make pfail
> cc pfail.c -o pfail
>
> $ ./pfail
> pread: Bad file descriptor
>
> $ strace ./pfail
> ...
> 617 75356 [main] pfail 10826 dofork: 10827 = fork()
> 82 11289 [main] pfail 10827 seterrno_from_nt_status:
> /usr/src/debug/cygwin-3.5.4-1/winsup/cygwin/fhandler/disk_file.cc:1883
> status 0xC008 -> windows error 6
>
> 80 75436 [main] pfail 10826 wait4: calling proc_subproc, pid -1,
> options 0
> 76 11365 [main] pfail 10827 geterrno_from_win_error: windows error
> 6 == errno 9
> 78 75514 [main] pfail 10826 proc_subproc: args: 5, -7728
> 64 11429 [main] pfail 10827 pread: -1 = pread(3, 0x7CC0B, 1,
> 0), errno 9
> ...
>
>
> The problem does not occur if there is no pread()/pwrite() before the
> fork(). This suggests that the child process inherits the extra handle
> value used to keep the original seek position, but not the actual handle.
>
> --
> Regards,
> Christian
>
>
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

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


Fw: Re: case-insensitive filename comparisons

2024-09-04 Thread Jim McNamara via Cygwin






Sent with Proton Mail secure email.

> Hi Rich-
> 
> I just use AI for this kind of thing these days.
> Just make a quick workaround script.
> 
> Like this.
> 
> grep -r 'Beeping' testdir/ | awk -F: '/\.txt$/ {print}'
> 
> thanks,
> jim
> 
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> 
> On Tuesday, September 3rd, 2024 at 9:13 AM, Rich Draves via Cygwin 
> cygwin@cygwin.com wrote:
> 
> > I often use grep -r --include. But it has a really annoying problem - the 
> > comparison of the filename is case-sensitive. The -i option seems to apply 
> > only to the regex not the filename matching.
> > 
> > For example, I have many files named virtualenvironment.ini. But 
> > unfortunately, sometimes it is virtualEnvironment.ini, 
> > VirtualEnvironment.ini, etc.
> > 
> > Grep -r --include=virtualenvironment.ini skips the latter files. As a 
> > work-around, I use --include="[Vv]irtual[Ee]nvironment.ini" but this is 
> > cumbersome and not a complete solution.
> > 
> > Because Windows is case-insensitive/case-preserving, I think the Cygwin 
> > filename matching should also be case-insensitive. Am I missing something 
> > here?
> > 
> > Thanks,
> > Rich
> > 
> > --
> > Problem reports: https://cygwin.com/problems.html
> > FAQ: https://cygwin.com/faq/
> > Documentation: https://cygwin.com/docs.html
> > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

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


re: sshd not working properly

2024-09-03 Thread Jim McNamara via Cygwin
>>This looks like a bug. Can anyone help? Is there a work-around?
 Hi Andy,

There was some chatter the last week or 2 on someone trying to get ssh to work. 
At the archive mailing list, you can read and see if that answers any of it. 

I thought the gist of it is that a cipher is being swapped out or something.

Please read archives at the mailing list while you are waiting for a reply for 
the past week or 2 msgs.

Also, the other person said they found out information in the release notes for 
cygwin that were kind of recent.

Please check out the 2 links i found for you below and read to the bottom of 
the second link to see if it helps at all!

https://cygwin.com/pipermail/cygwin/
https://cygwin.com/pipermail/cygwin-announce/2024-July/011846.html


thanks,
J. McNamara




Sent with Proton Mail secure email.

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


Fw: tcl puzzle for cygwin tcl'ers SOLVED

2024-08-31 Thread Jim McNamara via Cygwin
Hi-

with AI I got this solution to fly.

sorry for the confusion. I wasnt breaking it into steps and then expanding it 
in eval. I also fixed my display issues.

thanks so much,
have coolest day.

jim


#!/usr/bin/env wish

package require Tk

# Function to dynamically build and execute a command
proc execute_docker_cp {} {
set container_id 
"dde8bab92d8cd55efa7946bc0184c23e3f1f3c7e6d0f070fd45f0a7f2ebd4932"
set container_path "/home/masterblasterx1001/foo/xyz"
set local_path "c:/Users/stealth_droid"

# Construct the Docker cp command dynamically
set docker_command "\"$container_id:$container_path\" \"$local_path\""

# Output the command for debugging purposes
   #  puts "Executing command: $docker_command"

# Execute the Docker command using exec
try {

# Store the command and its arguments in a list
set docker_command [list "docker" "cp" "$container_id:$container_path" 
"$local_path"]

# Execute the command and capture its output

# Print the output
set output [exec {*}$docker_command]
} on error {msg} {
puts "Output of '[join $docker_command " "]':"

tk_messageBox -message $msg
   
}
}

# Create GUI
proc create_gui {} {
global top
set top [toplevel .t]
wm title $top "Docker Command Executor"

# Create and pack the button
button $top.execute -text "Execute Docker Command" -command 
execute_docker_cp
pack $top.execute -padx 10 -pady 10

# Start the Tk event loop
tkwait window $top
}

# Main script
create_gui




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


tcl puzzle for cygwin tcl'ers im stuck on one specific line

2024-08-30 Thread Jim McNamara via Cygwin
Error in startup script: couldn't execute "docker cp 
"dd9b7672d98a:/home/masterblasterx1001/etack" "c:/Users/stealth_droid"": no 
such file or directory
while executing
"exec $docker_command"
(procedure "execute_docker_cp" line 11)
invoked from within
"execute_docker_cp"
(file "myexec.tcl" line 43)
child process exited abnormally

set docker_command "docker cp \"$container_id:$container_path\" 
\"$windows_path\""

the ai cant get it either!

Error in startup script: bad option "Failed to execute command: couldn't 
execute "docker cp "dd9b7672d98a:/home/masterblasterx1001/etack" 
"c:/Users/stealth_droid"": no such file or directory": must be -default, 
-detail, -icon, -message, -parent, -title, or -type
while executing
"tclParseConfigSpec $w $specs "" $args"
(procedure "::tk::MessageBox" line 24)
invoked from within
"::tk::MessageBox {*}$args"
(procedure "tk_messageBox" line 2)
invoked from within
"tk_messageBox -type okcancel -type okcanceltitle "Command Execution Error" 
-message "Failed to execute command: $msg""
(procedure "execute_docker_cp" line 14)
invoked from within
"execute_docker_cp"
(file "myexec.tcl" line 46)
child process exited abnormally
% wish myexec.tcl
X connection to localhost:0.0 broken (explicit kill or server shutdown).
child process exited abnormally
% wish myexec.tcl
X connection to localhost:0.0 broken (explicit kill or server shutdown).
child process exited abnormally

This is so crazy to me. The AI can't get it to use a path that exec 
$docker_commmand can understand but powershell takes what it complains about 
like this:  docker cp dd9b7672d98a:/home/masterblasterx1001/etack 
c:/Users/stealth_droid/
Successfully copied 1.54kB to c:\Users\stealth_droid

thanks if you can give me a tip.

jim



Sent with Proton Mail secure email.

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


fixed ai rendered wrong code

2024-08-30 Thread Jim McNamara via Cygwin


Hi all-

I had 2 spare moments to check out the code. I have everything configured right 
but the ai gave me a little off center code.

thanks,
jim



Sent with Proton Mail secure email.

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


i tried a little different configuration option in tk to get button to bottom

2024-08-30 Thread Jim McNamara via Cygwin


Hi-

It is still like the screenshot that i posted.

it is just rendering a blank wish with no gui controls.

please assist.

thanks



Sent with Proton Mail secure email.

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


wish not rendering controls in xwindows

2024-08-30 Thread Jim McNamara via Cygwin
Hi with this script the AI spun up:

#!/usr/bin/env wish

# Create a top-level window
toplevel .top
wm title .top "Minimal Example"

# Create and pack a button
button .top.btn -text "Click Me" -command {puts "Button Clicked"}
pack .top.btn

# Run the Tk event loop
vwait forever

i chmod +x foo.tcl

i put export DISPLAY=localhost:0.0
I open port 6000

I no longer know what to do ? Can you peak at screen shot of blank wish 

Any ideas are greatly appreciated. I have the coolest scripts from AI for 
docker that are tcl tk but I cant get wish fired up.

Be back in an hour or so. Have to run to doctors.

thanks,
jim





Sent with Proton Mail secure email.
-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


this might help if it is actually broken in the meantime (from chatgpt)

2024-08-29 Thread Jim McNamara via Cygwin
Method 3: Edit the setup.ini File Manually
Download the Latest Cygwin Setup Files:

Obtain the setup.ini file from the Cygwin repository or mirror.
Edit setup.ini:

Open setup.ini in a text editor and manually ensure that the package version 
you want to keep is correctly listed and not marked for update.
Run Cygwin Setup:

Use the modified setup.ini to install or update packages according to your 
requirements.
Example Workflow Using apt-cyg and Cygwin Setup
Here is a step-by-step approach to managing packages with apt-cyg:

Install apt-cyg:

bash
Copy code
wget https://github.com/apt-cyg/apt-cyg/raw/master/apt-cyg
install apt-cyg /bin
Check Installed Packages:

bash
Copy code
apt-cyg list
Avoid Upgrades:

Avoid running apt-cyg update and apt-cyg upgrade if you want to maintain 
current versions.
Use Cygwin Setup for Pinning:

Run the setup executable, select the "Keep" option for the packages you want to 
prevent from upgrading, and reconfigure Cygwin as needed.
Summary
Direct Pinning: apt-cyg does not directly support version pinning.
Workaround: Use the Cygwin setup tool to select "Keep" for specific packages to 
prevent them from being upgraded.
Manual Management: Avoid running apt-cyg upgrade commands to maintain current 
package versions.
While apt-cyg simplifies package management, leveraging Cygwin's setup tool and 
manual methods are necessary to effectively control package versions and 
prevent unwanted updates.



You said:
how to install with apt-cyg and how to avoid upgrade with apt-cyg
ChatGPT said:
ChatGPT
apt-cyg is a command-line package manager for Cygwin that simplifies the 
process of installing, updating, and removing packages. However, it does not 
directly support pinning or holding packages to prevent them from being 
upgraded, similar to apt-mark hold in Debian-based systems. Here’s a guide on 
how to use apt-cyg to install packages and avoid upgrades:

Installing Packages with apt-cyg
Install apt-cyg:

First, you need to install apt-cyg if you haven't already:

bash
Copy code
wget https://github.com/apt-cyg/apt-cyg/raw/master/apt-cyg
install apt-cyg /bin
Update Package List:

Before installing, update the package list to ensure you have the latest 
package information:

bash
Copy code
apt-cyg update
Search for Packages:

If you are unsure of the exact package name, you can search for it:

bash
Copy code
apt-cyg search package-name
Install a Package:

Install a package using the install command. For example, to install wget:

bash
Copy code
apt-cyg install wget
Avoiding Package Upgrades with apt-cyg
apt-cyg does not have a direct mechanism to prevent specific packages from 
being upgraded. Here’s how you can manage this situation:

Method 1: Avoid Running Upgrade Commands
Avoid Upgrade Command:

Simply avoid using the apt-cyg upgrade command, which updates all installed 
packages to the latest versions. If you don’t run this command, your installed 
packages will not be updated.

bash
Copy code
apt-cyg upgrade
Manually Manage Updates:

If you need to update other packages but want to avoid updating specific ones, 
you’ll need to manually handle package management.

Method 2: Use Cygwin Setup Tool for Pinning
To effectively hold specific package versions, you might need to use the Cygwin 
setup tool instead of apt-cyg:

Download Cygwin Setup:

Go to the Cygwin website and download the Cygwin setup executable 
(setup-x86_64.exe or setup-x86.exe).
Run Cygwin Setup:

Execute the setup program.
Set Packages to "Keep":

In the package selection step, locate the packages you want to pin.
Set these packages to "Keep" instead of "Default" or "Install."
Complete the Installation:

Continue with the setup process to apply these changes. The "Keep" option 
ensures that these packages are not upgraded.
Method 3: Manually Prevent Upgrades
Use setup.ini for Manual Management:

Download or locate the setup.ini file from your Cygwin repository.
Edit this file to ensure that the package versions you want to keep are listed 
as you desire.
Run Cygwin Setup with Modified setup.ini:

Use the modified setup.ini to run the Cygwin setup and maintain your package 
versions.
Summary
Installing Packages: Use apt-cyg install package-name to install packages.
Avoiding Upgrades: To prevent upgrades, avoid running apt-cyg upgrade. For more 
precise control, use the Cygwin setup tool to pin packages by selecting "Keep."
Manual Management: Edit the setup.ini file or use Cygwin's setup program for 
detailed package version management.

thanks,
jim




Sent with Proton Mail secure email.

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


Re: trouble with sshpass unmaintained

2024-08-03 Thread Jim McNamara via Cygwin


Hi-

It is really not worth the trouble for ya'll to fix it because although VPN 
provides some protection your time is valuable and a perfect solution is not 
always readily attainable.

thanks



Sent with Proton Mail secure email.

On Sunday, August 4th, 2024 at 12:34 AM, Jim McNamara via Cygwin 
 wrote:

> Hi-
> 
> This commmand doesnt seem to work:
> 
> 
> sshpass -p 'your_password' rsync -avvv -e 'ssh -4 -vvv -o 
> StrictHostKeyChecking=no -o PreferredAuthentications=password -o 
> PubkeyAuthentication=no -p ' /cygdrive/c/cygwin64/home/myuser1/shared/ 
> myuser1@127.0.0.1:/home/myuser1/
> 
> The issue is that sshpass wont pass passwd to rsync to ssh in this direction 
> ->
> 
> 
> I tried redirection and piping, but it complained of a pseudo terminal. When 
> i uses ssh by itself it works, but when i chain sshpass to this other stuff 
> like rsync it bombs out. This is unfortunate because grsync doesnt seem to 
> have everything i need i am using it in xwindow in cygwin.
> 
> Please do you have a suggestion besides fooliing with except package.
> 
> thanks,
> jim
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> 
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

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


trouble with sshpass unmaintained

2024-08-03 Thread Jim McNamara via Cygwin
Hi-

This commmand doesnt seem to work:

 
sshpass -p 'your_password' rsync -avvv -e 'ssh -4 -vvv -o 
StrictHostKeyChecking=no -o PreferredAuthentications=password -o 
PubkeyAuthentication=no -p ' /cygdrive/c/cygwin64/home/myuser1/shared/ 
myuser1@127.0.0.1:/home/myuser1/

The issue is that sshpass wont pass passwd to rsync to ssh in this direction ->

I tried redirection and piping, but it complained of a pseudo terminal. When i 
uses ssh by itself it works, but when i chain sshpass to this other stuff like 
rsync it bombs out. This is unfortunate because grsync doesnt seem to have 
everything i need i am using it in xwindow in cygwin.

Please do you have a suggestion besides fooliing with except package.

thanks,
jim



Sent with Proton Mail secure email.

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


no sshd in package for openssh

2024-07-31 Thread Jim McNamara via Cygwin
Hi-

I am running into a little difficulty with openssh can you please assist ?

thanks jim

 ./cygrunsrv --install sshd -d "Cygwin SSHD" -p /usr/bin/sshd -a "-D"
./cygrunsrv: Given path doesn't point to a valid executable
Try `./cygrunsrv --help' for more information.

there is no sshd folder in /etc off of cygdrive

I think i have the latest package my setup version is 

cygcheck (cygwin) 3.5.3
System Checker for Cygwin

$ cygcheck.exe -i openssh
Fetching setup.ini from cygwin.com...

Installed package:
--

Name: openssh
Version : 9.8p1
Release : 1
Architecture: x86_64
Install Date: Wed Jul 31 15:03:46 2024
Size: 1073376 (1 M)
Categories  : Net
Source  : openssh-9.8p1-1-src.tar.xz
Summary : The OpenSSH server and client programs
Description :
OpenSSH is a program for logging into a remote machine and for
executing commands on a remote machine.  It can replace rlogin and rsh,
providing encrypted communication between two machines.
Sent with Proton Mail secure email.

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


Fw: Re: rpcd.exe solved

2024-07-29 Thread Jim McNamara via Cygwin

Hi all-

I've been testing out stuff like this now 
rsync -av -e "sshpass -p 'pass' ssh -o StrictHostKeyChecking=no -o 
UserKnownHostsFile=/dev/null" /home/user user@dockerip:/cygdrive/c/home/user

i will hook up to keys hopefully soon.

thanks all,
jim




Sent with Proton Mail secure email.

--- Forwarded Message -------
From: Jim McNamara via Cygwin 
Date: On Sunday, July 28th, 2024 at 8:19 PM
Subject: Fw: Re: rpcd.exe
To: cygwin@cygwin.com 


> Hi-
> 
> The AI really did go nuts like you said.
> I just read the man page for that and
> mkpassword -l isnt cutting it with setting up on win side first.
> 
> I dont know why it told me that. Crazy-town.
> 
> I will think of a command for a second..
> 
> I know what i will do i will create the user
> in windows and then wipe out the context of the
> /etc/passwd and then issue mkpasswd with the
> appropriate switch(es).
> 
> thanks
> 
> 
> 
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> 
> --- Forwarded Message ---
> From: Jim McNamara via Cygwin cygwin@cygwin.com
> 
> Date: On Sunday, July 28th, 2024 at 8:06 PM
> Subject: Re: rpcd.exe
> To: cygwin@cygwin.com cygwin@cygwin.com
> 
> 
> 
> > Hi -
> > 
> > I dont want to give away your email by replying because I am
> > afraid it won't obfuscate when I reply back.
> > 
> > Thanks for the reply from you and the group!
> > 
> > I'm trying to issue this command
> > 
> > mkpasswd -l rsyncuser >> /etc/passwd
> > 
> > i thought it would append a line to the end of my /etc/passwd file
> > that would indicate that i now have a rsync user.
> > 
> > it malfunctions and doesnt append anything.
> > 
> > I might want to mention when i go to install from the installer at the
> > end of the installer wizard i get this m\sg.
> > 
> > Package: _/Unknown package
> > xinit.sh exit code 3
> > 
> > I dont know why mkpasswd is not working in this syntax.
> > I am about to add it (passwd file entry) in manually. I changed subjects 
> > for a while and
> > I am working on computing again at GMT -4 20:00 Jul 28
> > 
> > What I have accomplished so far is containerized with docker
> > grsync and rsync and forwarded it over x windows to cygwin.
> > It worked well, but they said i have to have a user both in
> > docker and cygwin with the same user and group id.
> > This is a step so that I can use rsync part of the app.
> > Then i can escalate with grsync gui with advanced commands of
> > rsync and sudo into a directory where i need elevated privileges.
> > I am also working on ssh with all this in the meantime but leaving
> > some of that off for now.
> > 
> > I am setting up this special container up as part of my "workbench" to work
> > on apache royale by spinning up docker containers with custom
> > PhP extensioins.
> > 
> > So, i just dont know at the moment about this mkpasswd and
> > what i did wrong.
> > 
> > I will keep after it.
> > 
> > P.S. i might mention that the AI gives a killer tutorial on
> > windows permissions. It teaches to do chmod on mingw
> > which doesnt have that command like cygwin via icalcs,
> > but so doens't Brian and he is not any AI ;-)
> > 
> > thanks for any help,
> > jim
> > 
> > Sent with Proton Mail secure email.
> > 
> > On Sunday, July 28th, 2024 at 7:11 PM, _ _ robainloy...@gmail.com wrote:
> > 
> > > Hey,
> > > 
> > > Welcome to the community!
> > > 
> > > To further help you with your problem, could you explain what are you 
> > > trying to do ?
> > > 
> > > For context, rpcd is a program who is responsible for Remote Procedure 
> > > Call on linux based system.
> > > 
> > > I'm not sure what did you ask Chat GPT but you should know that A.I. is 
> > > not a source of true.
> > > 
> > > Have a good day !
> > > 
> > > Le dim. 28 juil. 2024, 22:16, Jim McNamara via Cygwin cygwin@cygwin.com a 
> > > écrit :
> > > 
> > > > Hi the old chatgpt 3.5 thinks rpcd.exe is in inetutils package. Is it 
> > > > still available. It says I need it to run mkpasswd.
> > > > 
> > > > I ran the python script python3 ./rpc_bapahbah.py
> > > > 
> > > > it listens on 8000
> > > > 
> > > > but it cant install rpcd.exe when i get to that step with cygrunserv 
> > > > cmd.
> > > > 
> > > > I think it is be

Fw: Re: rpcd.exe

2024-07-28 Thread Jim McNamara via Cygwin
Hi-

The AI really did go nuts like you said.
I just read the man page for that and
mkpassword -l isnt cutting it with setting up on win side first.

I dont know why it told me that. Crazy-town.

I will think of a command for a second..

I know what i will do i will create the user
in windows and then wipe out the context of the
/etc/passwd and then issue mkpasswd with the 
appropriate switch(es).

thanks






Sent with Proton Mail secure email.

--- Forwarded Message ---
From: Jim McNamara via Cygwin 
Date: On Sunday, July 28th, 2024 at 8:06 PM
Subject: Re: rpcd.exe
To: cygwin@cygwin.com 


> Hi -
>
> I dont want to give away your email by replying because I am
> afraid it won't obfuscate when I reply back.
>
> Thanks for the reply from you and the group!
>
> I'm trying to issue this command
>
> mkpasswd -l rsyncuser >> /etc/passwd
>
>
> i thought it would append a line to the end of my /etc/passwd file
> that would indicate that i now have a rsync user.
>
> it malfunctions and doesnt append anything.
>
> I might want to mention when i go to install from the installer at the
> end of the installer wizard i get this m\sg.
>
> Package: _/Unknown package
> xinit.sh exit code 3
>
> I dont know why mkpasswd is not working in this syntax.
> I am about to add it (passwd file entry) in manually. I changed subjects for 
> a while and
> I am working on computing again at GMT -4 20:00 Jul 28
>
> What I have accomplished so far is containerized with docker
> grsync and rsync and forwarded it over x windows to cygwin.
> It worked well, but they said i have to have a user both in
> docker and cygwin with the same user and group id.
> This is a step so that I can use rsync part of the app.
> Then i can escalate with grsync gui with advanced commands of
> rsync and sudo into a directory where i need elevated privileges.
> I am also working on ssh with all this in the meantime but leaving
> some of that off for now.
>
> I am setting up this special container up as part of my "workbench" to work
> on apache royale by spinning up docker containers with custom
> PhP extensioins.
>
> So, i just dont know at the moment about this mkpasswd and
> what i did wrong.
>
> I will keep after it.
>
> P.S. i might mention that the AI gives a killer tutorial on
> windows permissions. It teaches to do chmod on mingw
> which doesnt have that command like cygwin via icalcs,
> but so doens't Brian and he is not any AI ;-)
>
> thanks for any help,
> jim
>
> Sent with Proton Mail secure email.
>
> On Sunday, July 28th, 2024 at 7:11 PM, _ _ robainloy...@gmail.com wrote:
>
> > Hey,
> >
> > Welcome to the community!
> >
> > To further help you with your problem, could you explain what are you 
> > trying to do ?
> >
> > For context, rpcd is a program who is responsible for Remote Procedure Call 
> > on linux based system.
> >
> > I'm not sure what did you ask Chat GPT but you should know that A.I. is not 
> > a source of true.
> >
> > Have a good day !
> >
> > Le dim. 28 juil. 2024, 22:16, Jim McNamara via Cygwin cygwin@cygwin.com a 
> > écrit :
> >
> > > Hi the old chatgpt 3.5 thinks rpcd.exe is in inetutils package. Is it 
> > > still available. It says I need it to run mkpasswd.
> > >
> > > I ran the python script python3 ./rpc_bapahbah.py
> > >
> > > it listens on 8000
> > >
> > > but it cant install rpcd.exe when i get to that step with cygrunserv cmd.
> > >
> > > I think it is because it is missing rpcd.exe as in
> > >
> > > find / -name "rpcd.exe" equals zed.
> > >
> > > thanks,
> > > jim
> > >
> > > Sent with Proton Mail secure email.
> > >
> > > --
> > > Problem reports: https://cygwin.com/problems.html
> > > FAQ: https://cygwin.com/faq/
> > > Documentation: https://cygwin.com/docs.html
> > > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>
>
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

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


Re: rpcd.exe

2024-07-28 Thread Jim McNamara via Cygwin
Hi -

I dont want to give away your email by replying because I am
afraid it won't obfuscate when I reply back.

Thanks for the reply from you and the group!

I'm trying to issue this command

mkpasswd -l rsyncuser >> /etc/passwd

i thought it would append a line to the end of my /etc/passwd file
that would indicate that i now have a rsync user.

it malfunctions and doesnt append anything.

I might want to mention when i go to install from the installer at the
end of the installer wizard i get this m\sg.

Package: _/Unknown package
xinit.sh exit code 3

I dont know why mkpasswd is not working in this syntax.
I am about to add it (passwd file entry) in manually. I changed subjects for a 
while and
I am working on computing again at GMT -4 20:00 Jul 28

What I have accomplished so far is containerized with docker
grsync and rsync and forwarded it over x windows to cygwin.
It worked well, but they said i have to have a user both in
docker and cygwin with the same user and group id.
This is a step so that I can use rsync part of the app.
Then i can escalate with grsync gui with advanced commands of
rsync and sudo into a directory where i need elevated privileges.
I am also working on ssh with all this in the meantime but leaving
some of that off for now.

I am setting up this special container up as part of my "workbench" to work
on apache royale by spinning up docker containers with custom
PhP extensioins.

So, i just dont know at the moment about this mkpasswd and
what i did wrong.

I will keep after it.

P.S. i might mention that the AI gives a killer tutorial on
windows permissions. It teaches to do chmod on mingw
which doesnt have that command like cygwin via icalcs,
but so doens't Brian and he is not any AI ;-)

thanks for any help,
jim

Sent with [Proton Mail](https://proton.me/) secure email.

On Sunday, July 28th, 2024 at 7:11 PM, _ _  wrote:

> Hey,
>
> Welcome to the community!
>
> To further help you with your problem, could you explain what are you trying 
> to do ?
>
> For context, rpcd is a program who is responsible for Remote Procedure Call 
> on linux based system.
>
> I'm not sure what did you ask Chat GPT but you should know that A.I. is not a 
> source of true.
>
> Have a good day !
>
> Le dim. 28 juil. 2024, 22:16, Jim McNamara via Cygwin  a 
> écrit :
>
>> Hi the old chatgpt 3.5 thinks rpcd.exe is in inetutils package. Is it still 
>> available. It says I need it to run mkpasswd.
>>
>> I ran the python script python3 ./rpc_bapahbah.py
>>
>> it listens on 8000
>>
>> but it cant install rpcd.exe when i get to that step with cygrunserv cmd.
>>
>> I think it is because it is missing rpcd.exe as in
>>
>> find / -name "rpcd.exe" equals zed.
>>
>> thanks,
>> jim
>>
>> Sent with Proton Mail secure email.
>>
>> --
>> Problem reports: https://cygwin.com/problems.html
>> FAQ: https://cygwin.com/faq/
>> Documentation: https://cygwin.com/docs.html
>> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

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


Fw: rpcd.exe has nothng to do with it AI is going crazy lol

2024-07-28 Thread Jim McNamara via Cygwin


Hi -

One AI told me another AI was leading me down a rabbit hole. Never had that 
happen.

Oh well.

It says I can manually add that entry in /etc/passwd

but it seems that when i issue mkpasswd with the appropriate syntax it is not 
appending my user to /etc/passwd.

I will just add manually and move on.

Sometimes you have to try to just keep moving on.

thanks



Sent with Proton Mail secure email.

--- Forwarded Message ---
From: Jim McNamara via Cygwin 
Date: On Sunday, July 28th, 2024 at 4:15 PM
Subject: rpcd.exe
To: cygwin@cygwin.com 


> Hi the old chatgpt 3.5 thinks rpcd.exe is in inetutils package. Is it still 
> available. It says I need it to run mkpasswd.
> 
> I ran the python script python3 ./rpc_bapahbah.py
> 
> it listens on 8000
> 
> but it cant install rpcd.exe when i get to that step with cygrunserv cmd.
> 
> I think it is because it is missing rpcd.exe as in
> 
> find / -name "rpcd.exe" equals zed.
> 
> thanks,
> jim
> 
> 
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> 
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

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


rpcd.exe

2024-07-28 Thread Jim McNamara via Cygwin
Hi the old chatgpt 3.5 thinks rpcd.exe is in inetutils package. Is it still 
available. It says I need it to run mkpasswd.

I ran the python script python3 ./rpc_bapahbah.py

it listens on 8000

but it cant install rpcd.exe when i get to that step with cygrunserv cmd.

I think it is because it is missing rpcd.exe as in

find / -name "rpcd.exe" equals zed.

thanks,
jim




Sent with Proton Mail secure email.

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


oh duh.... gpg

2022-06-24 Thread Jim McNamara via Cygwin
Hi-

I'm so embarrassed. They want to make it so that if the checksum is valid that 
I can then just run the checksum.

I am s spacey today.

Sorry,
THANKS

jim

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


i put a printout of all the commands I ran for gpg including the one that failed

2022-06-24 Thread Jim McNamara via Cygwin

$ gpg --list-keys | grep 38AB71F4
pub   4096R/38AB71F4 2021-02-10

$ ls Fedora*
Fedora-KDE-Live-x86_64-36-1.5.iso  Fedora-Spins-36-1.5-x86_64-CHECKSUM

$ gpg --verify Fedora-Spins-36-1.5-x86_64-CHECKSUM
gpg: Signature made Fri May  6 10:21:35 2022 EDT using RSA key ID 38AB71F4
gpg: Good signature from "Fedora (36) "
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 53DE D2CB 922D 8B8D 9E63  FD18 999F 7CBF 38AB 71F4

$ gpg --verify Fedora-Spins-36-1.5-x86_64-CHECKSUM 
Fedora-KDE-Live-x86_64-36-1.5.iso
gpg: not a detached signature

Hi all-

Any ideas? I must be spacing out today! 
I wish they didn't put the sha256sum with the asci armor.
thanks

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


the gpg and asci/sha256sums files are located here

2022-06-24 Thread Jim McNamara via Cygwin
HI-

https://getfedora.org/static/checksums/36/iso/Fedora-Spins-36-1.5-x86_64-CHECKSUM
$ curl -O https://getfedora.org/static/fedora.gpg
https://spins.fedoraproject.org/kde/download/index.html

I think that is all I need. I ran the curl command and imported the fedora.gpg 
file first.

thanks!

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


Re: weird error gpg

2022-06-24 Thread Jim McNamara via Cygwin
Hi Rene-

Everything you mentioned checked out. I took the bottom of the sha256sum file 
where it was ascii armor and pasted it into notepad and saved it. 

I don't know why it isn't verifying. I named that file fedora.asc. Here is what 
the original file looks like. 

Please see below for the part that I copied and pasted into notepad.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

# Fedora-Cinnamon-Live-x86_64-36-1.5.iso: 2220474368 bytes
SHA256 (Fedora-Cinnamon-Live-x86_64-36-1.5.iso) = 
03db083afb8e25dcf3f433c1c07064650010dfc99ebc930b58ee34d328758cf6
# Fedora-KDE-Live-x86_64-36-1.5.iso: 2214592512 bytes
SHA256 (Fedora-KDE-Live-x86_64-36-1.5.iso) = 
b1da6062ee2e90695557f93a3e13a594884d8ab08ac48a93118eca68bc9108a8
# Fedora-LXDE-Live-x86_64-36-1.5.iso: 1478590464 bytes
SHA256 (Fedora-LXDE-Live-x86_64-36-1.5.iso) = 
57aa7b4df1138e755fdfebf8c60e49609f86f6f096baa578afabc1e91ef8576a
# Fedora-LXQt-Live-x86_64-36-1.5.iso: 1502576640 bytes
SHA256 (Fedora-LXQt-Live-x86_64-36-1.5.iso) = 
8fc59e536571dd146f1f73272097e3355860fa54fff9ff0461c8243a58cadefb
# Fedora-MATE_Compiz-Live-x86_64-36-1.5.iso: 2195668992 bytes
SHA256 (Fedora-MATE_Compiz-Live-x86_64-36-1.5.iso) = 
ccf352edf7286e15968048abcc7b3f760067e74da27e904efab8302c40f8ada4
# Fedora-SoaS-Live-x86_64-36-1.5.iso: 1229389824 bytes
SHA256 (Fedora-SoaS-Live-x86_64-36-1.5.iso) = 
09bbbdd5c92aff25db54ff0db683844d1cd9ed5dc0918b22a0f1ddb561b921d2
# Fedora-Xfce-Live-x86_64-36-1.5.iso: 1694498816 bytes
SHA256 (Fedora-Xfce-Live-x86_64-36-1.5.iso) = 
8c175c901393788a4a46ffeeb29b7f1eebde66d8c3226bd83675c2e7212a891d
# Fedora-i3-Live-x86_64-36-1.5.iso: 1482964992 bytes
SHA256 (Fedora-i3-Live-x86_64-36-1.5.iso) = 
c66c9521a1d73ac5505e1b523974c9604a4cf3d9823ee1e83fdf82d99174886c
-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEU97Sy5Iti42eY/0YmZ98vzircfQFAmJ1Lu8ACgkQmZ98vzir
cfRuDA/+IoCBqNW8kGoVXyrf6OfUjoaDrPF48EdIHLh0rBLaPCFu0dCNr5hjJijy
bINk5ogc4dRteC+qHNa6HWpRh4hDv+YfMxtrNlMXc0udW79uZWNrUR4zsWiX1aOS
mgyCSTIwcxUi59Brzh12iFjb6Gg4AeiUBOY8C5joLkrreT6Z6lQ2FcQySdj5SSmk
dyEyZZI5eJQQ3yBtfVeNY+JnvobvGpENS3V4IlDDfLgjmlbgNaUdCZIy0QNkAH/P
VhMPNrnQXMvcrH9uhLXxpseqpN+ZfhK64F47iHpXQGpfZyPdII3qjE/hW1vCL4UK
AV8TqFRYPK5wXu/HSqz0Mg9TCtf95oPVqgug0Czme7x8ObQ8i2x+uU9QoOjEr8oP
5U0DhrsUKzn7ogw6TfmBTDv3e+w0FBMqrHysWy9yU/SvsVKZRfz5l1fxYDI/Ifvn
K+oSCMG1wIhwVDBPO0rz/PdmeVnHNrLndrboJxYTApfJAZdVjoMwRivGtFtBjOPu
okSnkheDIwMnW3CvEwdxTrfZD2AL/nfm5I3qnJ6WSAwcF96TFWJj1/KDYrA1mE+b
hVbBkL7m+WCTN/DqegYefxDHEE09qvOLSDCSYOuZJpwVKxXame8C5/Zoe9AAJVDj
t8lbWKKPMauFFN/SXQ18JT0mECWWx84qmBvbezma2ecH2frMAuc=
=KcCN
-END PGP SIGNATURE-

This is what i copied and pasted into notepad and called fedora.asc (see below):

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEU97Sy5Iti42eY/0YmZ98vzircfQFAmJ1Lu8ACgkQmZ98vzir
cfRuDA/+IoCBqNW8kGoVXyrf6OfUjoaDrPF48EdIHLh0rBLaPCFu0dCNr5hjJijy
bINk5ogc4dRteC+qHNa6HWpRh4hDv+YfMxtrNlMXc0udW79uZWNrUR4zsWiX1aOS
mgyCSTIwcxUi59Brzh12iFjb6Gg4AeiUBOY8C5joLkrreT6Z6lQ2FcQySdj5SSmk
dyEyZZI5eJQQ3yBtfVeNY+JnvobvGpENS3V4IlDDfLgjmlbgNaUdCZIy0QNkAH/P
VhMPNrnQXMvcrH9uhLXxpseqpN+ZfhK64F47iHpXQGpfZyPdII3qjE/hW1vCL4UK
AV8TqFRYPK5wXu/HSqz0Mg9TCtf95oPVqgug0Czme7x8ObQ8i2x+uU9QoOjEr8oP
5U0DhrsUKzn7ogw6TfmBTDv3e+w0FBMqrHysWy9yU/SvsVKZRfz5l1fxYDI/Ifvn
K+oSCMG1wIhwVDBPO0rz/PdmeVnHNrLndrboJxYTApfJAZdVjoMwRivGtFtBjOPu
okSnkheDIwMnW3CvEwdxTrfZD2AL/nfm5I3qnJ6WSAwcF96TFWJj1/KDYrA1mE+b
hVbBkL7m+WCTN/DqegYefxDHEE09qvOLSDCSYOuZJpwVKxXame8C5/Zoe9AAJVDj
t8lbWKKPMauFFN/SXQ18JT0mECWWx84qmBvbezma2ecH2frMAuc=
=KcCN
-END PGP SIGNATURE-

thanks for helping,
jim





On Friday, June 24, 2022, 12:23:19 PM EDT, René Berber  
wrote: 





On 6/24/2022 10:55 AM, Jim McNamara via Cygwin wrote:

> $ gpg --verify fedora.asc Fedora-KDE-Live-x86_64-36-1.5.iso
> gpg: can't handle text lines longer than 19995 characters
> gpg: Signature made Fri May  6 10:21:35 2022 EDT using RSA key ID 38AB71F4
> gpg: BAD signature from "Fedora (36) "
> 
> I am having a difficult time. I think they are breaking into my computer.
> They made it so I can't verify files.
> 
> Is there any way I can fix it so that this error goes away?

Start by checking gpg itself.


$ which gpg
/usr/bin/gpg

$ gpg --version
gpg (GnuPG) 1.4.23
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

$ sha256sum /usr/bin/gpg
a72cb1fd7a1dcf94c7c8de2a2e749bce22f16af59c2b2157b01f73518e0bece7 
*/usr/bin/gpg


Or...

$ which gpg2
/usr/bin/gpg2

$ gpg2 --version
gpg: WARNING: unsafe permissions on homedir '/home/reneb/.gnu

weird error gpg

2022-06-24 Thread Jim McNamara via Cygwin
Hi guys-

$ cd /cygdrive/c/Users/DeathDealer/Downloads

$ gpg --verify fedora.asc Fedora-KDE-Live-x86_64-36-1.5.iso
gpg: can't handle text lines longer than 19995 characters
gpg: Signature made Fri May  6 10:21:35 2022 EDT using RSA key ID 38AB71F4
gpg: BAD signature from "Fedora (36) "

I am having a difficult time. I think they are breaking into my computer.
They made it so I can't verify files.

Is there any way I can fix it so that this error goes away?

thanks,
jim


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


Re: ken and brian - I am going to try a symlink

2022-06-20 Thread Jim McNamara via Cygwin
Hi Ken and Brian-

Yes, that seemed to work. I will try to test it out. It did create the 
extension dll file named amf3.dll.

THANKS for being so patient!

jim






On Monday, June 20, 2022, 06:18:59 AM EDT, Jim McNamara via Cygwin 
 wrote: 





Hi Ken and Brian-

I am going to try a symlink and trick cygwin to finding the right dll. I put 
the dll on my LD_LIBRARY_PATH.

thanks,
jim

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

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


ken and brian - I am going to try a symlink

2022-06-20 Thread Jim McNamara via Cygwin
Hi Ken and Brian-

I am going to try a symlink and trick cygwin to finding the right dll. I put 
the dll on my LD_LIBRARY_PATH.

thanks,
jim

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


Fw: sorry I meant to say libphp7.dll is missing

2022-06-20 Thread Jim McNamara via Cygwin
Hi Ken and Brian-

Please see the make report below.

How do I direct php_amf3 to see cygphp7-7-3.dll? It will only give me a 'static 
module'. I need dynamic!

Also, my bitdefender slows down cygwin. If I shut off the shield, it runs like 
a champ. I am going to re run again and see if I can add cygwin as an 
exception, so I don't have to shut off my whole antivirus.

If I can get php_amf3 to work on cygwin, I am going to post that it works with 
Apache Royale
on the Royale mailing list. People like windows, and Apache Royale has a lot of 
tools available on windows. They may not choose php_amf3/cygwin if they think 
php_amf3 is linux only.  

I am having cool results with php_amf3 on linux with Royale.

Please assist if you can!

THANKS,
roboloki

*** Warning: linker path does not have real file for library -lphp7.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libphp7 but no candidates were found. (...for file magic test)


*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module amf3.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
libtool: link: ar cru .libs/amf3.a .libs/amf3.o .libs/amf3-encode.o 
.libs/amf3-decode.o
libtool: link: ranlib .libs/amf3.a
libtool: link: ( cd ".libs" && rm -f "amf3.la" && ln -s "../amf3.la" "amf3.la" )
/bin/sh /home/DeathDealer/amf3/libtool --mode=install cp ./amf3.la 
/home/DeathDealer/amf3/modules
libtool: install: cp ./.libs/amf3.lai /home/DeathDealer/amf3/modules/amf3.la
libtool: install: cp ./.libs/amf3.a /home/DeathDealer/amf3/modules/amf3.a
libtool: install: chmod 644 /home/DeathDealer/amf3/modules/amf3.a
libtool: install: ranlib /home/DeathDealer/amf3/modules/amf3.a


Build complete.
Don't forget to run 'make test'.


- Forwarded Message -

From: Ken Brown 
To: "cygwin@cygwin.com" 
Sent: Thursday, May 26, 2022, 12:38:09 PM EDT
Subject: Re: sorry I meant to say libphp7.dll is missing


On 5/26/2022 12:23 PM, Jim McNamara via Cygwin wrote:

> there is only libphp7.dll.a


That's what you need for linking. The corresponding DLL is 
/usr/bin/cygphp7-7-3.dll, which is in the php package.

Ken

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


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


Thanks for the cool tips! Re: missing dll

2022-05-26 Thread Jim McNamara via Cygwin
Thanks Ken and Brian,Roboloki

Sent from Yahoo Mail on Android

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


sorry I meant to say libphp7.dll is missing

2022-05-26 Thread Jim McNamara via Cygwin
there is only libphp7.dll.a

thanks again,
ken

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


hi Ken- it is missing from the php-dev package

2022-05-26 Thread Jim McNamara via Cygwin
Hi -

I only find php7.dll.a

thanks


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


i will try to build a .dll from source for missing php library from php.net

2022-05-26 Thread Jim McNamara via Cygwin
thanks

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


missing php library dll

2022-05-26 Thread Jim McNamara via Cygwin
hi all-

I have tracked down the problem and wondering if you had a suggestion to help 
me fix it. Is there any reason why the package on the mirror doesn't have 
library -lphp7? Is there a way I can get one or do something to solve this 
problem? I tried 2 different PhP package versions on the mirror.

/bin/sh /home/user/amf3/libtool --mode=link cc -DPHP_ATOM_INC 
-I/home/user/amf3/include -I/home/user/amf3/main -I/home/user/amf3 
-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM 
-I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  
-DHAVE_CONFIG_H  -g -O2    -o amf3.la -export-dynamic -avoid-version -module 
-no-undefined -rpath /home/user/amf3/modules  amf3.lo amf3-encode.lo 
amf3-decode.lo -lphp7


*** Warning: linker path does not have real file for library -lphp7.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libphp7 but no candidates were found. (...for file magic test)


*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module amf3.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

thanks,
roboloki


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


re: php installing custom extension with phpize permission denied

2022-05-25 Thread Jim McNamara via Cygwin
Hi all-

This is the error I get:

PHP         : /usr/bin/phpdbg
PHP_SAPI    : PHP Warning:  PHP Startup: Unable to load dynamic library '' 
(tried: /home/user/amf3/modules/ (Permission denied), 
/home/user/amf3/modules/.dll (No such file or directory)) in Unknown on line 0

I verified that the amf3.a ended up in amf3 directory under .libs.

I had tried to run ./configure --enable-shared. It didn't output a .dll

thanks,
roboloki


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


installing custom extension with phpize permission denied (PhP)

2022-05-25 Thread Jim McNamara via Cygwin
Hi all-

I was able to run phpize with cygwin PhP and it generated an .a file for the 
extension. I need a .dll file though for PhP to load it. I'd like to install 
php-amf3 located at https://github.com/neoxic/php-amf3. I get a permission 
denied error. I thought the process is to change in to the php_amf3 extension 
directory and run:

$cd ~/amf3
$ phpize
$ ./configure
$ make

and finally cp the generated .dll file to the PhP ext directory.

Is anyone having luck with making a .dll file for exensions that doesn't come 
the bundled in cygwin PhP from the installer? I had opened an issue with the 
maintainer of that github project, but he closed it saying that he could run it 
from cygwin. He said he uses a lesser privileged windows guest account, but 
that is not supported now in windows 10. He though it might be a permission 
issue.

I thought it might be worth it to check here since y'all have PhP in your 
mirror.

thanks,
roboloki





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


Re: McAfee Anti-Virus Exclusion

2021-05-08 Thread Jim McNamara via Cygwin
On Sat, May 8, 2021, 7:33 PM Brian Inglis 
wrote:

> On 2021-05-07 04:57, Lam Jian Zhou via Cygwin wrote:
> > We have encountered an issue with Cygwin process get slow when using
> McAfee anti-virus.
> > We have put all the exclusion on not scanning or checking on Cygwin
> process and folder, but the slowness still exists.
> > We have tried McAfee recommendation on this :
> https://docs.mcafee.com/bundle/endpoint-security-10.7.x-common-product-guide-windows/page/GUID-459435D7-AE7B-4656-9120-9235F39EA0D6.html
> but still not able to solve the issue.
> >
> > We have tried to find the issue in various forum but there is not much
> helpful information on this and even the McAfee support told us only Cygwin
> support can give the answer.
> >
> > Would you able to give some recommendation of what should be exclude for
> Cygwin process?
> > Or is there any other windows process will be trigger along with the
> Cygwin? so, we can exclude them as well.
>
> Cygwin support is a bunch of volunteers, so unless you can demonstrate an
> obvious reproducible problem across multiple different installations,
> using a
> simple test case, caused by Cygwin doing something it should not, it is
> unlikely
> anyone here will be able to help much.
> Please note that Cygwin is doing only what it has to, in order to support
> a
> POSIX development environment under Windows.
> If it seems too slow for your uses, please consider testing, timing, and
> running
> your development toolchain under faster environments: try one of the many
> distros under WSL, local or server VMs, Docker, etc.
>
> The problem is with McAfee going out to servers to check every executable,
> rather than remember locally that a file has already been checked using a
> hash
> over contents and properties, and skipping future checks.
> If you have problems with McAfee, complain to Intel, and thence to whoever
> insists you run a legacy AV suite.
>
> Run Windows Defender if you need an AV and want to minimize slowdown.
> More intrusive AV will intercept and interfere more with performance (like
> anything called End Point Protection, which is known to break Cygwin).
> Have your techs run your processes with only Windows and Cygwin installed,
> then
> with Windows Defender, then with Intel McAfee AV to see the differences.
>
> Looking at the McAfee exclusions, they are decades out of date, most
> installations are now x86_64, and may also support x86 [32 bit], so you
> need to
> exclude the compiler and build toolchain utilities (gcc, llvm, clang,
> binutils,
> coreutils, c/make, libtool, git packages) in /bin/, /usr/*86*-pc-cygwin/,
> /lib/gcc/*86*-pc-cygwin/[1-9]*/ and all their DLLs /bin/cyg...*.dll for
> all
> installed compiler and utility versions.
> Note that Cygwin supports git (and is part of the toolchain used to build
> Git
> for Windows mentioned by McAfee), so add /usr/libexec/,
> /usr/libexec/git-core/,
> and other contents of that tree to your exclusions.
>
> On development machines, Adaptive Threat Protection (guessing based on
> patterns
> matching existing malware) will slow down every step of every build, so
> switch
> it off, as well as any other guessing games, cloud or remote access!
>
> Following McAfee's suggestions, using gpg keys and SHA2 hashes, make a
> verified
> clean Cygwin developer build of everything you use, and upload everything
> installed to McAfee's GTI servers, and the validation files to your own
> TIE
> servers: clone to each developer machine and run a local TIE server there.
> Do the same for everything in all your production builds.
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> [Data in binary units and prefixes, physical quantities in SI.]
>
> --
> Problem reports:  https://cygwin.com/problems.html
> FAQ:  https://cygwin.com/faq/
> Documentation:https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Hi,

I have really good luck with Webroot.
AVG ... not so much (cygwin false positives) ! Webroot and malwarebytes go
good together. Webroot uses own outbound firewall and windows defender for
inbound. I think I remember from YouTube review it has to be connected to
internet for scanner to detect threats.

It is good to know that software labeled endpoint software wont work. I
know of one such place using it.

I hope you can use defender and save $. If not, hopefully 2 more good
suggestions for you.

Robo-loki





>

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


Re: Cygssh-4.dll

2021-01-18 Thread Jim McNamara via Cygwin
On Mon, Jan 18, 2021, 11:41 AM Jim McNamara 
wrote:

>
>
> On Mon, Jan 18, 2021, 11:09 AM Jim McNamara 
> wrote:
>
>> Hi all-
>>
>> Thanks Marco for helping with ssh!
>>
>> I get error cygssh_threads-4.dll cant open when I try to launch remmina.
>> Can someone help me fix?
>>
>> I am missing a package.
>>
>> Have cool Monday!
>>
>> Robo-loki
>>
>> Hi all-
>>
> Just needed to update package that provides cygssh-4.dll
>
> Thanks,
> Roboloki
>

I had older version...

Roboloki

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


Re: Cygssh-4.dll

2021-01-18 Thread Jim McNamara via Cygwin
On Mon, Jan 18, 2021, 11:09 AM Jim McNamara 
wrote:

> Hi all-
>
> Thanks Marco for helping with ssh!
>
> I get error cygssh_threads-4.dll cant open when I try to launch remmina.
> Can someone help me fix?
>
> I am missing a package.
>
> Have cool Monday!
>
> Robo-loki
>
> Hi all-
>
Just needed to update package that provides cygssh-4.dll

Thanks,
Roboloki

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


Cygssh-4.dll

2021-01-18 Thread Jim McNamara via Cygwin
Hi all-

Thanks Marco for helping with ssh!

I get error cygssh_threads-4.dll cant open when I try to launch remmina.
Can someone help me fix?

I am missing a package.

Have cool Monday!

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


Ssh

2021-01-17 Thread Jim McNamara via Cygwin
Hi-

If I am trying to ssh by local port forwarding from machine A to remote
host B, do I need cygserv or sshd running on A?

B is the sshd server I want to connect to. A is the ssh client.

If I test either vnc or ssh on linux virtual machine guest it connects no
problem.  For some reason NAT is not working from A even though I port
forward on my NAT adapter on virtual box.

Thanks,
Robo-loki
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Fwd: Fwd: Switching to posix with no acl

2020-11-14 Thread Jim McNamara via Cygwin
-- Forwarded message -
From: Jim McNamara 
Date: Sat, Nov 14, 2020, 7:26 PM
Subject: Re: Fwd: Switching to posix with no acl
To: René Berber 




On Sat, Nov 14, 2020, 7:17 PM René Berber via Cygwin 
wrote:

> On 11/14/2020 12:37 PM, Jim McNamara via Cygwin wrote:
>
> > Since there are no adduser or addgroup, I guess I'd create those files
> > manually off /etc.
>
> I think the recommended way is using the mkpasswd command.  Actually the
> recommended procedure is not to use anything.
>
> Just run that command and take a look at the output.  You have to filter
> out most lines, only add the user you want.
>
> Now run it with --help, you'll see you can list 'local' users AND domain
> users.  I put quotes on local because you can also specify local to
> which computer (as long as it is running SMB, I think).
>
> Its about the same for groups: mkgroup.
>
> Hope this helps a little.
> --
> R.Berber
> --
> Problem reports:  https://cygwin.com/problems.html
> FAQ:  https://cygwin.com/faq/
> Documentation:https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Hi  R. Berber-

Thanks for the cool info. Can't wait to check it out :-)

Robo-loki


Hi R.


Yes. 'The recommendation is to not use anything.'

There are too many accounts specific to the OS like SYSTEM.

I think they serve a purpose. e.g. a process can run as system.

I vote for leaving well enough alone on this one.

I will just set permission at command line in mintty for stuff like ssh
authorized_keys etc. and not touch permission outside of mintty.

Have a cool night.

Thanks,
Robo-loki
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Fwd: Switching to posix with no acl

2020-11-14 Thread Jim McNamara via Cygwin
-- Forwarded message -
From: Jim McNamara 
Date: Sat, Nov 14, 2020, 1:37 PM
Subject: Fwd: Switching to posix with no acl
To: Cygwin 




-- Forwarded message -
From: Jim McNamara 
Date: Sat, Nov 14, 2020, 12:57 AM
Subject: Switching to posix with no acl
To: Cygwin 


Hi all

Since there are no adduser or addgroup, I guess I'd create those files
manually off /etc.

Then I'd run passwd.

After that put in /etc/fstab

none /cygdrive cygdrive binary, posix=0, noacl, user 0 0

Close all processes.

That would give me a posix permission set up, right?

I read something about windows ignoring some dos bit with a file permission
but that is outside of cygwin...right?

Lastly, with acl you open an administrator cmd shell. With posix can I
escalate to root and stay away from admin cmd shell?

Is anyone else using posfix setup in general or mostly acl?

Thanks for any help!
Roboloki

Sat. Nov. 14 1:35 pm

Hi all-

I found in the manual about the execute bit permission being ignored in
filesystems with acl. That answered one question above. I can just take
advantage of how exe heuristics work.

If I find myself in a position where it needs administrator rights via a
shell, will it interfere with my posix permissions, users, or groups once
the /etc/groups and /etc/password and fstab are already setup?

Did the fstab entry above look okay for posix permission?

Thanks for any assistance !
Roboloki

Sat. Nov. 14, 1:45 PM

HI all -

I had a privilege escalation window come up for instance when running a
system supplied configure script for sshd ( I think ). It gave the choices
yes or no prompting to choose carefully for noacl permission mode or acl
translation setup. I think that prompt is very good. Will it (administrator
mode) always at least ask or identify which type of setup if required?

Thanks as always,
Robo-loki
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Fwd: Switching to posix with no acl

2020-11-14 Thread Jim McNamara via Cygwin
-- Forwarded message -
From: Jim McNamara 
Date: Sat, Nov 14, 2020, 12:57 AM
Subject: Switching to posix with no acl
To: Cygwin 


Hi all

Since there are no adduser or addgroup, I guess I'd create those files
manually off /etc.

Then I'd run passwd.

After that put in /etc/fstab

none /cygdrive cygdrive binary, posix=0, noacl, user 0 0

Close all processes.

That would give me a posix permission set up, right?

I read something about windows ignoring some dos bit with a file permission
but that is outside of cygwin...right?

Lastly, with acl you open an administrator cmd shell. With posix can I
escalate to root and stay away from admin cmd shell?

Is anyone else using posfix setup in general or mostly acl?

Thanks for any help!
Roboloki

Sat. Nov. 14 1:35 pm

Hi all-

I found in the manual about the execute bit permission being ignored in
filesystems with acl. That answered one question above. I can just take
advantage of how exe heuristics work.

If I find myself in a position where it needs administrator rights via a
shell, will it interfere with my posix permissions, users, or groups once
the /etc/groups and /etc/password and fstab are already setup

Did the fstab entry above look okay for posix permission?

Thanks for any assistance !
Roboloki
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Switching to posix with no acl

2020-11-13 Thread Jim McNamara via Cygwin
Hi all

Since there are no adduser or addgroup, I guess I'd create those files
manually off /etc.

Then I'd run passwd.

After that put in /etc/fstab

none /cygdrive cygdrive binary, posix=0, noacl, user 0 0

Close all processes.

That would give me a posix permission set up, right?

I read something about windows ignoring some dos bit with a file permission
but that is outside of cygwin...right?

Lastly, with acl you open an administrator cmd shell. With posix can I
escalate to root and stay away from admin cmd shell?

Is anyone else using posfix setup in general or mostly acl?

Thanks for any help!
Roboloki
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


News reader or mail client to view cygwin

2020-11-01 Thread Jim McNamara via Cygwin
Hi all -

Is there any mail client or newsreader to view mail posts from a thread you
all like here at cygwin? I think Yahoo was messing up the
order/presentation of my posts - plus i dont want to top post. I use Yahoo
on my laptop.

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


Fwd: Unable to extract GMP version information from gmp_version :mingw

2020-10-25 Thread Jim McNamara via Cygwin
Hi Brian and Achim,

I built gnucobol with cygwin and mingw.  I may not need cross compiling. I
read that the permissions are easier to deal with in mingw so I got out the
mingw tools.

I thought that I'd try out deploying a program under mingw with cygwin
outside cygwin without the permission issues i ran into with posix/windows.

Thanks,
Roboloki

-- Forwarded message -
From: Jim McNamara 
Date: Sun, Oct 25, 2020, 4:12 AM
Subject: Fwd: Unable to extract GMP version information from gmp_version
:mingw
To: Cygwin 


Thanks Achim.

I fixed the ld_library_path.

I was wondering about the tip you gave me on devel packages not being split
from runtime in mingw. Now I know for sure.

I since added the bin directory to path for the mingw files for the x64
directory.

Very cool.  I have to crash now. I will work on this later today.

Have a good night.
Roboloki



-- Forwarded message -
From: Achim Gratz 
Date: Sun, Oct 25, 2020, 4:01 AM
Subject: Re: Unable to extract GMP version information from gmp_version
:mingw
To: 


Jim McNamara via Cygwin writes:
> I am experimenting with mingW64 with cygwin.

Have you ever used a cross-compilation toolchain before?

> My ./configure looks like this:
> $ echo $LD_LIBRARY_PATHC:/cygwin/lib

Not sure what you are trying to achieve there, but even if it was
working it would be wrong.

> $ ./configure --prefix=/home/user/cobol-3.1-rc1 --host=x86_64-w64-mingw32

Is your configure script set up to actually work with cross-compilation?
Your output doesn't seem to contain any notion of the configury checking
the cross toolchain.

> I installed the gmp package for mingw64.

Correct.

> I went in and installed libgmp mingW64 package and the headers for in
> devel section of the cygwin installer.

Whatever devel package you found there is most likely for Cygwin, but
it's hard to know without the package name.  The mingw64-* packages are
all standalone devel packages, only the Cygwin packages are split into
runtime and devel.

> I have the file libgmp.dll.a in c:/cygwin/lib

That's not the link library for MingW, but for Cygwin.

> Please let me know if there is anything i can do to get past this error.

Maybe you look at some of the cross-compiled stuff in Cygwin and take it
from there?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Fwd: Unable to extract GMP version information from gmp_version :mingw

2020-10-25 Thread Jim McNamara via Cygwin
Thanks Achim.

I fixed the ld_library_path.

I was wondering about the tip you gave me on devel packages not being split
from runtime in mingw. Now I know for sure.

I since added the bin directory to path for the mingw files for the x64
directory.

Very cool.  I have to crash now. I will work on this later today.

Have a good night.
Roboloki



-- Forwarded message -
From: Achim Gratz 
Date: Sun, Oct 25, 2020, 4:01 AM
Subject: Re: Unable to extract GMP version information from gmp_version
:mingw
To: 


Jim McNamara via Cygwin writes:
> I am experimenting with mingW64 with cygwin.

Have you ever used a cross-compilation toolchain before?

> My ./configure looks like this:
> $ echo $LD_LIBRARY_PATHC:/cygwin/lib

Not sure what you are trying to achieve there, but even if it was
working it would be wrong.

> $ ./configure --prefix=/home/user/cobol-3.1-rc1 --host=x86_64-w64-mingw32

Is your configure script set up to actually work with cross-compilation?
Your output doesn't seem to contain any notion of the configury checking
the cross toolchain.

> I installed the gmp package for mingw64.

Correct.

> I went in and installed libgmp mingW64 package and the headers for in
> devel section of the cygwin installer.

Whatever devel package you found there is most likely for Cygwin, but
it's hard to know without the package name.  The mingw64-* packages are
all standalone devel packages, only the Cygwin packages are split into
runtime and devel.

> I have the file libgmp.dll.a in c:/cygwin/lib

That's not the link library for MingW, but for Cygwin.

> Please let me know if there is anything i can do to get past this error.

Maybe you look at some of the cross-compiled stuff in Cygwin and take it
from there?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


thanks Brian! MinGW/cygwin. Have a cool weekend :-)

2020-10-25 Thread Jim McNamara via Cygwin
I got past the error message on configuring.

I am trying to get past an error in the Makefile now.

I posted it to gnucobol and am seeing if they can assist. It has something to 
do with a default.conf file is missing in one of the source directories.

I found the button for plain text mode in yahoo.

I will read up on cross compiling in the next day or two. I don't know what 
packages to install for that in cygwin. I get : cross compiling ... no.

They seem really interested in gnucobol with mingw related questions.

Thanks for all of your help this weekend.

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


Unable to extract GMP version information from gmp_version :mingw

2020-10-24 Thread Jim McNamara via Cygwin
HI all-
I am experimenting with mingW64 with cygwin.
My ./configure looks like this:
$ echo $LD_LIBRARY_PATHC:/cygwin/lib
$ ./configure --prefix=/home/user/cobol-3.1-rc1 --host=x86_64-w64-mingw32
checking for gmp... nochecking for libgmp... nochecking gmp.h usability... 
yeschecking gmp.h presence... yeschecking for gmp.h... yeschecking for gmp.h... 
(cached) yeschecking if linking against libgmp with "-lgmp" works... 
yeschecking matching GMP version... configure: error: Unable to extract GMP 
version information from gmp_version
I installed the gmp package for mingw64. I went in and installed libgmp mingW64 
package and the headers for in devel section of the cygwin installer.
I have the file libgmp.dll.a in c:/cygwin/lib
Please let me know if there is anything i can do to get past this error.
thanks,roboloki
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Fwd: Objects in ACL cygwin win 10

2020-10-24 Thread Jim McNamara via Cygwin
I decided to go with b. since windows ntfs wont recognize a and I want to
deploy. Im using cygwin to make agar gui apps for cobol (at least that is
the plan). Thnx brian!

On Sat, Oct 24, 2020, 3:02 AM Jim McNamara 
wrote:

> Hi Brian
>
> Yes, I see now what you are saying. Didn't know why it behaves like that.
> Do you reccomend:
>
> A. Noacl option  in fstab
> B. Reinstall and leave icacls in windows alone so I can deploy in future
> with runtime
>
> Thnx,
> Roboloki
>
> On Sat, Oct 24, 2020, 12:46 AM Brian Inglis <
> brian.ing...@systematicsw.ab.ca> wrote:
>
>> On 2020-10-23 21:49, Jim McNamara via Cygwin wrote:
>> > On Fri, Oct 23, 2020, 10:06 PM Eliot Moss wrote:
>>
>> >> I have to admit I am not 100% sure what you are asking, but I am
>> careful
>> >> to grant SYSTEM access so
>> >> that my backup program can access and save a copy of virtually
>> everything
>>
>> > Thanks for you and Brian helping me.
>> > I used icacls cygwin /q /c /t reset
>>
>> You have to be very careful using icacls and other Windows commands with
>> Cygwin
>> ACLs as
>>
>> "ICACLS preserves the canonical ordering of ACE entries:
>> Explicit denials
>> Explicit grants
>> Inherited denials
>> Inherited grants"
>>
>> and Cygwin's POSIX ACLs may or may not obey this canonical order; Windows
>> File
>> Explorer often does not consider Cygwin ACLs in what it considers
>> canonical
>> order and requires them to be reordered, which breaks the Cygwin
>> permissions.
>>
>> Ah, that "NT AUTHORITY/SYSTEM" SID, normally paired with
>> BUILTIN/Administrators,
>> as users, groups, or both:
>>
>> $ ls -dl /proc/cygdrive/c/Users/; echo; getfacl /proc/cygdrive/c/Users/;
>> echo;
>> icacls C:/Users/
>> drwxr-xr-x+ 1 SYSTEM SYSTEM 0 Apr 13  2020 /proc/cygdrive/c/Users/
>>
>> # file: /proc/cygdrive/c/Users/
>> # owner: SYSTEM
>> # group: SYSTEM
>> user::rwx
>> group::r-x
>> group:Administrators:rwx#effective:r-x
>> group:Users:r-x
>> mask::r-x
>> other::r-x
>> default:user::rwx
>> default:group::---
>> default:group:Administrators:rwx#effective:r-x
>> default:group:Users:r-x
>> default:mask::r-x
>> default:other::r-x
>>
>> C:/Users/ NT AUTHORITY\SYSTEM:(OI)(CI)(F)
>>   BUILTIN\Administrators:(OI)(CI)(F)
>>   BUILTIN\Users:(RX)
>>   BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
>>   Everyone:(RX)
>>   Everyone:(OI)(CI)(IO)(GR,GE)
>>
>> Successfully processed 1 files; Failed processing 0 files
>>
>> --
>> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>>
>> This email may be disturbing to some readers as it contains
>> too much technical detail. Reader discretion is advised.
>> [Data in binary units and prefixes, physical quantities in SI.]
>>
>> --
>> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>>
>> This email may be disturbing to some readers as it contains
>> too much technical detail. Reader discretion is advised.
>> [Data in binary units and prefixes, physical quantities in SI.]
>> --
>> Problem reports:  https://cygwin.com/problems.html
>> FAQ:  https://cygwin.com/faq/
>> Documentation:https://cygwin.com/docs.html
>> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>>
>
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Fwd: Objects in ACL cygwin win 10

2020-10-24 Thread Jim McNamara via Cygwin
Hi Brian

Yes, I see now what you are saying. Didn't know why it behaves like that.
Do you reccomend:

A. Noacl option  in fstab
B. Reinstall and leave icacls in windows alone so I can deploy in future
with runtime

Thnx,
Roboloki

On Sat, Oct 24, 2020, 12:46 AM Brian Inglis 
wrote:

> On 2020-10-23 21:49, Jim McNamara via Cygwin wrote:
> > On Fri, Oct 23, 2020, 10:06 PM Eliot Moss wrote:
>
> >> I have to admit I am not 100% sure what you are asking, but I am careful
> >> to grant SYSTEM access so
> >> that my backup program can access and save a copy of virtually
> everything
>
> > Thanks for you and Brian helping me.
> > I used icacls cygwin /q /c /t reset
>
> You have to be very careful using icacls and other Windows commands with
> Cygwin
> ACLs as
>
> "ICACLS preserves the canonical ordering of ACE entries:
> Explicit denials
> Explicit grants
> Inherited denials
> Inherited grants"
>
> and Cygwin's POSIX ACLs may or may not obey this canonical order; Windows
> File
> Explorer often does not consider Cygwin ACLs in what it considers canonical
> order and requires them to be reordered, which breaks the Cygwin
> permissions.
>
> Ah, that "NT AUTHORITY/SYSTEM" SID, normally paired with
> BUILTIN/Administrators,
> as users, groups, or both:
>
> $ ls -dl /proc/cygdrive/c/Users/; echo; getfacl /proc/cygdrive/c/Users/;
> echo;
> icacls C:/Users/
> drwxr-xr-x+ 1 SYSTEM SYSTEM 0 Apr 13  2020 /proc/cygdrive/c/Users/
>
> # file: /proc/cygdrive/c/Users/
> # owner: SYSTEM
> # group: SYSTEM
> user::rwx
> group::r-x
> group:Administrators:rwx#effective:r-x
> group:Users:r-x
> mask::r-x
> other::r-x
> default:user::rwx
> default:group::---
> default:group:Administrators:rwx#effective:r-x
> default:group:Users:r-x
> default:mask::r-x
> default:other::r-x
>
> C:/Users/ NT AUTHORITY\SYSTEM:(OI)(CI)(F)
>   BUILTIN\Administrators:(OI)(CI)(F)
>   BUILTIN\Users:(RX)
>   BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
>   Everyone:(RX)
>   Everyone:(OI)(CI)(IO)(GR,GE)
>
> Successfully processed 1 files; Failed processing 0 files
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> [Data in binary units and prefixes, physical quantities in SI.]
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> [Data in binary units and prefixes, physical quantities in SI.]
> --
> Problem reports:  https://cygwin.com/problems.html
> FAQ:  https://cygwin.com/faq/
> Documentation:https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Fwd: Objects in ACL cygwin win 10

2020-10-23 Thread Jim McNamara via Cygwin
-- Forwarded message >
Date: Fri, Oct 23, 2020, 11:48 PM
Subject: Re: Objects in ACL cygwin win 10
To: moss>


Hi elliot

Thanks for you and Brian helping me.

I used icacls cygwin /q /c /t reset

Thanks!
Roboloki

On Fri, Oct 23, 2020, 10:06 PM Eliot Moss  wrote:

> I have to admit I am not 100% sure what you are asking, but I am careful
> to grant SYSTEM access so
> that my backup program can access and save a copy of virtually everything
> ...
>
> EM
>
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Objects in ACL cygwin win 10

2020-10-23 Thread Jim McNamara via Cygwin
Hi all

I think I figured out that the processes that the ACL object/identifier
'system'  is referring to are like processes  in sysinternals process
explorer .

Not sure but that is my best guess.

If all else fails, I will chmod the hell out of everything until I beat
stat command into submission.

I will also be experimenting with your list of commands!

Have a cool weekend.

Thanks again for your help, Brian.

Later






On Fri, Oct 23, 2020, 6:41 PM Jim McNamara 
wrote:

> In more descriptive terms, an access control list is a list that
> determines which system processes or users are granted access to an object
> as well as what operations are permitted on the object.
>
> I tried to refer to the object 'system '. There are other objects like
> administrator, administrators, user, and everyone.
>
> Sorry, I tried to initially save keystrokes because I was typing on a
> phone keyboard.  Bad idea.
>
> Just wondering, for home users,  that aren't using domains, with ACLs,
> what type of objects are listed when you right click on a text file and
> choose properties and security in the windows 10 file explorer from within
> your cygwin install.
>
> I ask partially because with ACL as context, I cannot find a good example
> of 'system' object and what it is used for. I figure it must be either
> complicated or the opposite which is well understood .
>
> If you dont answer, I'm only frustrated with myself.
>
> Thanks for your help.
>
> Sorry Brian,
>
> Thanks,
> Roboloki
>
>
>
>
>
>
>
>
> On Fri, Oct 23, 2020, 5:31 PM Brian Inglis <
> brian.ing...@systematicsw.ab.ca> wrote:
>
>> On 2020-10-23 14:02, Jim McNamara via Cygwin wrote:
>> > I have : group everyone and my user sid as my ACLs with their
>> permissions
>> > in cygwin.  I use chmod to set permissions and dont use fstab.
>> >
>> > Can someone please check by right clicking properties security tab in
>> win
>> > 10 and verify that is all I need?
>> >
>> > I'm not using any domains.
>> >
>> > I'm not sure if I need system object that is used for OS things. I dont
>> > think so but am not sure.
>>
>> Not sure what you are asking about, but if you run
>>
>> $ ls -dl dir; getfacl dir; icacls dir
>> $ ls -dl dir/file; getfacl dir/file; icacls dir/file
>>
>> you can see how POSIX perms get translated into POSIX ACLs and
>> implemented as
>> Windows ACLs.
>>
>> If anything appears complex or inconsistent, try running setfacl -b on
>> dirs or
>> files then reapply chmod perms and recheck with the above.
>>
>> --
>> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>>
>> This email may be disturbing to some readers as it contains
>> too much technical detail. Reader discretion is advised.
>> [Data in binary units and prefixes, physical quantities in SI.]
>> --
>> Problem reports:  https://cygwin.com/problems.html
>> FAQ:  https://cygwin.com/faq/
>> Documentation:https://cygwin.com/docs.html
>> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>>
>
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Objects in ACL cygwin win 10

2020-10-23 Thread Jim McNamara via Cygwin
In more descriptive terms, an access control list is a list that determines
which system processes or users are granted access to an object as well as
what operations are permitted on the object.

I tried to refer to the object 'system '. There are other objects like
administrator, administrators, user, and everyone.

Sorry, I tried to initially save keystrokes because I was typing on a phone
keyboard.  Bad idea.

Just wondering, for home users,  that aren't using domains, with ACLs, what
type of objects are listed when you right click on a text file and choose
properties and security in the windows 10 file explorer from within your
cygwin install.

I ask partially because with ACL as context, I cannot find a good example
of 'system' object and what it is used for. I figure it must be either
complicated or the opposite which is well understood .

If you dont answer, I'm only frustrated with myself.

Thanks for your help.

Sorry Brian,

Thanks,
Roboloki








On Fri, Oct 23, 2020, 5:31 PM Brian Inglis 
wrote:

> On 2020-10-23 14:02, Jim McNamara via Cygwin wrote:
> > I have : group everyone and my user sid as my ACLs with their permissions
> > in cygwin.  I use chmod to set permissions and dont use fstab.
> >
> > Can someone please check by right clicking properties security tab in win
> > 10 and verify that is all I need?
> >
> > I'm not using any domains.
> >
> > I'm not sure if I need system object that is used for OS things. I dont
> > think so but am not sure.
>
> Not sure what you are asking about, but if you run
>
> $ ls -dl dir; getfacl dir; icacls dir
> $ ls -dl dir/file; getfacl dir/file; icacls dir/file
>
> you can see how POSIX perms get translated into POSIX ACLs and implemented
> as
> Windows ACLs.
>
> If anything appears complex or inconsistent, try running setfacl -b on
> dirs or
> files then reapply chmod perms and recheck with the above.
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> [Data in binary units and prefixes, physical quantities in SI.]
> --
> Problem reports:  https://cygwin.com/problems.html
> FAQ:  https://cygwin.com/faq/
> Documentation:https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Objects in ACL cygwin win 10

2020-10-23 Thread Jim McNamara via Cygwin
Hi all-

I have : group everyone and my user sid as my ACLs with their permissions
in cygwin.  I use chmod to set permissions and dont use fstab.

Can someone please check by right clicking properties security tab in win
10 and verify that is all I need?

I'm not using any domains.

I'm not sure if I need system object that is used for OS things. I dont
think so but am not sure.

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


Re: Is it possible to vnc into a linux guest?

2020-09-23 Thread Jim McNamara via Cygwin
On Wed, Sep 23, 2020, 5:12 PM René Berber via Cygwin 
wrote:

> On 9/23/2020 1:07 PM, Jim McNamara via Cygwin wrote:
>
> > I tried to use tigervnc to connect to a linux virtualbox guest from
> cygwin.
>
> Those 3 things are independent, i.e. there's no VNC in Cygwin (OK there
> is, but you don't need it... and installing an X server just for that is
> overkill), and there's no VNC in a Linux virtualbox unless it is running
> the VNC server.
>

 I didn't know all this cool info.

>
 It (the guest) is running the vnc server

> I am not sure it is possible after many attempts.
>
> Of course its possible.  You are just going at it the wrong way.
>
> > I did have ssh working and x forwarding of smallish APPS.
>
> Irrelevant.  You don't need any of those.


> Just follow the VNC guide, its simple, you need a client (tigerVNC --
> there's a version for Windows) and a server, then you need to know which
> IP address and port to use, maybe open those ports on firewalls.
>

> R. Berber
>

   Thanks R.
Jim.  :-)

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


Is it possible to vnc into a linux guest?

2020-09-23 Thread Jim McNamara via Cygwin
Hi all-

I tried to use tigervnc to connect to a linux virtualbox guest from cygwin.

I am not sure it is possible after many attempts.

I did have ssh working and x forwarding of smallish APPS.

Thanks for any insight.

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


Only console users

2020-09-06 Thread Jim McNamara via Cygwin
Hi jon,

I found out there is a wrapper file. I think it is in /etc/X11 directory
that needed some type of allow command. I used that and now I can use ssh
with vnc.

I didn't hear back so I thought everyone is busy. I solved this a few days
ago.

Thanks for your help.

I am away from computer so detail is a little sketchy.

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


Fwd: Only console users can use startx

2020-09-01 Thread Jim McNamara via Cygwin
-- Forwarded message -
From: Jim McNamara 
Date: Tue, Sep 1, 2020, 9:46 PM
Subject: Only console users can use startx
To: 


Hi all

I got tigervnc to work over ssh. I cant get past when I type startx into
the screen I logged into. It is the login screen like ctrl+f2. Any ideas?

I'm trying to look at xfce from cygwin.

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