I've been shifting files around my drives a lot during the last 2 days (just got rid of windows and around 600gb of NTFS), and all of a sudden, one of my partitions went haywire - but only for the regular user, root seems to be able to access the partition as normal.
ls illustrates the problem effectively I think
Code:
fileinator:/home/gc/azureus# ls -l /mnt/data1
total 3548
drwxr-xr-x 2 gc gc 107 2006-10-03 22:20 azsmrc
drwxr-xr-x 28 gc gc 4096 2006-03-12 14:50 Bootlegs!
-rwxr-xr-x 1 gc gc 3616838 2006-09-30 11:14 IMG_9058.JPG
drwxr-xr-x 2 root root 6 2006-10-04 21:42 lost+found
dr-xr-xr-x 34 gc gc 4096 2006-09-30 05:03 !movies
drwxr-xr-x 3 gc gc 24 2006-10-03 19:10 !tv
drwxr-xr-x 11 gc gc 4096 2006-10-03 17:44 windows.c
drwxr-xr-x 9 gc gc 142 2006-10-03 18:22 windows.d
fileinator:/home/gc/azureus# exit
exit
gc@fileinator:~/azureus$ lsl /mnt/data1
total 0
?--------- ? ? ? ? ? /mnt/data1/azsmrc
?--------- ? ? ? ? ? /mnt/data1/Bootlegs!
?--------- ? ? ? ? ? /mnt/data1/IMG_9058.JPG
?--------- ? ? ? ? ? /mnt/data1/lost+found
?--------- ? ? ? ? ? /mnt/data1/!movies
?--------- ? ? ? ? ? /mnt/data1/!tv
?--------- ? ? ? ? ? /mnt/data1/windows.c
?--------- ? ? ? ? ? /mnt/data1/windows.d
I think I'm dealing with the problem as I post this (I'm copying the 92gigs on data1, as root, to another partition and then I'm just going to reformat the partition). it seems to be working (it's going to take a while to copy, but mc is plugging away).
What I want to know is how did I do this? I think it was probably a bungled chmod/grp/own operation, or rather args meant for say, chmod, being used for chgrp due to careless use of the bash history. If that was it though, I don't understand why it totally borked the filesystem for user, but didn't appear to affect root at all.
this is an xfs filesystem btw.
even just a link to info on what this is would be muchly appreciated