On Fri, Sep 16, 2011 at 05:52:43PM +0000, Ken Jones wrote:
As /dev/hdb2 it has 777 privileges.
[root@pacman dev]# ls -la /dev/hdb2 brwxrwxrwx 1 root disk 3, 66 Sep 15 18:26 /dev/hdb2 <===
It is a very bad idea and not necessary at all for the device node to have world-writable permissions. Keep it at 600 or 660 (whatever your other disk devices have).
drwxrwxrwx 3 root root 4096 Sep 15 21:25 HDB2 <=== ------------------ But I can not make a ordinary directory on it. What am I not doing?
It says riht here:
[root@pacman mnt]# mkdir -m 777 /mnt/HDB2/PICTURES mkdir: cannot create directory `/mnt/HDB2/PICTURES': Read-only file system
The filesystem is mounted read-only. If you didn't mount it yourself read-only, the kernel could have changed it to read-only as a precautionary measure if errors were encountered on the filesystem. I suggest you unmount it and check for errors. Check for kernel errors on the device: dmesg|grep hdb Check the filesystem for errors: umount /dev/hdb2 fsck -f /dev/hdb2 If all is well, re-mounting it read-write: mount -o rw /dev/hdb2