Quoting Keith Gilbertson <[email protected]>: > For what it's worth, I've had somewhat similar problems executing the > scripts in the bin directory after transferring them from a > Windows-based machine to a Unix-like system. > > You might check that the line endings in the file haven't been changed > to DOS-style endings, and if they have, convert them back with a command > such as dos2unix. Not sure this is the same issue but maybe worth > checking into. >
In the case of files crossing the ms-windows/unix platforms, as well as having line ending conventions appropriate to the platform, for unix-like systems, you should check that the execute permissions are set for the script. What I've found when unpacking package.zip files on unix is the unexpected loss of the execute permissions. To show the execute permissions, use stat FILENAME stat /bin/sh stat ./create-administrator Look for x in the 'access' field. To add execute permissions, use man chmod chmod u+x FILENAME > > felipe Melero wrote: > > Yes, I'm running it from dspace/bin directory but no way to get it > > working... > > > > surely is a matter of unix, I'm a chrooted user... > > >8------ snipped Cheerio. -- Van Ly : U. of Sydney Library ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

