On Sun, Jul 10, 2005 at 11:59:52AM -0300, Isaque Vieira Magalhães wrote: > James, > > I possess a connective server linux 10, that and based in distro red hat, I > placed in it a folder that I called CMK Ribeirao in exist some sub folders, > after the use wanted to erase the folder, I used the following command: to > rmdir CMK Ribeirao, with this it erased some archives and sub folders,
If what you say above is true, this would be a probably be bug in your kernel. The rmdir(2) system call, which is what the rmdir(1) command is using, should not remove directories. If "rmdir" removed anything except the directory you named on the command line, that would be a bug. If the directory you named on the command line was not empty and rmdir removed it anyway, that would also be a bug. I don't think it's likely that you have a bug in your kernel. Instead I think it is more likely that I have misunderstood what you're trying to say. Sorry. > however some it did not obtain to erase me leaving sub empty folders. He > follows below the way of sub folders. Inside of the folder Scripts MSDE > nothing does not exist, therefore he was extinguished in the first attempt > that I made with rmdir. > > [ [EMAIL PROTECTED] Scripts MSDE ] # pwd > /home/ingresso/Transfer/CMK Ribeirao/PDV/Scripts MSDE > [ [EMAIL PROTECTED] Scripts MSDE ] # ls > ls: C??pia de Cria_Drop_Usu_Sysadm.sql: Archive or directory not found > ls: C??pia de Oficial PDV.sql: Archive or directory not found If the above is a literal cut-and-paste example, you have a very strange problem. However, I would be surprised if it was, since coreutils doesn't contain the error message "Archive or directory not found", and the system C library's message catalogue and the "ls" binary don't either. Perhaps you have missed out a step you thought was obvious, or missed something vital while cutting and pasting, or have tried to be helpful by translating the error message for me. > However if I try to effect the command I receive the following message again > from return: to rmdir: ` CMK Ribeirao/': not empty Directory. rmdir is almost certainly telling you what the problem is. The directory is not empty. Are you sure there are no hidden files there? Read the manual page for "ls" paying attention to the documentation for "-a". > Grateful for the return, You might also find it useful to read the information at http://www.catb.org/~esr/faqs/smart-questions.html. Regards, James. _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
