Re: permissions/owners seen on cygwin-client vs. server
Don't know if it is helpful, but from another linux box, mounted with cifs, I see pretty similar: drwsrwsrwt 2 linusers0 Nov 24 2006 NT_Perflogs/ drwxr-s--- 2 root private 0 Jul 26 2006 archive/ drwsr-s--- 4 backup backup 0 May 14 13:53 backup/ drwxr-xr-x 4 lindevel0 Jan 6 2007 bench/ drwxr-sr-x 3 lindevel0 Jan 27 2007 cygwin/ drwxr-x--x 4998 guest0 May 6 2003 guest/ drwxr-x--- 115 linlingrp 0 Aug 17 14:15 lin/ l? ? ? ??? linux drwxr-x--- 5 6 nogroup 0 May 6 2003 mailtest/ drwxr-xr-x 6 root root 0 Jul 31 19:21 packages/ l? ? ? ??? projects drwxr-s--- 4 root samba0 Jul 28 2005 samba/ l? ? ? ??? tools drwsrws--x 4 wwwrun wwwrun 0 Jul 20 2006 www/ --- This begins to make me think it's not supposed to be this way under cygwin (?)... Larry Hall (Cygwin) wrote: > other bootstrap information. --- Bootstrap -- none that I know of. > What, exactly, is this server? --- Samba 3.0.26 on linux > How are you connecting to it from the client? --- ? the network? 'ls //server/home' ? Not sure what you mean. > What protocols are involved? --- ?? TCP/IP? CIFS/SMBFS? > How have you configured them? Server is Domain Master, though logins to client are local, not domain. --- Not sure what/which config information you are wanting, but mostly static maps, shared DNS server. Not sure what you're wanting exactly...don't make me guess neither! :-) > Don't make us guess. :^) Linda -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin won't install on Windows 2008.
Similar problem in Windows XP. It happens at least during the installation of X11. Krzysztof Ostrowski wrote: It deterministically gets stuck while executing (any of the) scripts in the "installation" phase. I haven't found any info on this on Google. It doesn't help to run it in elevated or backward compatibility mode. Krzys -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin won't install on Windows 2008.
It deterministically gets stuck while executing (any of the) scripts in the "installation" phase. I haven't found any info on this on Google. It doesn't help to run it in elevated or backward compatibility mode. Krzys -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
failed to install the latest version of cygwin X11 section
Hi all My cygwin has been working well until I made an update today. It crashed during the updated. Has anyone else had the same problem? My system is Windows XP home edition Thanks --Wei -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: will cygwin work in the windows vista
wei wrote: I check the FAQ and it mentioned that cygwin will work in most of the windows system except CE. Will it also work in the latest windows Vista? Yes. Where did you see the word "most"? The main Cygwin site page says this: The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE. Granted, the FAQ is a bit out of date and instead lists more specific versions. Still, the spirit is the same. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
will cygwin work in the windows vista
I check the FAQ and it mentioned that cygwin will work in most of the windows system except CE. Will it also work in the latest windows Vista? Thanks --Wei -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Permission denied problem
On 17 August 2007 17:26, Marko Loparic wrote: > $ getfacl.exe /cygdrive/x/PPP/QQQ > # file: /cygdrive/x/PPP/QQQ > # owner: ffa195 > # group: mkgroup-l-d > user::rwx > group::r-x > other:r-x > mask:rwx > > for both the directories with the permission problem and for other > directories without the problem. For comparison, what does the standard windows 'cacls.exe' utility tell you about that directory, and about one where the problem doesn't happen? cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: rsync problems from Vista installed cygwin, ok on XP
On Fri, 17 Aug 2007, DaveB wrote: > Corinna Vinschen-2 wrote: > > > > For testing I copied over the whole /usr directory from my Vista box > > to a Linux machine. I'm rather puzzled how setting permissions on the > > *remote* machine should be affected by the OS of the source machine. > > > > I guess we need much more information. Are the affected directories > > Cygwin-created directories or natively created dirs? Do they contain > > spaces or native characters? What are the local permissions on them > > (getfacl/cacls)? Does your Vista account have admin privileges? UAC > > switched on? If so, is rsync running normally with reduced privileges > > or "as administrator"? Is your remote Unix account root or non-root? > > > > Corinna > > OK, encouraged by hearing that it works for you from Vista to a Linux > machine, I have retraced my steps and tried a much simpler contrived > example. I set up a little folder tree c:\4up with a single file called > somejunk.txt and one subfolder with two files, a txt and a jpg, latter > with spaces but certainly no special characters. That's on the Vista > pc. Then I putty'd across to my ftp area on a Linux server and created > a new subfolder there called .../4up to copy these files to via rsync. > ls shows total 0 in putty. > Then back on Vista pc in cygwin I cd'd to the 4up folder and typed in > this dry run rsync command > > $ rsync -avzn --stats --progress -e ssh . [EMAIL PROTECTED]:/home/xxx/yyy/4up > > It happily responded, listing the 2 directories and 3 files and no > errors. I then repeated the command without the dry run -n flag... ie > set it live. It came up with all the errors as before... > > == > $ rsync -avz --stats --progress -e ssh . [EMAIL PROTECTED]:/home/xxx/yyy/4up > > [EMAIL PROTECTED]'s password: > building file list ... > 5 files to consider > ./ > rsync: failed to modify permissions on "/home/xxx/yyy/4up/.": Permission > denied (13) > rsync: recv_generator: failed to stat "/home/xxx/yyy/4up/somejunk.txt": > Permission denied (13) > 20070709 mach refresh issue/ > rsync: recv_generator: mkdir "/home/xxx/yyy/4up/20070709 mach refresh issue" > failed: Permission denied (13) > *** Skipping everything below this failed directory *** > rsync: failed to modify permissions on "/home/xxx/yyy/4up/20070709 mach > refresh issue": Permission denied (13) > rsync: recv_generator: mkdir "/home/xxx/yyy/4up/." failed: Permission denied > (13) > *** Skipping everything below this failed directory *** > > etc... > === > > and after doing this failed rsync, I went back to the putty window to > look at the remote machine and typed ls again... and bingo... permission > denied. cd .. and ls -l shows the directory 4up with permission now set > to 0: > d- 2 x 48 Aug 17 07:42 4up/ > > === > > Let me answer the rest of the questions if I can. > The affected directories are not cygwin created, now or before. They > are natively created. > They do not contain special chars, nor does the full path to the first > file even contain a space c:\4up\somjunk.txt but the subfolder and the > two files in it contain spaces. > Local permissions... haven't used getfacl before but tried it in cygwin > and got this... > > > [EMAIL PROTECTED] /cygdrive/c/4up > $ getfacl * > # file: 20070709 mach refresh issue > # owner: daveb > # group: None > user::--- > group::--- > group:SYSTEM:rwx > group:Administrators:rwx > group:Users:r-x > mask:rwx > other:--- > default:group:SYSTEM:rwx > default:group:Administrators:rwx > default:group:Users:r-x > default:mask:rwx > > # file: somejunk.txt > # owner: daveb > # group: None > user::--- > group::--- > group:SYSTEM:rwx > group:Administrators:rwx > group:Users:r-x > mask:rwx > other:--- > > = > > Vista account is only one on machine, has admin privileges. > UAC is switched on. > I did have cygwin, hence rsync running normally in this test, but now that > you remind me, I also tried it before using "Run As Administrator" on > cygwin. Made no difference. > Remote unix account is non root... I am using a service provider's Linux > box, don't know much about the machine, but I have 200GB of file space > available up there somewhere in the US. > I can putty to it and type in some commands to report info back if there > is something specific to find out. Also can talk to their tech support > 24/7. Ok, here's a WAG. Your problem stems from the fact that the Unix permissions on that directory really are 0. All of the access information is stored in separate ACLs, which rsync does not copy. Thus, it sets the permissions on the remote copy to 0, and, obviously, is unable to write to that directory afterwards. You can run "chmod -R 775" on that directory, which should, if my WAG above is correct, fix your rsync problem. Igor P.S. Before you ask, I'm not awa
Permission denied problem
Hi, I have a permission denied problem with a specific network directory $ ls /cygdrive/x/PPP/QQQ ls: cannot open directory /cygdrive/x/PPP/QQQ: Permission denied I described this problem some time ago in http://cygwin.com/ml/cygwin/2007-02/msg00023.html Larry Hall suggested me to try nontsec, but this did not change the behaviour. I also read the doc in http://cygwin.com/cygwin-ug-net/ntsec.html but couldn't get a solution for the problem. getfacl gives the same answer $ getfacl.exe /cygdrive/x/PPP/QQQ # file: /cygdrive/x/PPP/QQQ # owner: ffa195 # group: mkgroup-l-d user::rwx group::r-x other:r-x mask:rwx for both the directories with the permission problem and for other directories without the problem. Thank you very much in advance! Marko -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: rsync problems from Vista installed cygwin, ok on XP
Corinna Vinschen-2 wrote: > > For testing I copied over the whole /usr directory from my Vista box to > a Linux machine. I'm rather puzzled how setting permissions on the > *remote* machine should be affected by the OS of the source machine. > > I guess we need much more information. Are the affected directories > Cygwin-created directories or natively created dirs? Do they contain > spaces or native characters? What are the local permissions on them > (getfacl/cacls)? Does your Vista account have admin privileges? UAC > switched on? If so, is rsync running normally with reduced privileges > or "as administrator"? Is your remote Unix account root or non-root? > > Corinna > OK, encouraged by hearing that it works for you from Vista to a Linux machine, I have retraced my steps and tried a much simpler contrived example. I set up a little folder tree c:\4up with a single file called somejunk.txt and one subfolder with two files, a txt and a jpg, latter with spaces but certainly no special characters. That's on the Vista pc. Then I putty'd across to my ftp area on a Linux server and created a new subfolder there called .../4up to copy these files to via rsync. ls shows total 0 in putty. Then back on Vista pc in cygwin I cd'd to the 4up folder and typed in this dry run rsync command $ rsync -avzn --stats --progress -e ssh . [EMAIL PROTECTED]:/home/xxx/yyy/4up It happily responded, listing the 2 directories and 3 files and no errors. I then repeated the command without the dry run -n flag... ie set it live. It came up with all the errors as before... == $ rsync -avz --stats --progress -e ssh . [EMAIL PROTECTED]:/home/xxx/yyy/4up [EMAIL PROTECTED]'s password: building file list ... 5 files to consider ./ rsync: failed to modify permissions on "/home/xxx/yyy/4up/.": Permission denied (13) rsync: recv_generator: failed to stat "/home/xxx/yyy/4up/somejunk.txt": Permission denied (13) 20070709 mach refresh issue/ rsync: recv_generator: mkdir "/home/xxx/yyy/4up/20070709 mach refresh issue" failed: Permission denied (13) *** Skipping everything below this failed directory *** rsync: failed to modify permissions on "/home/xxx/yyy/4up/20070709 mach refresh issue": Permission denied (13) rsync: recv_generator: mkdir "/home/xxx/yyy/4up/." failed: Permission denied (13) *** Skipping everything below this failed directory *** etc... === and after doing this failed rsync, I went back to the putty window to look at the remote machine and typed ls again... and bingo... permission denied. cd .. and ls -l shows the directory 4up with permission now set to 0: d- 2 x 48 Aug 17 07:42 4up/ === Let me answer the rest of the questions if I can. The affected directories are not cygwin created, now or before. They are natively created. They do not contain special chars, nor does the full path to the first file even contain a space c:\4up\somjunk.txt but the subfolder and the two files in it contain spaces. Local permissions... haven't used getfacl before but tried it in cygwin and got this... [EMAIL PROTECTED] /cygdrive/c/4up $ getfacl * # file: 20070709 mach refresh issue # owner: daveb # group: None user::--- group::--- group:SYSTEM:rwx group:Administrators:rwx group:Users:r-x mask:rwx other:--- default:group:SYSTEM:rwx default:group:Administrators:rwx default:group:Users:r-x default:mask:rwx # file: somejunk.txt # owner: daveb # group: None user::--- group::--- group:SYSTEM:rwx group:Administrators:rwx group:Users:r-x mask:rwx other:--- = Vista account is only one on machine, has admin privileges. UAC is switched on. I did have cygwin, hence rsync running normally in this test, but now that you remind me, I also tried it before using "Run As Administrator" on cygwin. Made no difference. Remote unix account is non root... I am using a service provider's Linux box, don't know much about the machine, but I have 200GB of file space available up there somewhere in the US. I can putty to it and type in some commands to report info back if there is something specific to find out. Also can talk to their tech support 24/7. -- View this message in context: http://www.nabble.com/rsync-problems-from-Vista-installed-cygwin%2C-ok-on-XP-tf4260918.html#a12200543 Sent from the Cygwin Users mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Installer tasks
Dave Korn wrote: This is why most people recommend just copying across the local packages dir, and running setup.exe on the new machine telling it to "install from local package dir". There's a fairly open-ended and underspecified list of things you'd have to fix up manually if you try to copy the whole install across. Hi, Thanks for the feedback. I have a script which so far does: * Mounts * Adds some users and messes with their rights * Redoes password files * Adds some services * Fixes permissions across the whole file tree * Starts said services I did originally try and package the whole install up as an MSI, but it's just a horrible tool and I gave up. On two of the hosts that I have installed this on there are the problems with slow fork()'s (see my other thread), so I was wondering if I'd missed something. I'd assume I wouldn't need _most_ of the post install since that would be duplicated by copying the c:\cygwin\ dir. I'm trying to get a maintenance window to reboot and rebaseall on the machines in question. Only they're terminal servers in use by people in several timezones :( Cheers, George -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Installer tasks
On 17 August 2007 13:57, phil long wrote: > George alink.co.za> writes: > >> >> Hi All, >> >> Assuming I wish to copy the c:\cygwin\ directory from one computer to >> another, are there any further utilities/updates which I need to do to >> ensure it works correctly? >> >> I have create a script which redoes the mount points (mount -m). >> >> Is there anything further which I need to do? >> >> Advice/pointers to documentation appreciated. >> >> George >> >> > > > Assuming that the mounts are the same, that should be enough to run > most applications (fileutils, etc.). And if they aren't, run "mount -m > cmds.txt" on one machine, then copy it to the other and run "sh < cmds.txt". The other thing that would need redoing is reconfiguring any installed services, preferably by running the proper *-host-config.sh scripts. Oh, and you'll almost certainly need to regenerate /etc/passwd and /etc/groups. Then, of course, you might need to adjust a bunch of file ownerships. This is why most people recommend just copying across the local packages dir, and running setup.exe on the new machine telling it to "install from local package dir". There's a fairly open-ended and underspecified list of things you'd have to fix up manually if you try to copy the whole install across. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Installer tasks
George alink.co.za> writes: > > Hi All, > > Assuming I wish to copy the c:\cygwin\ directory from one computer to > another, are there any further utilities/updates which I need to do to > ensure it works correctly? > > I have create a script which redoes the mount points (mount -m). > > Is there anything further which I need to do? > > Advice/pointers to documentation appreciated. > > George > > Assuming that the mounts are the same, that should be enough to run most applications (fileutils, etc.). I use a `lite' Cygwin installation on our customer's machines, mostly to make my job easier, but occasionally to script something for a customer. The customer's machines are usually very close to identical from one installation to another, which helps a lot. The only issue I've had is that our latest machines are based on WinXP Embedded, which is on a read-only flash card, so that registry modifications are not persistent across reboots. I haven't put my 'lite' Cygwin installation on any such machine yet, nor have I played around with one yet, but I suppose I'll have to run the mount script from any scripts I may write on such machines (shouldn't present a problem). -- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: File creation time oddity (new findings)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Redirecting to the list - http://cygwin.com/acronyms/#PPIOSPE According to Ronald Fischer on 8/17/2007 1:46 AM: >>> ~/thome/tmp $ date >>> Thu Aug 16 16:49:35 2007 >>> ~/thome/tmp $ ls -l dummy3 >>> -rw-r--r-- 1 rfischer mkgroup-l-d 2 Aug 16 16:42 dummy3 >>> >>> As you can see, ls -l shows 16:42 for the creation time, >> No idea why your ctime and mtime disagree - are you sure your >> system clock and >> BIOS clock match? > > No - how can I find out? But even then - should not be the same > clock used for ctime and mtime? > >> Have you recently used an NTP server to >> align your clock >> with the rest of the world? > > Yes, I'm setting my system's time via a NTP server, but this > too can't explain why ctime and mtime are different, can it? Like I said, I have no idea how ctime would be different from mtime on file creation. But as the rest of your mail shows, they aren't different; instead, it was the difference between ctime/mtime and now that you were complaining about. > >> However, I want one thing to be >> clear - ls does >> not list creation time; it lists change time (ctime not stand >> for creation time >> in POSIX, instead, the BSD notion birthtime, aka Btime, maps >> to the Windows >> creation time - for full birthtime support in cygwin, you >> need to use a >> snapshot, as cygwin 1.5.24 does not support querying birthtime). > > Right ... just when you create a new file, change time *is* > creation time, isn't it? Yes, creating a new file is supposed to set mtime, ctime, atime, and Btime all to the same value. Note that stat(1) does not (yet) list Btime (in part, because doing so would require you to use a snapshot). >> Also, stat(1) may be nicer than ls(1) for figuring these >> timestamp issues out. > > Good point. I was not aware of stat(1) before. So, here we go: > > ~/tmp $ date > Fri Aug 17 09:41:30 2007 > ~/tmp $ echo x >dummy5 > ~/tmp $ stat dummy5 > File: `dummy5' > Size: 2 Blocks: 1024 IO Block: 1024 regular file > Device: 493329f2h/1228089842d Inode: 286061516451481604 Links: 1 > Access: (0644/-rw-r--r--) Uid: (115670/rfischer) Gid: > (10545/mkgroup-l-d) > Access: 2007-08-17 09:33:48.0 +0200 > Modify: 2007-08-17 09:33:48.0 +0200 > Change: 2007-08-17 09:33:48.0 +0200 > ~/tmp $ date > Fri Aug 17 09:41:54 2007 > ~/tmp $ touch dummy5 > ~/tmp $ stat dummy5 > File: `dummy5' > Size: 2 Blocks: 1024 IO Block: 1024 regular file > Device: 493329f2h/1228089842d Inode: 286061516451481604 Links: 1 > Access: (0644/-rw-r--r--) Uid: (115670/rfischer) Gid: > (10545/mkgroup-l-d) > Access: 2007-08-17 09:41:59.0 +0200 > Modify: 2007-08-17 09:41:59.0 +0200 > Change: 2007-08-17 09:41:59.0 +0200 Doesn't happen for me on a local disk: $ date Fri Aug 17 06:47:04 MDT 2007 $ touch foo $ stat foo File: `foo' Size: 0 Blocks: 0 IO Block: 1024 regular empty file Device: 10897b43h/277445443dInode: 8444249301410534 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1007/ eblake) Gid: ( 513/None) Access: 2007-08-17 06:47:05.708125000 -0600 Modify: 2007-08-17 06:47:05.708125000 -0600 Change: 2007-08-17 06:47:05.703125000 -0600 $ date Fri Aug 17 06:47:07 MDT 2007 > > So the effect seems to be the same as before: As if a different clock > were used when calculating the time stamps for creating a file, or > for modifying it. Hmm, could it be that your files reside on a remote mount, and that NFS is reflecting the time of the remote machine (ie. the remote machine leads or lags your machine)? > > BUT I have found something new: The effect occurs ONLY if the file > resides on the network drive. I tried the same for creating a local > file on my hard disk, and there timing is correct. Yep - that clinches it - clock skew between the machines. > > Could it be that file creation times are put into the directory > in a different way if it is a mapped drive from the network? It is an artifact of how Windows interacts with remote drives in the presence of clock skew between the machines. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxZos84KuGfSFAYARAobkAKCKh2BHSpJBINyssryh1a7YrlfKvwCgxf0r JZaXBx8XKzZtR+2Y2Vx1zRo= =Y7U3 -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: rsync problems from Vista installed cygwin, ok on XP
On Aug 13 05:28, DaveB wrote: > > My cygwin on Vista seems to work but when I try to do rsync to fixup files on > my unix ftp server, it chokes with lots of errors and does a bizarre reset > of the permission bits for the destination folder. Here's what happens: > [this is the same rsync command that works fine on XP]: > > === > $ rsync -avz --stats --progress -e ssh . [EMAIL PROTECTED]:/mypath/wherever/ > [EMAIL PROTECTED]'s password: xx > building file list ... > 8 files to consider > ./ > rsync: failed to modify permissions on "/mypath/wherever/.": Permission > denied (13) > rsync: recv_generator: failed to stat "/mypath/wherever/firstfile.xxx": > Permission denied (13) > rsync: recv_generator: failed to stat "/mypath/wherever/secondfile.xxx": > Permission denied (13) > ...etc... > rsync: recv_generator: mkdir "/mypath/wherever/." failed: Permission denied > (13) > *** Skipping everything below this failed directory *** http://cygwin.com/acronyms/#WJFFM For testing I copied over the whole /usr directory from my Vista box to a Linux machine. I'm rather puzzled how setting permissions on the *remote* machine should be affected by the OS of the source machine. I guess we need much more information. Are the affected directories Cygwin-created directories or natively created dirs? Do they contain spaces or native characters? What are the local permissions on them (getfacl/cacls)? Does your Vista account have admin privileges? UAC switched on? If so, is rsync running normally with reduced privileges or "as administrator"? Is your remote Unix account root or non-root? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: permissions/owners seen on cygwin-client vs. server
On Aug 16 20:06, Larry Hall (Cygwin) wrote: > Linda Walsh wrote: > >I get two different views of my server's "/home" directory > >depending on if I'm on the server or under cygwin on a client. > > > >On the server, I see things like: > >drwsrwsrwt 2 lin users 14 Nov 24 2006 NT_Perflogs/ > >drwxr-s--- 2 root private 24 Jul 26 2006 archive/ > >drwsr-s--- 4 backup backup 94 May 14 13:53 backup/ > >[...] > > > >but locally, I see: > >drwxr-x--- 1 lin Administrators 0 Nov 24 2006 NT_Perflogs/ > >drwxr-x--- 1 lin Administrators 0 Jul 26 2006 archive/ > >drwxr-x--- 1 lin Administrators 0 May 14 13:53 backup/ > [...] > > > >So why such a difference? > > Quite a bit, I'm afraid. Linda, you've been around long enough that > we shouldn't have to ask for basic information like cygcheck output > and other bootstrap information. What, exactly, is this server? > How are you connecting to it from the client? What protocols are > involved? How have you configured them? All this information > at least is necessary for someone here to start providing any useful > feedback. Without it, all we can do is guess. Don't make us guess. > It's not very accurate. ;-) Larry is right, of course, but I make a wild guess, nevertheless: CYGWIN=nosmbntsec See the user guide. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/