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: SUMMARY: Problem removing directory in Tru64 4.0F
Date: Wed, 09 Aug 2000 05:30:28 +0000	[thread overview]
Message-ID: <96579959815010.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks go to Octave Orgeron who gave me the solution to my problem.

According to Octave, the directory was either a mount point for another
filesystem or perhaps a memory filesystem. So as suggested I tried doing a
umount on that directory:

	/> umount /secdir

The size of the directory (as reported from 'ls -al') became 8192bytes, and
the directory behaved as an ordinary directory again.

The strange thing is that before doing a 'umount' on the directory, the
'mount' command didn't report any mounted filesystems at/in that directory.

Regards,
Vinh Dang.



> 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  5:30 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