Re: 'rsync -a' not preserving ownership
On Mon, Jan 3, 2022 at 8:17 AM wrote: > So, why is 'cp -a' able to preserve ownership while 'rsync -a' fails > and sets ownership to the login name? Rsync is rather old-school Unix-oriented, so it only checks if its uid is 0 to see if it should try to chown things. You can give it the --super option to tell it to try root things when you're a non-0 user, which works in my testing. ..wayne.. -- 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: Unable to open the clipboard
Mark Geisert wrote: I haven't been able to reproduce the issue with -7 or the more recent -8 test version. I suppose you might try -8 and see if it helps. Puzzling... Sorry, the {put,get}clip.exe are in cygutils-extra package. But -8 is correct. ..mark -- 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: Unable to open the clipboard
Marco Atzeri wrote: On 04.01.2022 01:25, Mark Geisert wrote: Hi Marco, Marco Atzeri wrote: Hi Guys, I noticed, from time to time, that on recent Cygwin $ uname -svr CYGWIN_NT-10.0 3.3.3(0.341/5/3) 2021-12-03 16:35 there seems to be a "failed race (?)" using the clipboard $ putclip < Announce_geos Unable to open the clipboard $ putclip < Announce_geos Usually never happend two time in the row and it is a relative rare event. But I never had such issue in the past. It is not caused by computer load, probably arised in the 3.3.x times but I could be wrong. I'm assuming 64-bit Cygwin. What is your cygutils version please? ..mark Hi Mark, I see in both versions 32 and 64 Windows 10 version 21H1 build 19043.1415 $ cygcheck -c cygutils Cygwin Package Information Package Version Status cygutils 1.4.16-7 OK I haven't been able to reproduce the issue with -7 or the more recent -8 test version. I suppose you might try -8 and see if it helps. Puzzling... ..mark -- 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: Support for ADS (Alternate Data Streams)
On Sun, Jan 2, 2022, 15:51 wrote: > While I recognize that ADS is not supported by POSIX, I was wondering > what if any support for ADS might exist within Cygwin. > > The last time I looked into this was probably more than a decade ago > but I am seeing (unfortunately) more usage of ADS in the Windows > world, so I was wondering if there has been any effort to support in > Cygwin? > > -- > 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 FWIW, ntfs-3g under Linux maps these to extended attributes -- 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: Unable to open the clipboard
On 04.01.2022 01:25, Mark Geisert wrote: Hi Marco, Marco Atzeri wrote: Hi Guys, I noticed, from time to time, that on recent Cygwin $ uname -svr CYGWIN_NT-10.0 3.3.3(0.341/5/3) 2021-12-03 16:35 there seems to be a "failed race (?)" using the clipboard $ putclip < Announce_geos Unable to open the clipboard $ putclip < Announce_geos Usually never happend two time in the row and it is a relative rare event. But I never had such issue in the past. It is not caused by computer load, probably arised in the 3.3.x times but I could be wrong. I'm assuming 64-bit Cygwin. What is your cygutils version please? ..mark Hi Mark, I see in both versions 32 and 64 Windows 10 version 21H1 build 19043.1415 $ cygcheck -c cygutils Cygwin Package Information Package VersionStatus cygutils 1.4.16-7 OK Regards Marco -- 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: Unable to open the clipboard
Hi Marco, Marco Atzeri wrote: Hi Guys, I noticed, from time to time, that on recent Cygwin $ uname -svr CYGWIN_NT-10.0 3.3.3(0.341/5/3) 2021-12-03 16:35 there seems to be a "failed race (?)" using the clipboard $ putclip < Announce_geos Unable to open the clipboard $ putclip < Announce_geos Usually never happend two time in the row and it is a relative rare event. But I never had such issue in the past. It is not caused by computer load, probably arised in the 3.3.x times but I could be wrong. I'm assuming 64-bit Cygwin. What is your cygutils version please? ..mark -- 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: Unable to open the clipboard
On 03.01.2022 16:59, Ken Brown wrote: On 1/3/2022 9:34 AM, Marco Atzeri wrote: Hi Guys, I noticed, from time to time, that on recent Cygwin $ uname -svr CYGWIN_NT-10.0 3.3.3(0.341/5/3) 2021-12-03 16:35 there seems to be a "failed race (?)" using the clipboard $ putclip < Announce_geos Unable to open the clipboard Hi Marco, There was a clipboard bug that Takashi fixed in commit 69ed8ca20. I don't know if it's the same issue that you're seeing. The fix will appear in Cygwin 3.3.4, or you could try the latest snapshot. Ken The last snapshot that includes that and another one still has the issue $ uname -svr CYGWIN_NT-10.0 3.4.0s(0.341/5/3) 2021-12-13 12:59 and it seems I am able to hit multiple failures in a row very easily $ putclip < COPYING $ putclip < COPYING Unable to open the clipboard $ putclip < COPYING Unable to open the clipboard $ putclip < COPYING $ putclip < COPYING Unable to open the clipboard $ putclip < COPYING Unable to open the clipboard $ putclip < COPYING Unable to open the clipboard $ putclip < COPYING Unable to open the clipboard $ putclip < COPYING Regards Marco -- 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
'rsync -a' not preserving ownership
I am running cygwin as Administrator and tried this under both Win7 and Win10. # touch test # chown Administrators.SYSTEM test # rsync -a test test2 # cp -a test test3 # ls -al test* -rw-r--r-- 1 Administrators SYSTEM 0 Jan 3 11:00 test -rw-r--r-- 1 myname None 0 Jan 3 11:00 test2 -rw-r--r-- 1 Administrators SYSTEM 0 Jan 3 11:00 test3 Note that perms are copied properly (which I validated by trying with other perm combos) So, why is 'cp -a' able to preserve ownership while 'rsync -a' fails and sets ownership to the login name? -- 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: Unable to open the clipboard
On 1/3/2022 9:34 AM, Marco Atzeri wrote: Hi Guys, I noticed, from time to time, that on recent Cygwin $ uname -svr CYGWIN_NT-10.0 3.3.3(0.341/5/3) 2021-12-03 16:35 there seems to be a "failed race (?)" using the clipboard $ putclip < Announce_geos Unable to open the clipboard Hi Marco, There was a clipboard bug that Takashi fixed in commit 69ed8ca20. I don't know if it's the same issue that you're seeing. The fix will appear in Cygwin 3.3.4, or you could try the latest snapshot. 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
Duplicate ACLs? - Can't copy file even with Admin permissions
To: Subject: X-Mailer: VM 8.2.0b under 25.2.2 (x86_64-pc-linux-gnu--text follows this line-- I have a file: /c/Config.Msi/3da9e136.rbf that I cannot copy, even when I run bash as an administrator -- seemingly due to perm/acl errors. Specifically: # mv 3da9e136.rbf newfile: works # cp 3da9e136.rbf newfile: works But, # cp -a 3da9e136.rbf newfile cp: preserving permissions for ‘newfile’: Permission denied (though the file is created) If I then do # getfacl 3da9e136.rbf | setfacl -f - newfile setfacl: more than one user entry. And: # getfacl 3da9e136.rbf # file: 3da9e136.rbf # owner: Administrators # group: SYSTEM user::rwx group::rwx other::r-x user::rwx group::rwx group:SYSTEM:rwx mask::rwx other::r-x While: # getfacl newfile # file: newfile # owner: Administrators # group: SYSTEM user::rwx group::rwx other::r-x So the problem seems to be that the 'user' (and presumably also the 'group' and 'other') ACLs are duplicated. Note that 'subinacl' shows: = +File C:\Config.Msi\3da9e136.rbf = /control=0x0 /owner =builtin\administrators /primary group =system /audit ace count =0 /perm. ace count =3 /pace =system Type=0x0 Flags=0x3 AccessMask=0x1f01ff /pace =everyone Type=0x0 Flags=0x3 AccessMask=0x1200a9 /pace =builtin\administrators Type=0x0 Flags=0x3 AccessMask=0x1f01ff - Not sure if this is an NTFS bug (or feature???) or a problem with Cygwin file manipulation tools. Either way: - Is this a bug? (or a feature) - Any idea how or why this happened? - Any idea how (or whether) to fix this so that I don't have duplicate ACLs? Ideally, I would like to "fix" the problem with Cygwin tools... -- 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
[ANNOUNCEMENT] Updated: proj-8.2.1-1
New versions 8.2.1-1 of proj libproj-devel libproj22 for cygwin are available in the Cygwin distribution: CHANGES Last upstream release. NOTES Additional Datumgrid for Europe, North America and Oceania are available on https://proj.org/download.html while proj-datumgrid-1.8.tar.gz is included as basic data in the packages. DESCRIPTION PROJ - Cartographic Projections Library and CLI PROJ is a generic coordinate transformation software that transforms geospatial coordinates from one coordinate reference system (CRS) to another. This includes cartographic projections as well as geodetic transformations. PROJ is released under the X/MIT open source license HOMEPAGE https://proj.org/ Marco Atzeri If you have questions or comments, please send them to the cygwin mailing list at: cygwin (at) cygwin (dot) com . -- 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
[ANNOUNCEMENT] Updated: libgeotiff-1.7.0-1
New versions 1.7.0-1 of libgeotiff libgeotiff-devel libgeotiff5 are available in the Cygwin distribution: CHANGES Last upstream release. DESCRIPTION GeoTIFF represents an effort by over 160 different remote sensing, GIS, cartographic, and surveying related companies and organizations to establish a TIFF based interchange format for georeferenced raster imagery. HOMEPAGE http://trac.osgeo.org/geotiff/ Marco Atzeri If you have questions or comments, please send them to the cygwin mailing list at: cygwin (at) cygwin (dot) com . -- 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
[ANNOUNCEMENT] Updated: geos-3.10.1-1
Version 3.10.1-1 of geos (source only) libgeos-devel libgeos_3.10_1 (C++ lib, SONAME Bump) libgeos_c1 (C API) have been uploaded for cygwin. GEOS (Geometry Engine - Open Source) is a C++ port of the Topology Suite (JTS). As such, it aims to contain the complete functionality of JTS in C++. This includes all the OpenGIS Simple Features for SQL spatial predicate functions and spatial operators, as well as specific JTS enhanced topology functions. CHANGES Latest upstream release https://github.com/libgeos/geos/blob/3.10.1/NEWS NOTES SONAME bump for C++ interface is a peculiar design decision https://libgeos.org/usage/cpp_api/ The C++ Library is only used by the C Library that has stable API, Application should only use the C Interface. HOMEPAGE https://libgeos.org/ Regards Marco Atzeri If you have questions or comments, please send them to the cygwin mailing list at: cygwin (at) cygwin (dot) com . -- 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 open the clipboard
Hi Guys, I noticed, from time to time, that on recent Cygwin $ uname -svr CYGWIN_NT-10.0 3.3.3(0.341/5/3) 2021-12-03 16:35 there seems to be a "failed race (?)" using the clipboard $ putclip < Announce_geos Unable to open the clipboard $ putclip < Announce_geos Usually never happend two time in the row and it is a relative rare event. But I never had such issue in the past. It is not caused by computer load, probably arised in the 3.3.x times but I could be wrong. Regards Marco -- 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
[ANNOUNCEMENT] Updated: geos-3.10.1-1
Version 3.10.1-1 of geos (source only) libgeos-devel libgeos_3.10_1 (C++ lib, SONAME Bump) libgeos_c1 (C API) have been uploaded for cygwin. GEOS (Geometry Engine - Open Source) is a C++ port of the Topology Suite (JTS). As such, it aims to contain the complete functionality of JTS in C++. This includes all the OpenGIS Simple Features for SQL spatial predicate functions and spatial operators, as well as specific JTS enhanced topology functions. CHANGES Latest upstream release https://github.com/libgeos/geos/blob/3.10.1/NEWS NOTES SONAME bump for C++ interface is a peculiar design decision https://libgeos.org/usage/cpp_api/ The C++ Library is only used by the C Library that has stable API, Application should only use the C Interface. HOMEPAGE https://libgeos.org/ Regards Marco Atzeri If you have questions or comments, please send them to the cygwin mailing list at: cygwin (at) cygwin (dot) com . -- 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
[ANNOUNCEMENT] Updated: gdal-3.4.0-1
Version 3.4.0-1 of gdal libgdal-devel libgdal30(API bump) perl-gdal python-gdal have been uploaded for cygwin. CHANGES Latest upstream release https://github.com/OSGeo/gdal/releases/tag/v3.4.0 DESCRIPTION The Geospatial Data Abstraction Library is a translator library for raster and vector geospatial data formats that is released under an X/MIT style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single raster abstract data model and vector abstract data model to the calling application for all supported formats. It also comes with a variety of useful command line utilities for data translation and processing HOMEPAGE http://www.gdal.org/ Regards Marco Atzeri If you have questions or comments, please send them to the cygwin mailing list at: cygwin (at) cygwin (dot) com . -- 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