tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Dang, Vinh Khanh" <Vinh.Khanh () dsto ! defence ! gov ! au>
To: tru64-unix-managers
Subject: Problem removing directory in Tru64 4.0F
Date: Wed, 09 Aug 2000 03:31:44 +0000	[thread overview]
Message-ID: <96579233207684.tru64-unix-managers.marc@archive.invalid> (raw)

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@dsto.defence.gov.au

                 reply	other threads:[~2000-08-09  3:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox