Thanks, Bruce. I'll consider your suggestion, but I'm not sure this is something I have control over. It's an OS specific thing and I'm not sure Java gives me that type of control, unless there's something I'm missing.
--Rob --- "B. Whittaker" <[EMAIL PROTECTED]> wrote: > Hi Robert, > > thanks for that. I really appreciate the quick response. > > Basically a big part of my issue was that I installed sourcejammer as root > and all of the files had owner write permissions only - so nobody else had > access. > > Can I recommend a change to the installation instructions ? This may need > code mods as well. If a SourceJammer user had been created with the > SourceJammer group and this was used for installation. Then server could > execute using the SourceJammer ID (suid if needed) and there would be no > issue. > > If you think my recommendation is way off track then just ignore it - it's > definitely not a criticism. > > By the way, I love the product and appreciate the work you are putting in on > it. > > Keep up the good work, > > > Bruce Whittaker. > ----- Original Message ----- > From: "Robert MacGrogan" <[EMAIL PROTECTED]> > To: "B. Whittaker" <[EMAIL PROTECTED]>; > <sourcejammer-users@lists.sourceforge.net> > Sent: Saturday, April 23, 2005 1:12 AM > Subject: Re: [SourceJammer-users] Unable to create XML file when adding a > file. > > > > The only directory SJ should have to write to is the sourcejammer/server > directory. I really don't > > think there's anywhere else it needs access to. It's possible that there > might be something > > somewhere that tries to write to the WEB-INF/conf directory, but I don't > think I'm doing that > > anymore. > > > > You might want to make double sure that the server directory SJ is using > is the one you think it > > is. Take a look at the serverconf.xml file in WEB-INF/conf. You should see > an entry for > > <ServerDirectory> and also maybe <DefaultArchiveRoot> and maybe even > <FileSysDirectory>. These > > will be the directories that SJ needs write access to. > > > > --Rob > > > > > > --- "B. Whittaker" <[EMAIL PROTECTED]> wrote: > > > OS : Fedora 3. > > > > > > I'm new to sourcejammer and I've just set up my first archive - all good > if I do it as admin. > > > However, if I attempt add a file/folder then I keep getting an error > indicating that it is > > > unable to access or save an XML file because a "File or directory is > read-only". > > > > > > I've ensured that the /usr/local/sourcejammer/server directory and below > in are owned by root > > > with the group being sourcejammer. The files are group writeable and the > user is in the > > > sourcejammer group. > > > > > > I'm unsure where the XML file resides or what I have to do to provide > access to all. At the > > > moment only admin can do everything it wants to. > > > > > > Help ?? > > > > > > Bruce. > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ SourceJammer-users mailing list SourceJammer-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sourcejammer-users