tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Problem removing directory in Tru64 4.0F
@ 2000-08-09  3:31 Dang, Vinh Khanh
  0 siblings, 0 replies; only message in thread
From: Dang, Vinh Khanh @ 2000-08-09  3:31 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-09  3:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-09  3:31 Problem removing directory in Tru64 4.0F Dang, Vinh Khanh

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