Hello everyone,
I have a directory (/secdir) in the / of my system that appears to be
read-only in the sense that I can't copy anything into it, modify it's
permissions, or even delete it. The root file-system is mounted as
read-write, and I am logged in as root.
The output of 'ls -alF' gives:
dr-xr-xr-x 1 root system 512 Aug 4 10:28 secdir/
Notice how the size of the directory is only 512 bytes. Directories normally
have a size of 8192 bytes.
When I try to change the directory's permissions, I get the following
message:
/> chmod 755 secdir
chmod: secdir: Read-only filesystem
When I try to delete the directory, I get the following message:
/> rmdir secdir
rmdir: secdir: Read-only filesystem
I can't change the ACL of the directory either.
/> getacl secdir
#
# file: secdir
# owner: root
# group: system
user::r-x
group::r-x
other::r-x
/> setacl -u user::rwx,group::r-x,other::r-x secdir
setacl: secdir: can't set acl: Read-only filesystem
I'm sure that the / filesystem is mounted read-write as reported from the
'mount' command, and the fact that I can modify other files/directories in
the / fs. Just to be sure I executed the command:
/> mount -u /
which remounts the / fs as rw. However this still does help.
Does anyone have any idea how to remove this directory or modify it's
permissions?
Thanks in advance.
Regards,
Vinh Dang.
vinh.khanh_at_dsto.defence.gov.au
Received on Wed Aug 09 2000 - 03:40:33 NZST