chmod permission denied on windows 2008

classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

chmod permission denied on windows 2008

Steven Hartland
Running chmod under 2008 simply doesnt seem to work here,
which is really strange.

[root@blade0]/: id
uid=500(root) gid=513(None) groups=513(None),544(Administrators),545(testuser)

[root@blade0]/tmp: touch test

[root@blade0]/tmp: chown testuser test
chown: changing ownership of `test': Permission denied

[root@blade0]/tmp: ls -l test
-rw-r--r-- 1 root None 0 Jul  3 13:15 test
[root@blade0]/tmp:

[root@blade0]/tmp: grep testuser /etc/passwd
testuser:unused_by_nt/2000/xp:1002:513:Test
User,U-BLADE0\testuser,S-1-5-21-1034854827-3221323542-428946914-1002:/usr/home/testuser:/bin/bash

[root@blade0]/: grep testuser /etc/group
testuser:S-1-5-32-545:545:

[root@blade0]/: ls -l |grep tmp
drwxrwxrwt+  3 Administrators None   4096 Jul  3 13:22 tmp

All this works fine on XP and 2003 but is there something silly
I'm missing for 2008?

    Regards
    Steve



--
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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Corinna Vinschen-2
On Jul  3 13:25, Steven Hartland wrote:

> Running chmod under 2008 simply doesnt seem to work here,
> which is really strange.
>
> [root@blade0]/: id
> uid=500(root) gid=513(None)
> groups=513(None),544(Administrators),545(testuser)
>
> [root@blade0]/tmp: touch test
>
> [root@blade0]/tmp: chown testuser test
> chown: changing ownership of `test': Permission denied
>
> [root@blade0]/tmp: ls -l test
> -rw-r--r-- 1 root None 0 Jul  3 13:15 test
> [root@blade0]/tmp:
>
> [root@blade0]/tmp: grep testuser /etc/passwd
> testuser:unused_by_nt/2000/xp:1002:513:Test
> User,U-BLADE0\testuser,S-1-5-21-1034854827-3221323542-428946914-1002:/usr/home/testuser:/bin/bash
>
> [root@blade0]/: 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.

> [root@blade0]/: ls -l |grep tmp
> drwxrwxrwt+  3 Administrators None   4096 Jul  3 13:22 tmp
>
> All this works fine on XP and 2003 but is there something silly
> I'm missing for 2008?

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?

You could run this under strace and see what Win32 error message
you get.  It could be helpful.


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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

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 correct but this
is appears to be the default as I'm not aware of any changes I've
made in this area

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\Administrator>whoami /all

USER INFORMATION
----------------

User Name            SID
==================== ============================================
blade0\administrator S-1-5-21-1034854827-3221323542-428946914-500


GROUP INFORMATION
-----------------

Group Name                            Type             SID          Attributes
===================================== ================ ============
===============================================================
Everyone                              Well-known group S-1-1-0      Mandatory group, Enabled by default, Enabled group
BUILTIN\Administrators                Alias            S-1-5-32-544 Mandatory group, Enabled by default, Enabled group, Group
owner
BUILTIN\Users                         Alias            S-1-5-32-545 Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\REMOTE INTERACTIVE LOGON Well-known group S-1-5-14     Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\INTERACTIVE              Well-known group S-1-5-4      Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\Authenticated Users      Well-known group S-1-5-11     Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\This Organization        Well-known group S-1-5-15     Mandatory group, Enabled by default, Enabled group
LOCAL                                 Well-known group S-1-2-0      Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\NTLM Authentication      Well-known group S-1-5-64-10  Mandatory group, Enabled by default, Enabled group
Mandatory Label\High Mandatory Level  Unknown SID type S-1-16-12288 Mandatory group, Enabled by default, Enabled group


PRIVILEGES INFORMATION
----------------------

Privilege Name                  Description                               State
=============================== ========================================= ========
SeIncreaseQuotaPrivilege        Adjust memory quotas for a process        Disabled
SeSecurityPrivilege             Manage auditing and security log          Disabled
SeTakeOwnershipPrivilege        Take ownership of files or other objects  Disabled
SeLoadDriverPrivilege           Load and unload device drivers            Disabled
SeSystemProfilePrivilege        Profile system performance                Disabled
SeSystemtimePrivilege           Change the system time                    Disabled
SeProfileSingleProcessPrivilege Profile single process                    Disabled
SeIncreaseBasePriorityPrivilege Increase scheduling priority              Disabled
SeCreatePagefilePrivilege       Create a pagefile                         Disabled
SeBackupPrivilege               Back up files and directories             Disabled
SeRestorePrivilege              Restore files and directories             Disabled
SeShutdownPrivilege             Shut down the system                      Disabled
SeDebugPrivilege                Debug programs                            Disabled
SeSystemEnvironmentPrivilege    Modify firmware environment values        Disabled
SeChangeNotifyPrivilege         Bypass traverse checking                  Enabled
SeRemoteShutdownPrivilege       Force shutdown from a remote system       Disabled
SeUndockPrivilege               Remove computer from docking station      Disabled
SeManageVolumePrivilege         Perform volume maintenance tasks          Disabled
SeImpersonatePrivilege          Impersonate a client after authentication Enabled
SeCreateGlobalPrivilege         Create global objects                     Enabled
SeIncreaseWorkingSetPrivilege   Increase a process working set            Disabled
SeTimeZonePrivilege             Change the time zone                      Disabled
SeCreateSymbolicLinkPrivilege   Create symbolic links                     Disabled

C:\Users\Administrator>



--
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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Steven Hartland
In reply to this post by Corinna Vinschen-2
----- Original Message -----
From: "Corinna Vinschen"
>> [root@blade0]/: 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 worked fine on XP & 2003
for years, so I dont think this is an issue.

>> All this works fine on XP and 2003 but is there something silly
>> I'm missing for 2008?
>
> 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?

Clean 2008 RTM install, very minimal changes.

> 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:-
[log]
  716   22555 [main] chown 2524 seterrno_from_win_error: /ext/build/netrel/src/cygwin-1.5.25-15/winsup/cygwin/sec_helper.cc:422
windows error 1300
  104   22659 [main] chown 2524 geterrno_from_win_error: unknown windows error 1300, setting errno to 13
   95   22754 [main] chown 2524 __set_errno: void seterrno_from_win_error(const char*, int, DWORD):310 val 13
   94   22848 [main] chown 2524 set_privilege: -1 = set_privilege ((token 138) SeRestorePrivilege, 1)
 2513   25361 [main] chown 2524 seterrno_from_win_error: /ext/build/netrel/src/cygwin-1.5.25-15/winsup/cygwin/sec_helper.cc:422
windows error 1300
   93   25454 [main] chown 2524 geterrno_from_win_error: unknown windows error 1300, setting errno to 13
   82   25536 [main] chown 2524 __set_errno: void seterrno_from_win_error(const char*, int, DWORD):310 val 13
  103   25639 [main] chown 2524 set_privilege: -1 = set_privilege ((token 138) SeBackupPrivilege, 1)
  103   25742 [main] chown 2524 set_privilege: 1 = set_privilege ((token 138) SeChangeNotifyPrivilege, 1)
[/log]


Hope this gets through the lists broken spam detection, and helps id the issue.

    Regards
    Steve


--
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/

strace.txt (37K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Christopher Faylor-8
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://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Corinna Vinschen-2
In reply to this post by Steven Hartland
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 info from "whoami /all" indicates that you are correct but this
> is appears to be the default as I'm not aware of any changes I've
> made in this area
>[...]
> SeBackupPrivilege               Back up files and directories            
> Disabled

That doesn't mean what you think it means.  The user token *has* the
backup privilege, it's just disabled.  That's actually the default for
this privilege, it must be enabled explicitely in a process before the
process can make use of this privilege.


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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Steven Hartland
In reply to this post by Christopher Faylor-8

----- 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 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.

    Regards
    Steve


--
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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Corinna Vinschen-2
In reply to this post by Steven Hartland
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:-
> [log]
>  716   22555 [main] chown 2524 seterrno_from_win_error:
> /ext/build/netrel/src/cygwin-1.5.25-15/winsup/cygwin/sec_helper.cc:422
> windows error 1300
>  104   22659 [main] chown 2524 geterrno_from_win_error: unknown windows
> error 1300, setting errno to 13
>   95   22754 [main] chown 2524 __set_errno: void
> seterrno_from_win_error(const char*, int, DWORD):310 val 13
>   94   22848 [main] chown 2524 set_privilege: -1 = set_privilege ((token
> 138) SeRestorePrivilege, 1)
> 2513   25361 [main] chown 2524 seterrno_from_win_error:
> /ext/build/netrel/src/cygwin-1.5.25-15/winsup/cygwin/sec_helper.cc:422
> windows error 1300
>   93   25454 [main] chown 2524 geterrno_from_win_error: unknown windows
> error 1300, setting errno to 13
>   82   25536 [main] chown 2524 __set_errno: void
> seterrno_from_win_error(const char*, int, DWORD):310 val 13
>  103   25639 [main] chown 2524 set_privilege: -1 = set_privilege ((token
> 138) SeBackupPrivilege, 1)
>  103   25742 [main] chown 2524 set_privilege: 1 = set_privilege ((token
> 138) SeChangeNotifyPrivilege, 1)
> [/log]

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 for the backup and restore
rights both fail with ERROR_NOT_ALL_ASSIGNED.  The problem is that
there's no indication why it fails.  Per MSDN this should only happen
if the privilege is not in the token.

Bottom line is, there's nothing Cygwin can do about this.  Did you
look into the security event long?  Maybe there's a hint why this
fails.


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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Christopher Faylor-8
In reply to this post by Steven Hartland
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 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 logs - both because you were sending
email with a disclaimer.  The last one was July 3.

If you think you are being blocked inappropriately, do what the bounce
message tells you and send email to postmaster.  And, if at all possible,
leave out words like "annoying" and "broken".

--
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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

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 logs - both because you were sending
> email with a disclaimer.  The last one was July 3.
>
> If you think you are being blocked inappropriately, do what the bounce
> message tells you and send email to postmaster.  And, if at all possible,
> leave out words like "annoying" and "broken".

That was before I had IT remove it explicitly for cygwin, would you like
me to dig out the spam report?

    Regards
    Steve


--
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/

Reply | Threaded
Open this post in threaded view
|

RE: chmod permission denied on windows 2008

Gary R. Van Sickle
In reply to this post by Christopher Faylor-8
> 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 the appropriate list
please.

--
Gary R. Van Sickle
 


--
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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Christopher Faylor-8
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 Influence People...
>
>Please take such Cygwin-content-free snarking to the appropriate list
>please.

Please stop acting as if you have any say whatsoever in mailing list
administration.  Your understanding of these matters is flawed.

I'm not going to warn you again about this.  I don't want you passing
yourself off as some kind of authority because you will be spreading
your confusion around.

cgf

--
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/

Reply | Threaded
Open this post in threaded view
|

Re: valid messages refused as spam ( was: chmod permission denied on windows 2008 )

Steven Hartland
In reply to this post by Christopher Faylor-8
----- Original Message -----
From: "Christopher Faylor"


> If you think you are being blocked inappropriately, do what the bounce
> message tells you and send email to postmaster.  And, if at all possible,
> leave out words like "annoying" and "broken".

When this happens there is no real "bounce" just our mail server reporting
the message failed to send. I've included a snip from the message as it
may be helpful to diagnose the issues, but is seems like the spam filter
software is simply getting things wrong.

We've had that in the past here due to Bayesian learning and the only
solution was to flush the previous learned data.

[refused]
 Thu 2008-07-03 23:01:32: --> RCPT To:<[hidden email]>
 Thu 2008-07-03 23:01:32: <-- 250 <[hidden email]>, recipient ok
 Thu 2008-07-03 23:01:32: --> DATA
 Thu 2008-07-03 23:01:32: <-- 354 go ahead
 Thu 2008-07-03 23:01:32: Sending <xxxxxxxxxxxxxxxxxx\pd35001664007.msg> to [209.132.176.174]
 Thu 2008-07-03 23:01:33: Transfer Complete
 Thu 2008-07-03 23:02:04: <-- 552 spam score exceeded threshold
 Thu 2008-07-03 23:02:04: --> QUIT
[/refused]

    Regards
    Steve


--
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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Steven Hartland
In reply to this post by Corinna Vinschen-2
----- 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 for the backup and restore
> rights both fail with ERROR_NOT_ALL_ASSIGNED.  The problem is that
> there's no indication why it fails.  Per MSDN this should only happen
> if the privilege is not in the token.
>
> Bottom line is, there's nothing Cygwin can do about this.  Did you
> look into the security event long?  Maybe there's a hint why this
> fails.

You thought that was weird I just logged onto the box to test and look
in the security event log and it just started working. No changes
that I can find have been made, it was even the same cygwin prompt
from the previous tests. If I find out what caused the change I will
report back as I have another identical machine left to install.

Very strange, most appreciate your help on this.

    Regards
    Steve


--
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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

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 for the backup and restore
>> rights both fail with ERROR_NOT_ALL_ASSIGNED.  The problem is that
>> there's no indication why it fails.  Per MSDN this should only happen
>> if the privilege is not in the token.
>>
>> Bottom line is, there's nothing Cygwin can do about this.  Did you
>> look into the security event long?  Maybe there's a hint why this
>> fails.
>
> You thought that was weird I just logged onto the box to test and look
> in the security event log and it just started working. No changes
> that I can find have been made, it was even the same cygwin prompt
> from the previous tests. If I find out what caused the change I will
> report back as I have another identical machine left to install.
>
> Very strange, most appreciate your help on this.
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 actually looks like it
may be a problem with ssh under 2008?

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 be where my problem lies.

    Regards
    Steve
--
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/

prompt.txt (4K) Download Attachment
ssh.txt (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: valid messages refused as spam ( was: chmod permission denied on windows 2008 )

Christopher Faylor-8
In reply to this post by Steven Hartland
On Fri, Jul 04, 2008 at 10:53:18PM +0100, Steven Hartland wrote:
>> If you think you are being blocked inappropriately, do what the bounce
>> message tells you and send email to postmaster.  And, if at all possible,
                                       ^^^^^^^^^
>> leave out words like "annoying" and "broken".
>
> When this happens there is no real "bounce" just our mail server reporting
> the message failed to send. I've included a snip from the message as it
> may be helpful to diagnose the issues, but is seems like the spam filter
> software is simply getting things wrong.

Once again:  mail problems are a subject for postmaster not the cygwin
mailing list.

However, don't bother if the only thing you can provide is that the
mail bounced without providing any more extra data than that.  There
isn't anything tha can be done without the actual message.

cgf

--
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/

Reply | Threaded
Open this post in threaded view
|

Re: valid messages refused as spam ( was: chmod permission denied on windows 2008 )

Christopher Faylor-8
On Fri, Jul 04, 2008 at 06:57:05PM -0400, Christopher Faylor wrote:

>On Fri, Jul 04, 2008 at 10:53:18PM +0100, Steven Hartland wrote:
>>> If you think you are being blocked inappropriately, do what the bounce
>>> message tells you and send email to postmaster.  And, if at all possible,
>                                       ^^^^^^^^^
>>> leave out words like "annoying" and "broken".
>>
>> When this happens there is no real "bounce" just our mail server reporting
>> the message failed to send. I've included a snip from the message as it
>> may be helpful to diagnose the issues, but is seems like the spam filter
>> software is simply getting things wrong.
>
>Once again:  mail problems are a subject for postmaster not the cygwin
>mailing list.
>
>However, don't bother if the only thing you can provide is that the
>mail bounced without providing any more extra data than that.  There
>isn't anything tha can be done without the actual message.

And just to close this particular part of the discussion, it may be
necessary to gzip and attach the package if it is being blocked that
early in the process.

cgf

--
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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Corinna Vinschen-2
In reply to this post by Steven Hartland
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 actually looks like it
> may be a problem with ssh under 2008?
>
> 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 be where my problem lies.

No, it hasn't changed but there might be a problem in the seteuid()
function when running on 2008.  I'll investigate.

When you login through ssh, are you using password or pubkey auth?


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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

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 be where my problem lies.
>
> No, it hasn't changed but there might be a problem in the seteuid()
> function when running on 2008.  I'll investigate.
>
> When you login through ssh, are you using password or pubkey auth?

Pubkey auth, if there's anything I can do to help please let me know.

    Regards
    Steve


--
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/

Reply | Threaded
Open this post in threaded view
|

Re: chmod permission denied on windows 2008

Corinna Vinschen-2
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 this has
>>> changed to support 2008 recently that could be where my problem lies.
>> No, it hasn't changed but there might be a problem in the seteuid()
>> function when running on 2008.  I'll investigate.
>> When you login through ssh, are you using password or pubkey auth?
>
> Pubkey auth, if there's anything I can do to help please let me know.

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
problem seems to be UAC.  Cygwin 1.5.25 is using impersonation tokens
quite heavily.  Due to this problem I dropped all the forced
impersonation token usage from 1.7, so the issue will be fixed in Cygwin
1.7 as far as I can see from my tests.

The only thing you might try is to switch off UAC entirely on that
system and try again.  I'm not sure if that helps since I can't test
this right now.  If you could try and report back?

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


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/

12