Skip to content

cmake: "make install" tries to set permissions on target directories #4872

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 4500
Resolution FIXED
Resolved on Feb 10, 2014 05:00
Version unspecified
OS Linux
Blocks llvm/llvm-bugzilla-archive#15732
Reporter LLVM Bugzilla Contributor
CC @bradking,@chandlerc,@DougGregor

Extended Description

For me "make install" when using cmake fails with:

Install the project...
-- Install configuration: ""
-- Installing: /usr/local/./include
CMake Error at cmake_install.cmake:36 (FILE):
file Problem setting permissions on directory "/usr/local/./include"

Indeed I don't have permission to change permissions on /usr/local/./include.
And why would I need to? There's no problem installing files inside that
directory, and setting their permissions. I think the fact that cmake is
trying to set permissions on /usr/local/include is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions