diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 5b4db9745..f18538ec0 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,9 @@ +2006-08-25 Joshua Daniel Franklin + + * faq-setup.xml (faq.setup.uninstall): Mention Safe Mode + requirement for accessing the Security tab in XP Home. + * faq-using.xml (faq.using.chmod): Mention FAT32. + 2006-08-09 Christopher Faylor * overview2.sgml: Remove inaccurate "full support for windows diff --git a/winsup/doc/faq-setup.xml b/winsup/doc/faq-setup.xml index c64cc4ce4..5de59bb91 100644 --- a/winsup/doc/faq-setup.xml +++ b/winsup/doc/faq-setup.xml @@ -374,27 +374,33 @@ the action reads ``Uninstall''. Proceed by clicking ``Next''. How do I uninstall a Cygwin service? -If you don't know the name of the service, you can list all -services you have installed with cygrunsrv -L. Before -removing the service, you should stop it with + +List all services you have installed with +cygrunsrv -L. If you do not have +cygrunsrv installed, skip this FAQ. + +Before removing the service, you should stop it with cygrunsrv --stop service_name. If you have inetd configured to run as a standalone -service, it will not show up in the list, but cygrunsrv --stop inetd -will work to stop it as well. Lastly, remove the service with +service, it will not show up in the list, but +cygrunsrv --stop inetd will work to stop it as +well. + +Lastly, remove the service with cygrunsrv --remove service_name. - + + How do I uninstall all of Cygwin? - Setup has no automatic uninstall facility. The recommended method to remove all of Cygwin is as follows: -First remove all Cygwin services by repeating the instructions -in If you have any Cygwin services running, remove by repeating +the instructions in for all services that you installed. Common services that might have been installed are sshd, cron, @@ -420,12 +426,14 @@ services end up owned by the SYSTEM account and not writable by regular users. The quickest way to delete the entire tree if you run into this problem is to change the ownership of all files and folders to your account. To do this in Windows Explorer, right click on the root Cygwin folder, choose Properties, then -the Security tab. Select Advanced, then go to the Owner tab and make sure your -account is listed as the owner. Select the 'Replace owner on subcontainers and -objects' checkbox and press Ok. After Explorer applies the changes you should -be able to delete the entire tree in one operation. Note that you can also -achieve this in Cygwin by typing chown -R user / or by using other tools -such as CACLS.EXE. +the Security tab. If you are using Windows XP Home or Simple File Sharing, +you will need to boot into Safe Mode to access the Security tab. Select +Advanced, then go to the Owner tab and make sure your account is listed as +the owner. Select the 'Replace owner on subcontainers and objects' checkbox +and press Ok. After Explorer applies the changes you should be able to +delete the entire tree in one operation. Note that you can also achieve +this in Cygwin by typing chown -R user / or by using other +tools such as CACLS.EXE. Delete the Cygwin shortcuts on the Desktop and Start Menu, and anything diff --git a/winsup/doc/faq-using.xml b/winsup/doc/faq-using.xml index 8c1835645..504a3e763 100644 --- a/winsup/doc/faq-using.xml +++ b/winsup/doc/faq-using.xml @@ -279,7 +279,7 @@ must create the whatis database. Just run the command -Why doesn't chmod work? +Why doesn't chmod work? The most common case is that your /etc/passwd @@ -288,6 +288,10 @@ or /etc/group files are not properly set up. If or mkgroup, you need to run one or both of those commands. +If you're using FAT32 instead of NTFS, chmod +will fail since FAT32 does not provide any security. You might consider +converting the drive to NTFS with CONVERT.EXE. + 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 @@ -398,7 +402,6 @@ lines to your ~/.inputrc file and restart bash These are options to the readline library, which you can read