Re: chmod g+ws unsuccessful, "NULL SID" icacls missing

2023-02-10 Thread Corinna Vinschen via Cygwin
On Feb 10 11:42, Norton Allen via Cygwin wrote: > On 2/9/2023 4:09 PM, Corinna Vinschen wrote: > > On Feb 9 13:25, Norton Allen via Cygwin wrote: > > > On 2/8/2023 4:05 PM, Norton Allen via Cygwin wrote: > > > > [...] > > > > The problem: > > > > > > > > $ chmod g+ws fails to set the 's' bit, and

Re: chmod g+ws unsuccessful, "NULL SID" icacls missing

2023-02-10 Thread Norton Allen via Cygwin
On 2/9/2023 4:09 PM, Corinna Vinschen wrote: Hi Norton, On Feb 9 13:25, Norton Allen via Cygwin wrote: On 2/8/2023 4:05 PM, Norton Allen via Cygwin wrote: I briefly raised this issue months ago and am trying to resolve it again now. What I am trying to do is setup permissions so multiple us

Re: chmod g+ws unsuccessful, "NULL SID" icacls missing

2023-02-09 Thread Corinna Vinschen via Cygwin
Hi Norton, On Feb 9 13:25, Norton Allen via Cygwin wrote: > On 2/8/2023 4:05 PM, Norton Allen via Cygwin wrote: > > I briefly raised this issue months ago and am trying to resolve it again > > now. > > > > What I am trying to do is setup permissions so multiple users on one > > machine can share

Re: chmod g+ws unsuccessful, "NULL SID" icacls missing

2023-02-09 Thread Norton Allen via Cygwin
On 2/8/2023 4:05 PM, Norton Allen via Cygwin wrote: I briefly raised this issue months ago and am trying to resolve it again now. What I am trying to do is setup permissions so multiple users on one machine can share full control over a particular directory hierarchy. On Linux I have usually

Re: chmod g+s ineffective

2022-07-11 Thread Norton Allen
On 7/10/2022 10:33 PM, Eliot Moss wrote: On 7/10/2022 10:17 PM, Chris Wagner wrote: On 6/29/2022 9:18 AM, Norton Allen wrote: On one machine I have, chmod g+s fails to set the sticky bit. The >>> command does not return any error, but ls -l continues to show the bit not set. $ mkdir foo

Re: chmod g+s ineffective

2022-07-10 Thread Eliot Moss
On 7/10/2022 10:17 PM, Chris Wagner wrote: On 6/29/2022 9:18 AM, Norton Allen wrote: On one machine I have, chmod g+s fails to set the sticky bit. The >>> command does not return any error, but ls -l continues to show the bit not set. $ mkdir foo $ chgrp flight foo $ chmod g+ws fo

Re: chmod g+s ineffective

2022-07-10 Thread Chris Wagner
On 6/29/2022 9:18 AM, Norton Allen wrote: On one machine I have, chmod g+s fails to set the sticky bit. The >>> command does not return any error, but ls -l continues to show the bit not set. $ mkdir foo $ chgrp flight foo $ chmod g+ws foo $ ls -ld foo drwxrwxr-x+ 1 nor

Re: chmod g+s ineffective

2022-06-30 Thread Andrey Repin
Greetings, Norton Allen! > On 6/29/2022 9:18 AM, Norton Allen wrote: >> On 6/29/2022 7:39 AM, Andrey Repin wrote: >>> Greetings, Norton Allen! >>> On one machine I have, chmod g+s fails to set the sticky bit. The >>> command does not return any error, but ls -l continues to show th

Re: chmod g+s ineffective

2022-06-29 Thread Norton Allen
On 6/29/2022 9:18 AM, Norton Allen wrote: On 6/29/2022 7:39 AM, Andrey Repin wrote: Greetings, Norton Allen! On one machine I have, chmod g+s fails to set the sticky bit. The command does not return any error, but ls -l continues to show the bit not set. $ mkdir foo $ chgrp flight f

Re: chmod g+s ineffective

2022-06-29 Thread Norton Allen
On 6/29/2022 7:39 AM, Andrey Repin wrote: Greetings, Norton Allen! On one machine I have, chmod g+s fails to set the sticky bit. The command does not return any error, but ls -l continues to show the bit not set. $ mkdir foo $ chgrp flight foo $ chmod g+ws foo $ ls -ld foo

Re: chmod g+s ineffective

2022-06-29 Thread Andrey Repin
Greetings, Norton Allen! > On one machine I have, chmod g+s fails to set the sticky bit. The command > does not return any error, but ls -l continues to show the bit not set. > $ mkdir foo > $ chgrp flight foo > $ chmod g+ws foo > $ ls -ld foo > drwxrwxr-x+ 1 nort flight 0 Jun

Re: chmod issue on 3.1.7.

2020-12-25 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-12-24 14:56, Ken Brown via Cygwin wrote: Could the problem be that the owner and group are the same? You can do that on unix, but I'm not sure the Windows security model allows it. For example, what happens when you remove permissions of the owner kaz while retaining the permissions of

