Should the group of my user be None?
Hi all, I just installed cygwin on my Windows 8.1 laptop and I found that the result of ls -l is like this: -rw-rw-r-- 1 Theodore None 0 Nov 8 22:44 a And I fond that I am in several groups $ groups Theodore Theodore : None root Performance Log Users This raise my curiosity because when I use git, I got some error. Then I read this: http://stackoverflow.com/questions/9561759/why-cannot-chmod-in-cygwin-on-windows-8-cp I wonder why I need to use chgrp to make it right? Is this a bug? Thanks Theo -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Should the group of my user be None?
Shouldn't I be in the group with the same name of my username, like in Linux? 在 11/8/2014 11:29 PM, Theodore Si 写道: Hi all, I just installed cygwin on my Windows 8.1 laptop and I found that the result of ls -l is like this: -rw-rw-r-- 1 Theodore None 0 Nov 8 22:44 a And I fond that I am in several groups $ groups Theodore Theodore : None root Performance Log Users This raise my curiosity because when I use git, I got some error. Then I read this: http://stackoverflow.com/questions/9561759/why-cannot-chmod-in-cygwin-on-windows-8-cp I wonder why I need to use chgrp to make it right? Is this a bug? Thanks Theo -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: [ANNOUNCEMENT] Updated: sqlite3-3.8.7.1-1 for Cygwin/Cygwin64
4 нояб. 2014 г., в 15:26, Jan Nijtmans написал(а): SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine Changes since 3.8.6-1 = * Updated to upstream 3.8.7.1 release. See: http://www.sqlite.org/changes.html Main new feature: pragma threads=? (default=0, max = 8). This enables SQLite to use multiple processor cores at the same time for sorting operations. See: http://www.sqlite.org/pragma.html#pragma_threads * Additional SQLite (minor) bug-fixes, cherry-picked from SQLite trunk: * Add special handling for static mutexes in sqlite3_mutex_alloc() when automatic calls to sqlite3_initialize() are enabled http://www.sqlite.org/src/info/7857d27caa * Fix the %c format character in sqlite3VXPrintf() so that it correctly handles precisions larger than 70 http://www.sqlite.org/src/info/08a27440f1 * Fix a (probably harmless) bug in the CSV output mode of the command-line shell http://www.sqlite.org/src/info/19fe4a0a47 * Change the command-line shell man-page to use the .tr troff directive instead of .cc for escaping the initial . characters in the .help output http://www.sqlite.org/src/info/67f0d469da * Additional SQLite bug-fixes, rejected (apparently) upstream but important (and simple) enough for Cygwin: * VFS filename truncation issues http://www.sqlite.org/src/info/c060923a54 * Wrong filename handling in sqlite3_load_extension() for Cygwin http://osdir.com/ml/sqlite-users/2014-02/msg00431.html * pragma database_list returns win32 paths on Cygwin http://osdir.com/ml/sqlite-users/2014-02/msg00515.html * ISO time leap second http://osdir.com/ml/sqlite-users/2014-07/msg00606.html * update to Unicode 7.0 for FTS3 tokenizer Hi! We tried to update MSYS2 sqlite3 to the same version and found that on i686 doesn’t work properly because the wrong calling convention is used when calling GetModuleHandleW and SetDllDirectoryW. Here is the patch to fix this issue: diff -Naur sqlite-autoconf-3080701-orig/sqlite3.c sqlite-autoconf-3080701/sqlite3.c --- sqlite-autoconf-3080701-orig/sqlite3.c 2014-11-08 20:34:01.59380 +0300 +++ sqlite-autoconf-3080701/sqlite3.c 2014-11-08 20:37:42.14660 +0300 @@ -33758,14 +33758,14 @@ { GetModuleHandleW, (SYSCALL)0, 0 }, #endif -#define osGetModuleHandleW ((HMODULE(*)(LPCWSTR))aSyscall[76].pCurrent) +#define osGetModuleHandleW ((HMODULE(WINAPI*)(LPCWSTR))aSyscall[76].pCurrent) #if defined(SQLITE_WIN32_HAS_WIDE) !defined(SQLITE_OMIT_LOAD_EXTENSION) { SetDllDirectoryW, (SYSCALL)SetDllDirectoryW, 0 }, #else { SetDllDirectoryW, (SYSCALL)0, 0 }, #endif -#define osSetDllDirectoryW ((BOOL(*)(LPCWSTR))aSyscall[77].pCurrent) +#define osSetDllDirectoryW ((BOOL(WINAPI*)(LPCWSTR))aSyscall[77].pCurrent) #if defined(__CYGWIN__) { getenv, (SYSCALL)getenv, 0 }, Regards, Alexey. -- Jan Nijtmans -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Latex font problem
Hi I have discovered what I think is a tex/latex font problem. I am a developer for Plplot and we use docbook for building our documentation. I have been trying to get this to build correctly on Cygwin. The documentation uses the FreeFont fonts and these seem to be installed by the texlive-collection-fontsextra package. However, the documentation still would not build. After some more checking and looking into how fonts work on Linux and Cygwin I found that I needed to make the fonts available to fontconfig by adding the directory /usr/share/texmf-dist/fonts/ to a /etc/fonts/local.config file (along with the xml header copied from /etc/fonts/fonts.config). Basically my question is, should the fonts in this folder be made available to fontconfig during install? There are a number of ways to do this it seems - probably adding a config file somewhere and then adding a symlink to it in /etc/fonts/conf.d seems most sensible. Alternatively are these fonts not made available to fontconfig by design? Thanks in advance Phil -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Perl rename
Steven Penny wrote: I noticed that Debian is using Perl rename $ readlink -f /usr/bin/rename /usr/bin/prename $ dpkg --search bin/prename perl: /usr/bin/prename However, Cygwin Perl does not include this file. $ gzip -cd /etc/setup/perl.lst.gz | grep prename | wc 0 0 0 I understand that the util-linux version has the benefit of not needing Perl, however if a user decides to install the Perl package, shouldnt they benefit from the Perl rename as well? --- What benefits does the perl rename have over the normal util-linux version? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Should the group of my user be None?
On 11/08/2014 10:29 AM, Theodore Si wrote: Hi all, I just installed cygwin on my Windows 8.1 laptop and I found that the result of ls -l is like this: -rw-rw-r-- 1 Theodore None 0 Nov 8 22:44 a And I fond that I am in several groups $ groups Theodore Theodore : None root Performance Log Users This raise my curiosity because when I use git, I got some error. Then I read this: http://stackoverflow.com/questions/9561759/why-cannot-chmod-in-cygwin-on-windows-8-cp I wonder why I need to use chgrp to make it right? Is this a bug? No. It's Windows (same difference? ;-) ). See: https://cygwin.com/ml/cygwin/2014-01/msg00046.html https://cygwin.com/ml/cygwin/2014-01/msg00057.html -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Should the group of my user be None?
On 11/08/2014 11:17 AM, Theodore Si wrote: Shouldn't I be in the group with the same name of my username, like in Linux? No. Windows isn't Linux. Of course, if you want to make a group with your user name and add your user to that group, Windows will probably let you do that. But that's not a convention for user accounts on Windows. -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Should the group of my user be None?
Thank you for your replies. The permission of files under ~/.ssh can't be changed to 600 when their group owner is None. I have to chgrp -R Users (or Administrators, or any other group name other than None) ~/.ssh to make it possible to run chmod on them. I suppose this is a bug of cygwin on Windows 8/8.1 ? 在 11/9/2014 11:05 AM, Larry Hall (Cygwin) 写道: On 11/08/2014 11:17 AM, Theodore Si wrote: Shouldn't I be in the group with the same name of my username, like in Linux? No. Windows isn't Linux. Of course, if you want to make a group with your user name and add your user to that group, Windows will probably let you do that. But that's not a convention for user accounts on Windows. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Should the group of my user be None?
Thank you for your replies. The permission of files under ~/.ssh can't be changed to 600 when their group owner is None. I have to chgrp -R Users (or Administrators, or any other group name other than None) ~/.ssh to make it possible to run chmod on them. I suppose this is a bug of cygwin on Windows 8/8.1 ? I changed my GID in /etc/passwd from 513 to 544 to make my primary group Administrators. Now the group owner of the files are turned to ? . Is it OK to do this? 在 11/9/2014 11:33 AM, Theodore Si 写道: Thank you for your replies. The permission of files under ~/.ssh can't be changed to 600 when their group owner is None. I have to chgrp -R Users (or Administrators, or any other group name other than None) ~/.ssh to make it possible to run chmod on them. I suppose this is a bug of cygwin on Windows 8/8.1 ? 在 11/9/2014 11:05 AM, Larry Hall (Cygwin) 写道: On 11/08/2014 11:17 AM, Theodore Si wrote: Shouldn't I be in the group with the same name of my username, like in Linux? No. Windows isn't Linux. Of course, if you want to make a group with your user name and add your user to that group, Windows will probably let you do that. But that's not a convention for user accounts on Windows. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: failure notice
Thank you for your replies. The permission of files under ~/.ssh can't be changed to 600 when their group owner is None. I have to chgrp -R Users (or Administrators, or any other group name other than None) ~/.ssh to make it possible to run chmod on them. I suppose this is a bug of cygwin on Windows 8/8.1 ? I changed my GID in /etc/passwd from 513 to 544 to make my primary group Administrators. Now the group owner of the files are turned to ? . Is it OK to do this? On Sun, Nov 9, 2014 at 11:40 AM, mailer-dae...@sourceware.org wrote: Hi. This is the qmail-send program at sourceware.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. cygwin@cygwin.com: Invalid mime type text/html detected in message text or attachment. Please send plain text messages only. See http://sourceware.org/lists.html#sourceware-list-info for more information. Contact cygwin-ow...@cygwin.com if you have questions about this. (#5.7.2) --- Below this line is a copy of the message. Return-Path: sjyz...@gmail.com Received: (qmail 13527 invoked by uid 89); 9 Nov 2014 03:40:17 - Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.98.4 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.8 required=5.0 tests=BAYES_05,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_05,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: *** X-HELO: mail-oi0-f50.google.com Received: from mail-oi0-f50.google.com (HELO mail-oi0-f50.google.com) (209.85.218.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 09 Nov 2014 03:40:15 + Received: by mail-oi0-f50.google.com with SMTP id v63so4113037oia.9 for cygwin@cygwin.com; Sat, 08 Nov 2014 19:40:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=gLcsDdYrlI6xfgUXkVOcs/PuOHK4MCC7vay05Eu2bpE=; b=lVxGzQBup/DBjWJqJ4n1j4KiBPx4bCQYHTFo3oyOJAH4wMH76Oq0tyZL7trRtrbel9 1SxN20Ody2bVMvKZD98LLL6wjiCevxs/LmmUjVPwec0FbRoA/Rx5YSMo5UHacOePTjwh SCC0vHBT9Wi7iiwuZIXvdWs0NYvkuBckOEEI4z8wYpbdvEBs2cmXf7L+QhmcbBXSkLVg n93rSczppuEmVTq0y8WzfTFLro2/NZ/ikToJQ3gNol+EwOhUahvjdMubZ5YHdM0RGvTJ DLZItS4U1gZshyODCtCrNoUNGX7XjrhYKNvxiywwCp7lcase660ufoKb9ugeb7MrExqV fS2Q== X-Received: by 10.182.32.33 with SMTP id f1mr18506071obi.34.1415504413720; Sat, 08 Nov 2014 19:40:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.59.197 with HTTP; Sat, 8 Nov 2014 19:39:43 -0800 (PST) In-Reply-To: 545ed9de.5010...@cygwin.com References: 545e36e5.5010...@gmail.com 545e420a.2020...@gmail.com 545ed9de.5010...@cygwin.com From: Theodore Si sjyz...@gmail.com Date: Sun, 9 Nov 2014 11:39:43 +0800 Message-ID: CAG=ehjo-ojefqnmysungewpkq1kpjnnaebs9axgkrcfuozk...@mail.gmail.com Subject: Re: Should the group of my user be None? To: cygwin@cygwin.com Content-Type: multipart/alternative; boundary=089e013a0796c206b7050764cd18 --089e013a0796c206b7050764cd18 Content-Type: text/plain; charset=UTF-8 Thank you for your replies. The permission of files under ~/.ssh can't be changed to 600 when their group owner is None. I have to chgrp -R Users (or Administrators, or any other group name other than None) ~/.ssh to make it possible to run chmod on them. I suppose this is a bug of cygwin on Windows 8/8.1 ? I changed my GID in /etc/passwd from 513 to 544 to make my primary group Administrators. Now the group owner of the files are turned to ? . Is it OK to do this? On Sun, Nov 9, 2014 at 11:05 AM, Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote: On 11/08/2014 11:17 AM, Theodore Si wrote: Shouldn't I be in the group with the same name of my username, like in Linux? No. Windows isn't Linux. Of course, if you want to make a group with your user name and add your user to that group, Windows will probably let you do that. But that's not a convention for user accounts on Windows. -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple --089e013a0796c206b7050764cd18 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable div dir=3DltrThank you for