On Tue, 24 Sep 2002 16:18:08 +0100, John Richard Smith <[EMAIL PROTECTED]> wrote: > Sridhar Dhanapalan wrote, > > > > > > > > >Yes. By default, it changes all filenames to lower case. So > > > > # chcase * > > > >will probably do what you want. > > > > > > > >> > >> > > > > > Many thanks Sridhar, > Can I run my results past you again. > I copied the perl text to a text file called chcase and inserted it > in /usr/local/bin, as follows, > > root]# cd /usr/local/bin > bin]# ls > chcase divxPlayer* fsgrab* lexmarkz53@ mplayer* > compupic@ divxPlayer.bin* gmplayer@ lxsetconf@ > cvs_mplayer* e2recover* gxset* mencoder* > > bin]# cd > root]# chmod 755 chcase > chmod: failed to get attributes of `chcase': No such file or directory > I do not understand ? what attributes ?
That's strange. Are you still in the directory that contains the chcase file? > root]# # chmod 755 chcase The # signifies a root prompt. You are not meant to type it. If you do, it will ignore the command. > root]# > It didn't seem to mind this.so, > > root]# cd /root/Desktop/mont > > mont]# ls > DSCI0001.JPG DSCI0004.JPG DSCI0007.JPG DSCI0010.JPG DSCI0013.JPG > DSCI0002.JPG DSCI0005.JPG DSCI0008.JPG DSCI0011.JPG DSCI0014.JPG > DSCI0003.JPG DSCI0006.JPG DSCI0009.JPG DSCI0012.JPG > All present and correct. > > mont]# chcase > bash: /usr/local/bin/chcase: Permission denied > So I went to directory mont and gave all the permissions,but, > > mont]# chcase > bash: /usr/local/bin/chcase: Permission denied > still permission denied > > I guess it is something to do with the way the first, chmod 755 chcase > was rejected, while,# chmod 755 chcase was accepted , could this be > correct do you think.Note the inclusion of the # > Any further ideas ? Make sure chcase is owned by root: # chown root:root /usr/local/bin/chcase Then check its permissions: # ls -la /usr/local/bin/chcase Leave the # out when typing these (as I have explained above). You should get something like: -rwxr-xr-x 1 root root 3921 Sep 25 2002 /usr/local/bin/chcase* Make sure the permissions are "-rwxr-xr-x" (as above), and that the owner and group are root. -- Sridhar Dhanapalan "I was never a "big thinker". One of my philosophies in Linux has always been to not worry about the future too much, but make sure that we make the best of what we have now - together with keeping our options open for the future and not digging us into a hole." -- Linus Torvalds
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com