Re: chmod issue on 3.1.7.

2020-12-24 Thread Ken Brown via Cygwin
On 12/24/2020 4:13 PM, Kaz Kylheku (Cygwin) via Cygwin wrote: On 2020-10-10 09:32, Kaz Kylheku (Cygwin) via Cygwin wrote: Hi all, Running this Cygwin on a Windows 10 system:   0:DESKTOP-K8055OB:~$ uname -a   CYGWIN_NT-10.0-WOW DESKTOP-K8055OB 3.1.7(0.340/5/3) 2020-08-22 19:03 i686 Cygwi When

Re: chmod issue on 3.1.7.

2020-12-24 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-10 09:32, Kaz Kylheku (Cygwin) via Cygwin wrote: Hi all, Running this Cygwin on a Windows 10 system: 0:DESKTOP-K8055OB:~$ uname -a CYGWIN_NT-10.0-WOW DESKTOP-K8055OB 3.1.7(0.340/5/3) 2020-08-22 19:03 i686 Cygwi When a file is created, and permissions set as follows: 0:DESKTOP

Re: chmod issue on 3.1.7.

2020-10-11 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-10 14:51, Brian Inglis wrote: D/ACLs on the directory could restore/maintain the permissions: could we please see the output from ls -l, getfacl, and icacls on the directory and file? Thanks for your responses, Ken and Brian. See what you can make of this: 0:DESKTOP-K8055OB:~$ ls

Re: chmod issue on 3.1.7.

2020-10-10 Thread Brian Inglis
On 2020-10-10 13:41, Ken Brown via Cygwin wrote: > On 10/10/2020 12:32 PM, Kaz Kylheku (Cygwin) via Cygwin wrote: >> Hi all, >> >> Running this Cygwin on a Windows 10 system: >> >>    0:DESKTOP-K8055OB:~$ uname -a >>    CYGWIN_NT-10.0-WOW DESKTOP-K8055OB 3.1.7(0.340/5/3) 2020-08-22 19:03 i686 >> Cy

Re: chmod issue on 3.1.7.

2020-10-10 Thread Ken Brown via Cygwin
On 10/10/2020 12:32 PM, Kaz Kylheku (Cygwin) via Cygwin wrote: Hi all, Running this Cygwin on a Windows 10 system:   0:DESKTOP-K8055OB:~$ uname -a   CYGWIN_NT-10.0-WOW DESKTOP-K8055OB 3.1.7(0.340/5/3) 2020-08-22 19:03 i686 Cygwi When a file is created, and permissions set as follows:   0:

Re: chmod failing on user's permissions

2016-11-30 Thread Corinna Vinschen
On Nov 30 09:23, Ben Altman wrote: > On 11/28/2016 7:00 PM, L. A. Walsh wrote: > > Ben Altman wrote: When I get a directory listing, it shows for each > > > file "Unknown+User Unknown+Group" while on the desktop the same files > > > show my user name that I logged in with and "Domain Users" as the

Re: chmod failing on user's permissions

2016-11-30 Thread Ben Altman
On 11/28/2016 7:00 PM, L. A. Walsh wrote: Ben Altman wrote: When I get a directory listing, it shows for each file "Unknown+User Unknown+Group" while on the desktop the same files show my user name that I logged in with and "Domain Users" as the group. --- Is your laptop a member of the dom

Re: chmod failing on user's permissions

2016-11-28 Thread L. A. Walsh
Ben Altman wrote: When I log in to my account at work I get access to a network location accessed as a drive dedicated to me. I log in from 2 locations - my laptop and desktop. --- Were both setup by your company's IT department, or if not, who? Are they both running the same version of

Re: chmod failed: Invalid argument

2016-02-10 Thread Corinna Vinschen
On Feb 10 11:59, Rainer Blome wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 08.02.2016 15:29, Corinna Vinschen wrote: > > On Jan 31 21:24, Rainer Blome wrote: > >> On 28.01.2016 21:40, Corinna Vinschen wrote: > > On a hunch, do you have old /etc/passwd and /etc/group >

Re: chmod failed: Invalid argument

2016-02-10 Thread Rainer Blome
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 08.02.2016 15:29, Corinna Vinschen wrote: > On Jan 31 21:24, Rainer Blome wrote: >> On 28.01.2016 21:40, Corinna Vinschen wrote: > On a hunch, do you have old /etc/passwd and /etc/group > files There is no `/etc/group`, but `/etc/pass

Re: chmod failed: Invalid argument

2016-02-08 Thread Corinna Vinschen
On Jan 31 21:24, Rainer Blome wrote: > On 28.01.2016 21:40, Corinna Vinschen wrote: > >>> On a hunch, do you have old /etc/passwd and /etc/group files by > >>> any chance? Does moving them out of /etc (don't delete them for > >>> now!), exiting from Cygwin and starting a new shell somehow fix > >>

Re: chmod failed: Invalid argument

2016-01-31 Thread Rainer Blome
On 28.01.2016 21:40, Corinna Vinschen wrote: > On Jan 28 19:43, Rainer Blome wrote: >>> Corinna Vinschen wrote 2016-01-28 18:22: On Jan 28 17:06, Rainer Blome wrote: > Corinna Vinschen wrote 2016-01-28 15-44: And then, what about > this unknwon group with gid 213? What does > >>>

Re: chmod failed: Invalid argument

2016-01-28 Thread Corinna Vinschen
On Jan 28 19:43, Rainer Blome wrote: > > Corinna Vinschen wrote 2016-01-28 18:22: > > On Jan 28 17:06, Rainer Blome wrote: > > > > Corinna Vinschen wrote 2016-01-28 15-44: > > > > On Jan 28 15:24, Rainer Blome wrote: > > > > the acl should always at least contain ACEs for the > > > > default POSIX

Re: chmod failed: Invalid argument

2016-01-28 Thread Rainer Blome
> Corinna Vinschen wrote 2016-01-28 18:22: > On Jan 28 17:06, Rainer Blome wrote: > > > Corinna Vinschen wrote 2016-01-28 15-44: > > > On Jan 28 15:24, Rainer Blome wrote: > > > the acl should always at least contain ACEs for the > > > default POSIX perms, plus a NULL ACE: > > > > > > foo NULL SID

Re: Re: chmod failed: Invalid argument

2016-01-28 Thread Corinna Vinschen
On Jan 28 17:06, Rainer Blome wrote: > > Corinna Vinschen wrote 2016-01-28 15-44: > > On Jan 28 15:24, Rainer Blome wrote: > > > > The "In-Reply-To" is still missing in your mails, so you're invariably > > breaking threading. T'would be nice if you could make your mailer > > behave :) > > This is

Aw: Re: chmod failed: Invalid argument

2016-01-28 Thread Rainer Blome
> Corinna Vinschen wrote 2016-01-28 15-44: > On Jan 28 15:24, Rainer Blome wrote: > > The "In-Reply-To" is still missing in your mails, so you're invariably > breaking threading. T'would be nice if you could make your mailer > behave :) This is the first time that I have a mail to reply to, hope

Re: chmod failed: Invalid argument

2016-01-28 Thread Corinna Vinschen
On Jan 28 15:24, Rainer Blome wrote: > (Apologies for not using the reply feature, I was not > subscribed when the last mail was sent. I am now subscribed.) The "In-Reply-To" is still missing in your mails, so you're invariably breaking threading. T'would be nice if you could make your mailer beh

Re: chmod failed: Invalid argument [was: git clone fails with: error: chmod on config.lock failed: Invalid argument]

2016-01-28 Thread Corinna Vinschen
Rainer, please make sure your mailer doesn't break threading. I tweaked the "In-Reply-To" now to return to the original thread on the mailing list. Thank you. On Jan 28 14:44, Rainer Blome wrote: > Christopher Cobb wrote on Thu, 28 Jan 2016 01:27:16 +0100: > > Or maybe chmod is broken, like it i

Re: chmod failed: Invalid argument

2016-01-28 Thread Rainer Blome
(Apologies for not using the reply feature, I was not subscribed when the last mail was sent. I am now subscribed.) > Corinna Vinschen wrote: > On Jan 28 01:27, Christopher Cobb wrote: >> Or maybe chmod is broken, like it is on my machine: >> $ chmod 777 x >> chmod: changing permissions of âxâ: In

Re: chmod: creator owner victimized? ... (1.7.35-0.4)

2015-02-25 Thread Corinna Vinschen
On Feb 25 22:04, Houder wrote: > > Hi Henri, > > > > On Feb 25 20:23, Houder wrote: > >> Hi Corinna, > >> > >> Ref: https://cygwin.com/ml/cygwin/2015-02/msg00798.html > >> - [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.4 > >> > >> Something for your list of things to think about ... and do later ;

Re: chmod: creator owner victimized? ... (1.7.35-0.4)

2015-02-25 Thread Houder
> Hi Henri, > > On Feb 25 20:23, Houder wrote: >> Hi Corinna, >> >> Ref: https://cygwin.com/ml/cygwin/2015-02/msg00798.html >> - [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.4 >> >> Something for your list of things to think about ... and do later ;-) >> >> For a directory, the 'creator owner' sho

Re: chmod: creator owner victimized? ... (1.7.35-0.4)

2015-02-25 Thread Corinna Vinschen
Hi Henri, On Feb 25 20:23, Houder wrote: > Hi Corinna, > > Ref: https://cygwin.com/ml/cygwin/2015-02/msg00798.html > - [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.4 > > Something for your list of things to think about ... and do later ;-) > > For a directory, the 'creator owner' should have s

Re: chmod Not Working

2013-12-30 Thread Max Polk
On 12/30/2013 2:23 PM, Nellis, Kenneth wrote: From: bartels On 12/30/2013 06:16 AM, Nithin Kurien wrote: When I type the following sequence of commands: cd ~; mkdir sample; chmod -R 0700 sample; stat -c "%a %u %g" sample; rm -rf sample; mkdir sample; chmod -R 0755 sample; stat -c "%a %u %g" sa

RE: chmod Not Working

2013-12-30 Thread Nellis, Kenneth
From: bartels > > On 12/30/2013 06:16 AM, Nithin Kurien wrote: > > When I type the following sequence of commands: > > > > cd ~; mkdir sample; chmod -R 0700 sample; stat -c "%a %u %g" sample; > > rm -rf sample; mkdir sample; chmod -R 0755 sample; stat -c "%a %u %g" > > sample > > > > the output is

Re: chmod Not Working

2013-12-30 Thread bartels
On 12/30/2013 06:16 AM, Nithin Kurien wrote: When I type the following sequence of commands: cd ~; mkdir sample; chmod -R 0700 sample; stat -c "%a %u %g" sample; rm -rf sample; mkdir sample; chmod -R 0755 sample; stat -c "%a %u %g" sample the output is: 770 1001 513 775 1001 513 Why is chmod

Re: chmod questions

2013-08-07 Thread J. David Boyd
Drew Adams writes: > I have read various info regarding trying to make Cygwin's `chmod' > work as (I) expected, including the Cygwin FAQ and user guide. > I am using Windows 7 with an NTFS disk. My user and group are > defined as they should be AFAIK. > > Two questions in this regard: > > . is

Re: chmod questions

2013-08-07 Thread Larry Hall (Cygwin)
On 8/7/2013 2:33 PM, Drew Adams wrote: I have read various info regarding trying to make Cygwin's `chmod' work as (I) expected, including the Cygwin FAQ and user guide. I am using Windows 7 with an NTFS disk. My user and group are defined as they should be AFAIK. Two questions in this regard:

Re: chmod problem

2012-04-05 Thread Corinna Vinschen
On Apr 5 05:37, Karl M wrote: > On Apr 5 14:25, Corinna Vinschen wrote: > > It works still fine for me if I don't use the same Windows group as > > owner and as group of the file. > > Btw., there were no changes at all between 1.7.10 and 1.7.12 which > would even remotely touch chmod or chown be

RE: chmod problem

2012-04-05 Thread Karl M
On Apr 5 14:25, Corinna Vinschen wrote: > On Apr 5 05:19, Karl M wrote: > > > > + ls -al /etc/ssh_host_rsa_key > > > > -rw-rw 1 Administrators root 1675 Apr 4 11:30 /etc/ssh_host_rsa_key > > > > > > > > This test was on a fresh (1.7.12) from this morning. > > > > > > There's your problem:

Re: chmod problem

2012-04-05 Thread Corinna Vinschen
On Apr 5 14:25, Corinna Vinschen wrote: > On Apr 5 05:19, Karl M wrote: > > > > + ls -al /etc/ssh_host_rsa_key > > > > -rw-rw 1 Administrators root 1675 Apr 4 11:30 /etc/ssh_host_rsa_key > > > > > > > > This test was on a fresh (1.7.12) from this morning. > > > > > > There's your problem: T

Re: chmod problem

2012-04-05 Thread Corinna Vinschen
On Apr 5 05:19, Karl M wrote: > > > + ls -al /etc/ssh_host_rsa_key > > > -rw-rw 1 Administrators root 1675 Apr 4 11:30 /etc/ssh_host_rsa_key > > > > > > This test was on a fresh (1.7.12) from this morning. > > > > There's your problem: The Administrators group and the root group > > are just

RE: chmod problem

2012-04-05 Thread Karl M
> Date: Thu, 5 Apr 2012 11:46:07 +0200 > From: corinna > To: cygwin > Subject: Re: chmod problem > > On Apr 4 13:16, Karl M wrote: > > > > > > Hi All... > > > > > > On a recent Cygwin install on a new win7-64 machine, I ran into a pro

Re: chmod problem

2012-04-05 Thread Corinna Vinschen
On Apr 4 13:16, Karl M wrote: > > > Hi All... > > > On a recent Cygwin install on a new win7-64 machine, I ran into a problem. > The ssh service would not start because the protection on the > /etc/ssh_host_rsa_key was too weak. (I use only the rsa host key.) > > If I chmod the file to 600

Re: chmod indicates success, but does not succeed

2011-02-16 Thread hardya
Sorry I didn't mean to cause a problem. I just paraphrased the msys welcome doc. The more accurate text is: "Welcome to the world of MSYS and MinGW. Minimal SYStem is a minimal POSIX system used in the Win32 OS to accomplish configuration and making of packages. MSYS is a fork of Cygwin and i

Re: chmod indicates success, but does not succeed

2011-02-16 Thread Christopher Faylor
On Wed, Feb 16, 2011 at 09:57:34AM +0100, Corinna Vinschen wrote: >On Feb 16 00:45, Andrew DeFaria wrote: >> On 02/15/11 19:40, hardya wrote: >> >MSYS is described as a fork of cygwin that's specially suited to being used >> >with win32. >> How would MSYS be any more "specially suited to being used

Re: chmod indicates success, but does not succeed

2011-02-16 Thread Corinna Vinschen
On Feb 16 00:45, Andrew DeFaria wrote: > On 02/15/11 19:40, hardya wrote: > >MSYS is described as a fork of cygwin that's specially suited to being used > >with win32. > How would MSYS be any more "specially suited to being used with > win32" than Cygwin itself, is it already "specially suited to b

Re: chmod indicates success, but does not succeed

2011-02-15 Thread Andrew DeFaria
On 02/15/11 19:40, hardya wrote: MSYS is described as a fork of cygwin that's specially suited to being used with win32. How would MSYS be any more "specially suited to being used with win32" than Cygwin itself, is it already "specially suited to being used with win32"?!? Marketing people...

Re: chmod indicates success, but does not succeed

2011-02-15 Thread hardya
That clears it up then thanks. At least as far as my post here is concerned any way. MSYS is described as a fork of cygwin that's specially suited to being used with win32. I guess I hadn't expected this particular problem to be related to the fork. Any way, as you rightly say, it is 'not' cyg

Re: chmod indicates success, but does not succeed

2011-02-15 Thread Corinna Vinschen
On Feb 15 11:27, hardya wrote: > > First let me appologise for the bad subject line and lack of explicit > content. I realise the importance of following forum guidelines and I shall > try to be clearer, at least within my ability. > > As mentioned at the beginning of my post, though perhaps not

Re: chmod -R 777*

2010-09-10 Thread Corinna Vinschen
On Sep 10 12:57, René Berber wrote: > On 9/10/2010 11:18 AM, René Berber wrote: > > On 9/10/2010 4:04 AM, Yohann wrote: > > > > [snip] > >> Is there any way to check the proper permission configuration on windows > >> XP or > >> to restore it? > > > > Windows doesn't care about permissions, it

Re: chmod -R 777*

2010-09-10 Thread René Berber
On 9/10/2010 11:18 AM, René Berber wrote: > On 9/10/2010 4:04 AM, Yohann wrote: > > [snip] >> Is there any way to check the proper permission configuration on windows XP >> or >> to restore it? > > Windows doesn't care about permissions, it uses 777 for everything, and > that is the default (ev

Re: chmod -R 777*

2010-09-10 Thread René Berber
On 9/10/2010 4:04 AM, Yohann wrote: [snip] > Is there any way to check the proper permission configuration on windows XP > or > to restore it? Windows doesn't care about permissions, it uses 777 for everything, and that is the default (everything has that permission, text, pictures, music, zip

Re: chmod fails for MS-DOS style path in cygwin 1.7.2-2

2010-04-01 Thread Larry Hall (Cygwin)
On 4/1/2010 11:18 AM, Christopher Faylor wrote: On Thu, Apr 01, 2010 at 08:03:34AM -0700, Andrew DeFaria wrote: On 04/01/2010 07:21 AM, Christopher Faylor wrote: How could a specific error message, which tells you how to turn it off, be construed as a bug? Maybe a bug as in "this bothers me"

Re: chmod fails for MS-DOS style path in cygwin 1.7.2-2

2010-04-01 Thread Christopher Faylor
On Thu, Apr 01, 2010 at 08:03:34AM -0700, Andrew DeFaria wrote: > >On 04/01/2010 07:21 AM, Christopher Faylor wrote: >>How could a specific error message, which tells you how to turn it off, >>be construed as a bug? > >Maybe a bug as in "this bothers me". By those criteria you classify as a bug.

Re: chmod fails for MS-DOS style path in cygwin 1.7.2-2

2010-04-01 Thread Andrew DeFaria
On 04/01/2010 07:21 AM, Christopher Faylor wrote: On Thu, Apr 01, 2010 at 02:09:29PM +0530, prakash babu wrote: I am using cygwin 1.7.2-2 and chmod fails for MS-DOS style path with the following error message. eg: chmod 755 C:\\FileName cygwin warning: MS-DOS style path detected: C:\FileName

Re: chmod fails for MS-DOS style path in cygwin 1.7.2-2

2010-04-01 Thread Christopher Faylor
On Thu, Apr 01, 2010 at 02:09:29PM +0530, prakash babu wrote: >I am using cygwin 1.7.2-2 and chmod fails for MS-DOS style path with the >following error message. > >eg: chmod 755 C:\\FileName > >cygwin warning: MS-DOS style path detected: C:\FileName >Preferred POSIX equivalent is: /cygdrive/c/Fil

Re: chmod fails for MS-DOS style path in cygwin 1.7.2-2

2010-04-01 Thread Corinna Vinschen
On Apr 1 14:09, prakash babu wrote: > I am using cygwin 1.7.2-2 and chmod fails for MS-DOS style path with the > following error message. > > eg: chmod 755 C:\\FileName >   > cygwin warning: MS-DOS style path detected: C:\FileName > Preferred POSIX equivalent is: /cygdrive/c/FileName > CYGWIN en

RE: chmod Permission Error with Non-Windows Paths

2010-03-01 Thread Holmberg, Eric
>> I'm seeing an "Permission denied" failure when using chmod on a mapped >> network drive. The problem doesn't occur on the local drive and if I use a >> Windows-style backslash in the name, it works?! >> >> CYGWIN_NT-5.1 EHOLMBER-XP 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin >> >> $ echo $C

Re: chmod Permission Error with Non-Windows Paths

2010-02-26 Thread Larry Hall (Cygwin)
On 02/26/2010 01:38 PM, Holmberg, Eric wrote: I'm seeing an "Permission denied" failure when using chmod on a mapped network drive. The problem doesn't occur on the local drive and if I use a Windows-style backslash in the name, it works?! CYGWIN_NT-5.1 EHOLMBER-XP 1.7.1(0.218/5/3) 2009-12-07

Re: chmod and DOS vs POSIX paths

2010-01-25 Thread Corinna Vinschen
http://cygwin.com/acronyms/#TOFU On Jan 25 11:25, brassrat wrote: > > I agree that the having an R/O attribute conflicts with the concept of ACLS; > however, it is not true that the chmod command does not change this flag. > For example, > if you chmod +w a file with the R/O flag 'set' the R/O

Re: chmod and DOS vs POSIX paths

2010-01-25 Thread brassrat
I agree that the having an R/O attribute conflicts with the concept of ACLS; however, it is not true that the chmod command does not change this flag. For example, if you chmod +w a file with the R/O flag 'set' the R/O flag is reset. (maybe this is a side-effect of the ACL-based processing withi

Re: chmod and DOS vs POSIX paths

2010-01-25 Thread Corinna Vinschen
On Jan 25 07:55, brassrat wrote: > > The source control package i use at work is sensitive to the 'read-only' > attribute of Windows files. > prior to 1.7, the command 'chmod -w DIR/FILE' worked fine. > now, with 1.7, chmod -w FILE no longer sets the read-only attribute - i > guess because > fort

Re: chmod in cygwin

2010-01-06 Thread Larry Hall (Cygwin)
On 01/06/2010 07:54 PM, Linda Armelle Nzumotcha Tchoumkam wrote: My program is "ab.exe" included in "C:/Program Files/Flow" I attempt with : "chmod a+x /cygdrive/c/Program/flow" and "chmod a+x /cygdrive/c/Program/flow/ab.exe", Operator error. If "ab.exe" is in "C:/Program Files/Flow" then the

Re: chmod in cygwin

2010-01-04 Thread Larry Hall (Cygwin)
On 01/04/2010 06:03 PM, rmpbklyn wrote: have you used chmod before or is it your first time? this is determine what type of answer to post give a screenshot link to further describe Let's all give Linda a chance to absorb the responses so far and follow-up with the list if more direction is ne

Re: chmod in cygwin

2010-01-04 Thread rmpbklyn
have you used chmod before or is it your first time? this is determine what type of answer to post give a screenshot link to further describe Linda Armelle Nzumotcha Tchoumkam wrote: > > > > I am a new user of cygwin in windows xp. > I want to run an executable program connected to cygwin. >

Re: chmod in cygwin

2010-01-03 Thread René Berber
Linda Armelle Nzumotcha Tchoumkam wrote: > > I am a new user of cygwin in windows xp. > I want to run an executable program connected to cygwin. > I use the command chmod as ( “[ugoa]*<[-+=]<[rwxXst]*|[ugo]>>+” write “chmod > a+x /C/Program/flow”) > But I don’t get to the executable program. I re

Re: chmod in cygwin

2010-01-03 Thread Rosario D. Contarino
If it can be of any help, why don't you try to execute some other programs instead of chmod and see if you get the same error, for example instead of "chmod a+x /C/Program/flow" something like "ls -d /C/Program/flow" and see if works. If it does then we can say something can be wrong with chmod, i

Re: chmod/chgrp ignores Windows ACL full control? (rm works fine)

2009-06-09 Thread Corinna Vinschen
On Jun 9 11:58, Fischer, Tilman wrote: > Hello all, Hi Corinna, > > I get a 'Permission denied' for 'chmod' or 'chgrp' on a file using a > standard windows user with full access ('ls -l' shows: '-rwx--+ 1 admin > None'). According to 'getfacl' the user has the rwx-rights on the file and > the

Re: chmod, ownership, etc

2009-01-28 Thread timcygwin
Thank you. -- View this message in context: http://www.nabble.com/chmod%2C-ownership%2C-etc-tp21649645p21712842.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/proble

Re: chmod, ownership, etc

2009-01-25 Thread Corinna Vinschen
On Jan 25 01:04, timcygwin wrote: > Problem is that the existing files in my Windows area have user ownership > Administrators, group ownership None, e.g., > -rwxrwxrwx 1 Administrators None5513 Jul 20 2005 > set_from_reg.awk* > > whereas new files created under cygwin have owner t

Re: chmod permission denied on windows 2008

2008-07-07 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" On Jul 7 17:12, Steven Hartland wrote: I know its cheaky but I dont suppose you could shed any light on my other thread regards 2008 support:- "apache crashing on windows 2008 when listening on localhost" Sorry, but no. There's other wo

Re: chmod permission denied on windows 2008

2008-07-07 Thread Corinna Vinschen
On Jul 7 17:12, Steven Hartland wrote: > I know its cheaky but I dont suppose you could shed any light on my > other thread regards 2008 support:- > "apache crashing on windows 2008 when listening on localhost" Sorry, but no. There's other work I have to do and I'm also not keen on debugging a m

Re: chmod permission denied on windows 2008

2008-07-07 Thread Corinna Vinschen
On Jul 7 17:47, Dave Korn wrote: > Steven Hartland wrote on 07 July 2008 17:12: > > From: "Corinna Vinschen" > >> The DLL has been build with VC++ due to the lack of a 64 bit capable gcc > >> for Cygwin. As long as this is the case, rebaseall will have to be > >> changed to skip cyglsa.dll and cy

RE: chmod permission denied on windows 2008

2008-07-07 Thread Dave Korn
Steven Hartland wrote on 07 July 2008 17:12: > - Original Message - > From: "Corinna Vinschen" >> >>> One thing I did notice is that rebaseall fails with:- >>> /usr/bin/cyglsa64.dll: fixing bad relocations >>> FixImage (/usr/bin/cyglsa64.dll) failed with last error = 13 >>> >>> As a tempo

Re: chmod permission denied on windows 2008

2008-07-07 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" This seems to work fine, is there anything I should be aware of if we looked to use this in production environment? The mount points are now stored in /etc/fstab and /etc/fstab.d/$USER instead of in the system and user registry. There are a

Re: chmod permission denied on windows 2008

2008-07-07 Thread Corinna Vinschen
On Jul 7 15:37, Steven Hartland wrote: > - Original Message - From: "Steven Hartland" >>> Other than that, maybe using the (not yet production) Cygwin 1.7 is >>> an option for you. You can install a 1.7-based distro over your 1.5 >>> distro using another setup.exe: http://cygwin.com/setup

Re: chmod permission denied on windows 2008

2008-07-07 Thread Steven Hartland
- Original Message - From: "Steven Hartland" Other than that, maybe using the (not yet production) Cygwin 1.7 is an option for you. You can install a 1.7-based distro over your 1.5 distro using another setup.exe: http://cygwin.com/setup-1.7.exe I'll give this a shot in a bit and let yo

Re: chmod permission denied on windows 2008

2008-07-07 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" <[EMAIL PROTECTED]> After further looking into this issue I fear I can't do anything against that in Cygwin 1.5.25 anymore. There is a strange privilege issue when using impersonation tokens starting with Windows Vista. The root of the pro

Re: chmod permission denied on windows 2008

2008-07-07 Thread Corinna Vinschen
On Jul 7 11:02, Steven Hartland wrote: > - Original Message - From: "Corinna Vinschen" >>> I've attached the output from whoami in both cases. A privaledege >>> missing from the sshd_server user may be? Note: ssh was installed >>> with a slightly older than latest version of cygwin so if t

Re: chmod permission denied on windows 2008

2008-07-07 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" I've attached the output from whoami in both cases. A privaledege missing from the sshd_server user may be? Note: ssh was installed with a slightly older than latest version of cygwin so if this has changed to support 2008 recently that could

Re: chmod permission denied on windows 2008

2008-07-07 Thread Corinna Vinschen
On Jul 4 23:21, Steven Hartland wrote: > Sorry seems I missed one critical element here. I thought I was doing > all the tests under a cygwin prompt but in fact the chown's I was > doing under an ssh'ed prompt. It works under a cygwin prompt on the > desktop but fails when I'm ssh'ed in. So this a

Re: chmod permission denied on windows 2008

2008-07-04 Thread Steven Hartland
- Original Message - From: "Steven Hartland" That's weird. Cygwin always enables the backup and restore privileges if they are available. The whoami printout in your previous mail shows that the privilege is in the token. But the above code shows that the AdjustTokenPrivileges() call

Re: chmod permission denied on windows 2008

2008-07-04 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" That's weird. Cygwin always enables the backup and restore privileges if they are available. The whoami printout in your previous mail shows that the privilege is in the token. But the above code shows that the AdjustTokenPrivileges() call

Re: chmod permission denied on windows 2008

2008-07-04 Thread Christopher Faylor
On Fri, Jul 04, 2008 at 11:42:25AM -0500, Gary R. Van Sickle wrote: >> From: Christopher Faylor >> >> On Thu, Jul 03, 2008 at 11:22:03PM +0100, Steven Hartland wrote: >> > Hope this gets through the lists broken spam detection, and >> helps id >> > the issue. >> >> How to Win Friends and Influe

RE: chmod permission denied on windows 2008

2008-07-04 Thread Gary R. Van Sickle
> From: Christopher Faylor > > On Thu, Jul 03, 2008 at 11:22:03PM +0100, Steven Hartland wrote: > > Hope this gets through the lists broken spam detection, and > helps id > > the issue. > > How to Win Friends and Influence People... > > cgf > Please take such Cygwin-content-free snarking to

Re: chmod permission denied on windows 2008

2008-07-04 Thread Steven Hartland
- Original Message - From: "Christopher Faylor" Wasn't meant to be derogatory or anything but having to send each mail several times with slightly different wording, layout, subjects as they keep bouncing due to being detected as spam is quite annoying. I see two blocks from you in the

Re: chmod permission denied on windows 2008

2008-07-04 Thread Christopher Faylor
On Fri, Jul 04, 2008 at 09:47:47AM +0100, Steven Hartland wrote: >cgf wrote: >>On Thu, Jul 03, 2008 at 11:22:03PM +0100, Steven Hartland wrote: >>>Hope this gets through the lists broken spam detection, and helps id >>>the issue. >> >>How to Win Friends and Influence People... > >Wasn't meant to be

Re: chmod permission denied on windows 2008

2008-07-04 Thread Corinna Vinschen
On Jul 3 23:22, Steven Hartland wrote: > - Original Message - From: "Corinna Vinschen" >> You could run this under strace and see what Win32 error message >> you get. It could be helpful. > > Below is the full strace of this, but I think the issue lies where > you suggested looking at:- >

Re: chmod permission denied on windows 2008

2008-07-04 Thread Steven Hartland
- Original Message - From: "Christopher Faylor" On Thu, Jul 03, 2008 at 11:22:03PM +0100, Steven Hartland wrote: Hope this gets through the lists broken spam detection, and helps id the issue. How to Win Friends and Influence People... Wasn't meant to be derogatory or anything b

Re: chmod permission denied on windows 2008

2008-07-04 Thread Corinna Vinschen
On Jul 3 23:19, Steven Hartland wrote: > - Original Message - From: "Corinna Vinschen" > >> Works fine for me on 2008 so I assume some local setting which >> disallows this. Did you remove the "Back up privileg and directories" >> privilege from the admin's account, by any chance? > > The

Re: chmod permission denied on windows 2008

2008-07-03 Thread Christopher Faylor
On Thu, Jul 03, 2008 at 11:22:03PM +0100, Steven Hartland wrote: > Hope this gets through the lists broken spam detection, and helps id the > issue. How to Win Friends and Influence People... cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cy

Re: chmod permission denied on windows 2008

2008-07-03 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" [EMAIL PROTECTED]/: grep testuser /etc/group testuser:S-1-5-32-545:545: Huh? Why did you do that? This is the entry for the Users group. It doesn't seem to make sense to rename it for Cygwin. Purely for compatibility reasons and has work

Re: chmod permission denied on windows 2008

2008-07-03 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" Works fine for me on 2008 so I assume some local setting which disallows this. Did you remove the "Back up privileg and directories" privilege from the admin's account, by any chance? The info from "whoami /all" indicates that you are c

Re: chmod permission denied on windows 2008

2008-07-03 Thread Corinna Vinschen
On Jul 3 13:25, Steven Hartland wrote: > Running chmod under 2008 simply doesnt seem to work here, > which is really strange. > > [EMAIL PROTECTED]/: id > uid=500(root) gid=513(None) > groups=513(None),544(Administrators),545(testuser) > > [EMAIL PROTECTED]/tmp: touch test > > [EMAIL PROTECTED]/t

Re: chmod on network drive

2008-03-05 Thread Marc Girod
Marc Girod gmail.com> writes: > I have a follow-up question to my protection problem, > now trying to access pages under my ~/public_html directory. I hacked now a work-around, but didn't really fix the error. I created a new directory, and copied the previous contents there. Then, I actually c

Re: chmod failure

2008-03-03 Thread Marc Girod
Hi again, Marc Girod gmail.com> writes: > This is on a different host than previously, Just a couple of additions... I do have admin rights on that box. > Here is the symptom about which I hope to read an explanation: > ~> ls -ld . .bashrc > drwx--+ 8 Administrators Domain Users 0 Feb

Uuencoded cygcheck - was - Re: chmod o-r woes...

2008-02-25 Thread Larry Hall (Cygwin)
Marc Girod wrote: I now add the updated and uuencoded cygcheck.out: begin 700 cygcheck.uue I may have missed something in the recent conversation here or maybe it's just my email client (Thunderbird) which doesn't automatically handle this decoding but this is the first time the notion of

Re: chmod o-r woes...

2008-02-25 Thread Marc Girod
Dave Korn artimi.com> writes: > I always set my basic CYGWIN settings in the windows system properties > global environment. Thanks. I did it now. > If the remote drive supports proper NTFS ACLs, any file cygwin creates on it > /while/ CYGWIN=smbntsec is in effect will have proper NTFS acce

  1   2   3   >