[linux-lvm] Re: Directory becomes sticky socket?

Nathan E Norman nnorman at micromuse.com
Mon Feb 4 12:06:01 UTC 2002


On Mon, Feb 04, 2002 at 09:44:10AM -0600, Chad C. Walstrom wrote:
> [Note: Please include me in the Cc: of your reply, for expediency's sake.]
> 
> I'm not sure how this came about, but I cannot remove the directory
> /usr/share/doc/libldap2.   
> 
>     [09:36:47] chewie at skuld (505)$ ls -lad libldap2 
>     s-w--w---T  16806 236536206 1076048101 1084824775 Oct  1  2004 libldap2=
>     [09:36:52] chewie at skuld (506)$ file libldap2
>     libldap2: sticky socket
>     [09:36:58] chewie at skuld (507)$ sudo rm -rf /usr/share/doc/libldap2
>     rm: cannot unlink `/usr/share/doc/libldap2': Operation not permitted
> 
> System: Debian unstable (Sid)
> Kernel: 2.4.17-k7
> Filesystem: ext3 on an LVM logical volume (no extra patches to the
> kernel, vanilla 2.4.17).
> 
> I've tried removing it while root as well with no success.  I've tried
> using fsck.{ext2,ext3} with no avail.  I relize that I'm going to have
> to do something fairly low-level to the FS to recover this problem.  Any
> pointers or suggestions you may have would be quite welcome.

# chattr -i /usr/share/doc/libldap2
# rm -r /usr/share/doc/libldap2

If the dir /usr/share/doc/libldap2 contains more borked files, provide
a "-R" to chattr.

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman at micromuse.com   |   -- Patton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20020204/d45d4794/attachment.sig>


More information about the linux-lvm mailing list