diff options
author | Joshua Daniel Franklin <joshuadfranklin@yahoo.com> | 2006-04-05 04:09:55 +0000 |
---|---|---|
committer | Joshua Daniel Franklin <joshuadfranklin@yahoo.com> | 2006-04-05 04:09:55 +0000 |
commit | 6804a9d4e181424d1c5cb6605491797111151663 (patch) | |
tree | ad9f905961f9b5aa8c6967c589e772d62e87c812 | |
parent | 8ca521afe95550d903b4fe2cfbb170d6791b47d6 (diff) | |
download | cygnal-6804a9d4e181424d1c5cb6605491797111151663.tar.gz cygnal-6804a9d4e181424d1c5cb6605491797111151663.tar.bz2 cygnal-6804a9d4e181424d1c5cb6605491797111151663.zip |
faq.using.chmod faq.programming.adjusting-heap
-rw-r--r-- | winsup/doc/ChangeLog | 7 | ||||
-rw-r--r-- | winsup/doc/faq-programming.xml | 4 | ||||
-rw-r--r-- | winsup/doc/faq-using.xml | 29 |
3 files changed, 20 insertions, 20 deletions
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 <joshuadfranklin@yahoo.com> + + * 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 <cgf@timesys.com> * 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! <para>If you need to change the maximum amount of memory available to Cygwin, see <ulink url="http://cygwin.com/cygwin-ug-net/setup-maxmem.html">http://cygwin.com/cygwin-ug-net/setup-maxmem.html</ulink>. 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: </para> -<para><literal>gcc -Wl,--heap,1024,--stack,4096 -o foo foo.c</literal> +<para><literal>gcc -Wl,--heap,200000000,--stack,8000000 -o foo foo.c</literal> </para> </answer></qandaentry> 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 <question><para>Why doesn't chmod work?</para></question> <answer> -<para><literal>ntsec</literal> will allow UNIX permissions in Windows NT on NTFS file -systems. This is on by default (a recent change). -</para> -<para><literal>ntea</literal> works on NTFS <emphasis>and</emphasis> FAT but it creates a huge, -<emphasis role='bold'>undeletable</emphasis> file on FAT filesystems. -</para> -<para>(The <literal>ntsec</literal> and <literal>ntea</literal> settings are values for the -<literal>CYGWIN</literal> environment variable. See the Cygwin User's Guide at -<ulink url="http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html">http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html</ulink> for more -information on this variable and its settings.) -</para> -<para>There is no solution at all for Windows 9x. -</para> -<para>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: -<ulink url="http://cygwin.com/ml/cygwin/2000-11/msg01176.html">http://cygwin.com/ml/cygwin/2000-11/msg01176.html</ulink>. +<para>The most common case is that your <literal>/etc/passwd</literal> +or <literal>/etc/group</literal> files are not properly set up. If +<literal>ls -l</literal> shows a group of <literal>mkpasswd</literal> +or <literal>mkgroup</literal>, you need to run one or both of those +commands. +</para> +<para>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 <ulink url="http://cygwin.com/cygwin-ug-net/ntsec.html" /> +for more information on how Cygwin maps Windows permissions. </para> </answer></qandaentry> |