[comp.unix.questions] Remove a 4000 directory

apollo@ee.ualberta.ca (Apollo Wong) (03/07/91)

Is there a way to remove a directory that has a attribute 4000?

Thanks in advance.

Apollo Wong

apollo@ee.ualberta.ca

jik@athena.mit.edu (Jonathan I. Kamens) (03/07/91)

In article <1991Mar6.183154.11099@ee.ualberta.ca>, apollo@ee.ualberta.ca (Apollo Wong) writes:
|> Is there a way to remove a directory that has a attribute 4000?

% mkdir test
% chmod 4000 test
% /bin/rmdir test
% ls test
test not found (No such file or directory)
%

Seems to work for me.

  Could you be more specific?  What kind of machine are you using?  What
operating system is it running, and what version?  What does "ls -l" on the
directory in question show up, and do you own it?  What error message do you
get when you try to remove it?  Are you using rmdir, or some other command, to
remove it?  Is it empty?

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710