Date: Tue, 10 Apr 2001 22:30:04 +0200 From: universe <universe@truemetal.org> To: mail@krel.org, freebsd-questions@freebsd.org Subject: Re: cant remove files with "operation not allowed error" Message-ID: <3AD36D4C.8F68A1CE@truemetal.org> References: <20010410161726.A25069@krel.org>
next in thread | previous in thread | raw e-mail | index | archive | help
try "ls -lo" to view the flags of the files to be deleted. if it returns flags like "uunlnk", "sunlnk" or something similar ( see "man chflags") then that might be the problem. example: bash-2.04$ ls -lo wurst.txt -rw-r--r-- 1 universe universe uunlnk 12 Apr 10 22:22 wurst.txt bash-2.04$ rm wurst.txt rm: wurst.txt: Operation not permitted bash-2.04$ chflags nouunlnk wurst.txt bash-2.04$ ls -lo wurst.txt -rw-r--r-- 1 universe universe - 12 Apr 10 22:22 wurst.txt bash-2.04$ rm wurst.txt that's it. see chflags for further commands and flags. hth, markus Ilya wrote: > > Hi, on my laptop i went for current to see if it will help me out with pcmcia, it didnt, so i went back to stable. but now there are several files i cannot delete (some lib files and old kernel modules), rm doesnt work, i can cp them, i can mv them in same partition, but not to a different one. one time i got crosslink error, but i always get "operation not allowed" when i try to remove them. i have run fsck numerouse times and it had found no problems with my drives. any suggestions? > > thx > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AD36D4C.8F68A1CE>