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

Re: Mac OS X 10.11 (El Capitan) introduces the rootless security model



If sudo can stil write to /usr/local then you can do 
make config PREFIX=/usr/local
sudo make install PREFIX=/usr/local 

But it's unclear to me why a novice user needs to do a make
install -- if novice users should not be running sudo.
>>>>> "Koichi" == Koichi INOUE <inoue@xxxxxxxxxxx> writes:
    Koichi> Hi, I understood. In my opinion, for novice users who
    Koichi> does not realize the place they are writing into,
    Koichi> rootless will be useful feature to avoid the system
    Koichi> messed up. But it may prevent them from using
    Koichi> Emacspeak at all. How about documenting this case at
    Koichi> the place the instruction for OS X resides?
    Koichi> 
    Koichi> Victor Tsaran <vtsaran@xxxxxxxxxxx> writes:
    Koichi> 
    >> As always, I'm mostly concerned about novices and not
    >> power users. I know we have alternatives. :)
    >> 
    >> Sent from a device
    >> 
    >> 
    >>> On Sep 14, 2015, at 6:46 AM, Koichi INOUE
    >>> <inoue@xxxxxxxxxxx> wrote:
    >>> 
    >>> Hi Victor,
    >>> 
    >>> I'm not on El Capitan yet, but I think it is not so big
    >>> concern, because you may be allowed to write in
    >>> /usr/local. /usr/bin/emacs bundled in Current OS X
    >>> Yosemite is 22.1.1, so I always install newest Emacs with
    >>> Homebrew into /usr/local.
    >>> 
    >>> Best regards.
    >>> 
    >>> Victor Tsaran <vtsaran@xxxxxxxxxxx> writes:
    >>> 
    >>>> Hi. The reason I wanted to write about this to the list
    >>>> is because this security model changes access priveleges
    >>>> to certain directories even if you are working with them
    >>>> via sudo. For example, when performing a "sudo make
    >>>> install" as the last step of Emacspeak installation, the
    >>>> "make" will fail when trying to create an emacspeak
    >>>> directory under /usr/share/emacs/site-lisp. There is a
    >>>> way to turn the feature off, as pointed out here,
    >>>> http://apple.stackexchange.com/questions/196224/unix-ln-s-command-not-permitted-in-osx-el-capitan-beta3,
    >>>> but I don't think this will be possible in all user
    >>>> contexts.
    >>>> 
    >>>> Thoughts? Best, Victor
    >>> 
    >>> -----------------------------------------------------------------------------
    >>> To unsubscribe from the emacspeak list or change your
    >>> address on the emacspeak list send mail to
    >>> "emacspeak-request@xxxxxxxxxxx" with a subject of
    >>> "unsubscribe" or "help".
    >>> 
    >> 
    >> -----------------------------------------------------------------------------
    >> To unsubscribe from the emacspeak list or change your
    >> address on the emacspeak list send mail to
    >> "emacspeak-request@xxxxxxxxxxx" with a subject of
    >> "unsubscribe" or "help".
    >> 
    Koichi> 
    Koichi> -----------------------------------------------------------------------------
    Koichi> To unsubscribe from the emacspeak list or change your
    Koichi> address on the emacspeak list send mail to
    Koichi> "emacspeak-request@xxxxxxxxxxx" with a subject of
    Koichi> "unsubscribe" or "help".



|All Past Years |Current Year|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page