[core-dev] Re: CVS update: MODIFIED: gnutella ...

Jens-Uwe Mager <[email protected]> Thu, 3 Feb 2005 21:22:07 +0100
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>
On Thu, Feb 03, 2005 at 14:35 -0500, [email protected] wrote:

>   User: sberlin 
>   Date: 05/02/03 14:35:27
> 
>   Modified:    com/limegroup/gnutella FileManager.java
>   Log:
>   NetworkShare -> .NetworkSHare
>   
>   Revision  Changes    Path
>   1.154     +1 -1      core/com/limegroup/gnutella/FileManager.java
>   
>   (In the diff below, changes in quantity of whitespace are not shown.)
>   
>   Index: FileManager.java
>   ===================================================================
>   RCS file: /cvs/core/com/limegroup/gnutella/FileManager.java,v
>   retrieving revision 1.153
>   retrieving revision 1.154
>   diff -u -b -r1.153 -r1.154
>   --- FileManager.java	3 Feb 2005 18:34:19 -0000	1.153
>   +++ FileManager.java	3 Feb 2005 19:35:27 -0000	1.154
>   @@ -48,7 +48,7 @@
>        public static final File SUBDIR_SHARE;
>        
>        static {
>   -        File forceShare = new File(".", "NetworkShare").getAbsoluteFile();
>   +        File forceShare = new File(".", ".NetworkShare").getAbsoluteFile();
>            try {

I do not think it is a good idea to attempt to write to the installation
directory. For example on my machine (under OS X), the application
bundle is owned by root and not writeable by the normal account I am
logged in under. The same problem would happen under Windows XP if the
admin installed LimeWire and any normal non-admin user attempts to use
it.

-- 
Jens-Uwe Mager	<pgp-mailto:F476EBC2>
_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev