www.delorie.com/archives/browse.cgi | search |
DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 542IQcr13242117 |
Authentication-Results: | delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com |
Authentication-Results: | delorie.com; spf=pass smtp.mailfrom=cygwin.com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 542IQcr13242117 |
Authentication-Results: | delorie.com; |
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=EgA06Mhc | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org A7DAE3858D20 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1746210396; | |
bh=kShd7T9ey8p2opLGrjiB+LAJPSLsd1Vmmhv9BkOYLnI=; | |
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: | |
From; | |
b=EgA06MhcVq1OVuWCYRr0V2um6137zkCSrEH/1XoiBNJwxyqGtTlO75zP4rgX0Rpod | |
uCM2yXtoN9tQfDtnjlTTo7aIjwYtE8/ZxVNscK3cxD+Jdq+l02s86Ps0a5/nii9kGd | |
yhRYnizW56AwB3r5mgVpuP9n3wn4VzApOHCN6lDE= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 1E99F3858D21 |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 1E99F3858D21 |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1746210335; cv=none; |
b=rZlHlKuWk6sxV5iL4lzd6o3kBiGcSDf4Ilp4OVjX29rlSQPtEh4aD9BhvvVjdTRnDPen8iTt2GAS7XYR52phlA8JXo1y48CaZ1JprACDp/NdKLG0/2hMHkRSHX/PWpihGmas+ItbAWvcMr6fREdVuCmqfJdM779of4bN7vXA42U= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1746210335; c=relaxed/simple; | |
bh=HTkQ2njnnUepU3x/udSZxLrKZwVl4qIi7/U9yXeyOoc=; | |
h=DKIM-Signature:Message-ID:Date:MIME-Version:From:Subject:To; | |
b=JwVxG5q0L6KZiaXLlW8PIPOLPsBabclLQDpk4yohRhTaLFLzToMq1FCMW33DwaKqeVdMVelwOeHY2qSXk0ZXNp3Y5h/PtE35tLdCAqTiMGAmuUV1gOJtUkynLjRhnDxfi/YWOGcMdYFuNzCkPgluJs1nc8GD4BnEGWAl2IVfQvk= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 1E99F3858D21 |
Message-ID: | <9e9e129d-8bd0-4ef8-9002-60439a2e8f52@holgerdanske.com> |
Date: | Fri, 2 May 2025 11:25:29 -0700 |
MIME-Version: | 1.0 |
User-Agent: | Mozilla Thunderbird |
Subject: | Re: Windows 10 Home and sshfs |
To: | cygwin AT cygwin DOT com |
References: | <e910c290-5bbf-44ec-aed8-5fa379381d47 AT holgerdanske DOT com> |
<0a5a204c-73f9-4696-a579-9d9c8bc5f7aa AT holgerdanske DOT com> | |
<8f95355a-698e-490f-9aa0-dbbf3a87bc34 AT maxrnd DOT com> | |
<96fdaa30-eb58-447c-a87c-f68a18381bcf AT holgerdanske DOT com> | |
<5a60ff59-1b29-4285-9ab0-944aa772c4ca AT maxrnd DOT com> | |
<a7deca03-e4fe-4f51-a104-86507d8cef93 AT holgerdanske DOT com> | |
<14cef355-68c5-4d16-b217-e280a3610a07 AT SystematicSW DOT ab DOT ca> | |
<86e5f4e4-f5e4-4769-bb57-a02d97130320 AT holgerdanske DOT com> | |
<f4f8fd94-9485-5880-f4f5-4c2de77c1842 AT jdrake DOT com> | |
<2ce50191-3c50-646d-88f3-22522cd435fe AT jdrake DOT com> | |
<b0669b89-9487-45d2-8f2a-005bb7c9ff3f AT holgerdanske DOT com> | |
<4d4cb2ab-9879-db3f-c56b-8851324f1899 AT jdrake DOT com> | |
<624302e8-b34a-4001-bb1c-402f5957eddd AT holgerdanske DOT com> | |
<61e2410f-489c-4b31-956d-6a356babadfb AT maxrnd DOT com> | |
<d8258609-c892-4a09-bf83-1b230a350f5f AT holgerdanske DOT com> | |
<c7a947f3-229b-4ac9-a999-9f561a4aabcb AT maxrnd DOT com> | |
<5297cbb6-5b74-4906-80e9-62c7214e4172 AT holgerdanske DOT com> | |
<816150c8-c85f-4af9-bae7-34f1bcb4d649 AT maxrnd DOT com> | |
In-Reply-To: | <816150c8-c85f-4af9-bae7-34f1bcb4d649@maxrnd.com> |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | David Christensen via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | David Christensen <dpchrist AT holgerdanske DOT com> |
Errors-To: | cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 542IQcr13242117 |
On 4/29/25 22:19, Mark Geisert via Cygwin wrote: > Congrats on the successful first steps! Thank you for the help! > I believe you can fix these new issues with options on the end of your > sshfs command. From the list shown by 'sshfs -h', I would try... > Oh wait a second. Run these commands to see what Cygwin has for your > uid and gid: >    id -u >    id -g > > Then at the end of your sshfs command, I would try... >    -o umask=000 -o create_umask=000 -o uid=UUUUU -o gid=GGGGG > where UUUUU and GGGGG are your uid and gid from the 'id' command. > (Choosing 000 for both umasks means "full access".) 2025-04-30 00:12:08 admin AT dq67sw ~ $ fusermount3 -u /samba/dpchrist fusermount3: /samba/dpchrist unmounted 2025-04-30 00:12:26 admin AT dq67sw ~ $ id -u 197609 2025-04-30 00:12:46 admin AT dq67sw ~ $ id -g 197121 2025-04-30 00:15:08 admin AT dq67sw ~ $ sshfs dpchrist AT f5:/var/local/samba/dpchrist /samba/dpchrist -o umask=000 -o create_umask=000 -o uid=197609 -o gid=197121 2025-04-30 00:15:40 admin AT dq67sw ~ $ cat /var/run/fuse.mounts # Updated by FUSE apps; stale entries OK; DO NOT EDIT this binary file! /samba/dpchrist sshfs 2530 //dpchrist AT f5//var/local/samba/dpchrist 2025-04-30 00:16:08 admin AT dq67sw ~ $ ls -l /samba total 1 drwxrwxrwx 1 admin None 0 Apr 29 19:21 dpchrist 2025-04-30 00:16:14 admin AT dq67sw ~ $ ls -d /samba/dpchrist/[A-Z]* | head /samba/dpchrist/David_s_iPhone /samba/dpchrist/Downloads /samba/dpchrist/Movies /samba/dpchrist/Music /samba/dpchrist/Music-leftovers /samba/dpchrist/Pictures /samba/dpchrist/Television /samba/dpchrist/Videos 2025-04-30 00:16:46 admin AT dq67sw ~ $ touch /samba/dpchrist/foo Create is fixed. :-) Run a simple benchmark: 2025-04-30 00:16:54 admin AT dq67sw ~ $ dd if=/dev/urandom of=/samba/dpchrist/foo bs=1M count=1k 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 11.3246 s, 94.8 MB/s 2025-04-30 00:17:49 admin AT dq67sw ~ $ dd if=/samba/dpchrist/foo of=/dev/null bs=1M 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 10.7516 s, 99.9 MB/s 2025-04-30 00:18:52 admin AT dq67sw ~ $ So write works, and sequential read and sequential write throughput is decent for Gigabit Ethernet. > I don't know if you can 'chown' or 'chmod' files on the mounted > filesystem; not enough experience with FUSE+sshfs yet. > HTH, > > ..mark chmod appears to have no effect from Cygwin sshfs: 2025-04-30 00:23:41 admin AT dq67sw ~ $ ls -l /samba/dpchrist/foo -rwxrwxrwx 1 admin None 1073741824 Apr 30 00:17 /samba/dpchrist/foo 2025-04-30 00:25:44 admin AT dq67sw ~ $ chmod 0644 /samba/dpchrist/foo 2025-04-30 00:25:56 admin AT dq67sw ~ $ ls -l /samba/dpchrist/foo -rwxrwxrwx 1 admin None 1073741824 Apr 30 00:17 /samba/dpchrist/foo The server shows mode 0644, which is acceptable. I may play with the sshfs options to see if I can get the Cygwin permissions to also display 0644: 2025-04-30 00:25:57 admin AT dq67sw ~ $ ssh dpchrist AT f5 ls -l /var/local/samba/dpchrist/foo -rw-r--r-- 1 dpchrist dpchrist 1073741824 Apr 30 00:17 /var/local/samba/dpchrist/foo I do not need chown from Cygwin sshfs at the moment. Thanks, again! :-) David -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |