Re: getting rid of "mount: only root can ..."

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

 



> From: Karel Zak <kzak@xxxxxxxxxx>

> I'll try to improve it to make it more usable with user namespaces.
> The problem is that mount(8) is not just about mount(2) call only. If
> we drop privileges then mount(8) will report problems with things like
> FS detection, loopdevs setups, etc. It's necessary to review the code
> and make errors/warnings somehow usable. ... added to my TODO for the
> next week ;-)

Yeah, that's the only thing that will work well:  Have mount(8) and
the kernel both know what the rules are and enforce them
consistently.  And ideally, mount(8) should tell the user exactly what
the rule is that's being violated.

Dale
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux