[Info-vax] How to delete directory someone created in my directory

Richard B. Gilbert rgilbert88 at comcast.net
Fri Mar 6 14:03:29 EST 2009


Christopher Lusardi wrote:
> (1) Some one created a directory in my directory and I can not delete
> it. I also cannot change the protections of the directory. How do I
> delete it.

Ask your System Manager to change the protections for you.  Or just ask 
him to delete the directory for you!

There may have been an error when your account and directory were 
created.  Normally you should own your directory and the protections on 
your directory should prevent others from creating files in it.

> 
> (2) How do I delete a non-empty directory.
> 
> Thank you,
> Chris

$ SET DEFAULT [DIR-TO-BE-DELETED]
$ DELETE *.*;*

Do a DIR to see what's left and delete it.  Once the directory is empty, 
you can delete it.

If you don't want to delete the files, either don't delete the directory 
or move the files you want to keep.





More information about the Info-vax mailing list