Re: Problem Deleting Directory & Files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11Feb2009 08:23, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote:
| On Tue, 2009-02-10 at 21:41 -0700, Kirk wrote:
| > I installed a tarball and then discovered I didn't need it.  I tried to
| > delete the director & files but permission gets denied.  I tried to
| > chmod but it wouldn't work on the files or directory.  I checked the
| > permissions which said I'm not the owner & can't change them.
|
| If you're not the owner then you must have been superuser when you did
| the installation (or you were logged in as a different user). In any
| case, become that user again using 'su' and proceed.

>On several UNIX platforms it's possible to give files away, and a tar
>unpack quite often preserves the ownerships from inside the tar >archive,
>even as non-root. I'm fairly sure I've had this happen to me on Linux,
>and so it's quite possible he wasn't root during the unpack.

There is another possible reason why that directory could not be removed. The 'immutable' bit or the 'undeletable' bit has been set. Use 'chattr -R -i -u <dirname>' and try again.

G.




--
        Please let me know if anything I say offends you.
         I may wish to offend you again in the future.

         Tux says: "Be regular. Eat cron flakes."

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux