diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 938550514..6393ac311 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,10 @@ +2006-04-04 Joshua Daniel Franklin + + * faq-programming.xml (faq.programming.adjusting-heap): + Clarify argument parameter sizes. + * faq-using.xml (faq.using.chmod): + Improve chmod FAQ. + 2006-03-18 Christopher Faylor * cygwinenv.sgml: Rename fork_retry to proc_retry since it has turned diff --git a/winsup/doc/faq-programming.xml b/winsup/doc/faq-programming.xml index 04c1f5185..19f847fe8 100644 --- a/winsup/doc/faq-programming.xml +++ b/winsup/doc/faq-programming.xml @@ -516,10 +516,10 @@ incompatibilities. Please send us patches if you do this work! If you need to change the maximum amount of memory available to Cygwin, see http://cygwin.com/cygwin-ug-net/setup-maxmem.html. Otherwise, just pass heap/stack linker arguments to gcc. To create foo.exe with -a heap size of 1024 and a stack size of 4096, you would invoke +a heap size of 200MB and a stack size of 8MB, you would invoke gcc as: -gcc -Wl,--heap,1024,--stack,4096 -o foo foo.c +gcc -Wl,--heap,200000000,--stack,8000000 -o foo foo.c diff --git a/winsup/doc/faq-using.xml b/winsup/doc/faq-using.xml index 39a1ac1c3..8c1835645 100644 --- a/winsup/doc/faq-using.xml +++ b/winsup/doc/faq-using.xml @@ -282,24 +282,17 @@ must create the whatis database. Just run the command Why doesn't chmod work? -ntsec will allow UNIX permissions in Windows NT on NTFS file -systems. This is on by default (a recent change). +The most common case is that your /etc/passwd +or /etc/group files are not properly set up. If +ls -l shows a group of mkpasswd +or mkgroup, you need to run one or both of those +commands. -ntea works on NTFS and FAT but it creates a huge, -undeletable file on FAT filesystems. - -(The ntsec and ntea settings are values for the -CYGWIN environment variable. See the Cygwin User's Guide at -http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html for more -information on this variable and its settings.) - -There is no solution at all for Windows 9x. - -If you have an application that requires a certain permission mode on a -file, you may be able to work around this requirement by modifying the -application's source code. For a hint, based on work done by Corinna -Vinschen for OpenSSH, see this message from the cygwin mailing list: -http://cygwin.com/ml/cygwin/2000-11/msg01176.html. +For other cases, understand that Cygwin attempts to show UNIX +permissions based on the security features of Windows, so the Windows +ACLs are likely the source of your problem. See the Cygwin User's +Guide at +for more information on how Cygwin maps Windows permissions.