Re: Wrong security attributes. Maybe a bug?

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

 



"Joshua C." <joshuacov@xxxxxxxxxxxxxx> writes:
> Recently I saw that I can modify/delete any file in my home directory.
> Even if it is owned by root and is set as 444. If I'm the owner of the
> directory these files are in, I can do whatever I want with them
> regardless of their owner and attributes.

You can delete or rename anything in a directory you have write
permissions on --- this is not actually affecting the file contents,
only the directory's link.  (This has been standard Unix behavior since
the dawn of time or thereabouts.  For justification consider the
possibility that your directory entry is only one of several hardlinks
to the file.)  If you can modify the file *contents* then it would be
interesting.

			regards, tom lane

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux