chmod permission denied on windows 2008
Steven Hartland
killing@multiplay.co.uk
Thu Jul 3 22:27:00 GMT 2008
----- 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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strace.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080703/46762d67/attachment.txt>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list