You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built Rust from source, and installed it on a Free Software distro (Trisquel 6.0) based off of Ubuntu 12.04. When I installed it I ran into errors compiling a simple hello world test program. The compiler said it could not find the core library. Upon investigation, I found that the installer had not properly set the permissions of the core library folders. I needed to manually set the permissions away from only allowing root to access the libraries to allowing everyone to access the libraries. In code:
Edit: Later today I tried reinstalling with git master (last time I had used the 0.6 release version), and realized that I had accidentally omitted one of the libraries with the incorrect permissions. I had also had to have done:
chmod g+rx,o+rx /usr/local/lib/rustc
The text was updated successfully, but these errors were encountered:
I feel kind of silly. The reason why I was getting this problem is because I set my umask to be nonpermissive by default. Because my umask was nonpermissive when I sudoed into root to install Rust my umask was orred with roots, and so Rust was installed with nonpermissive permissions (meaning I couldn't read from them as a normal user.) The problem was on my side, and I fixed it by changeing the sudo configuration to be more permissive by default.
I was hit by the same issue. Note that despite 007 as umask sudo make install still managed to set proper permissions for most of the files as its use install and similar commands. I suspect the problem comes with explicit mkdir that has not set the permissions.
I built Rust from source, and installed it on a Free Software distro (Trisquel 6.0) based off of Ubuntu 12.04. When I installed it I ran into errors compiling a simple hello world test program. The compiler said it could not find the core library. Upon investigation, I found that the installer had not properly set the permissions of the core library folders. I needed to manually set the permissions away from only allowing root to access the libraries to allowing everyone to access the libraries. In code:
The commands to build were:
Edit: Later today I tried reinstalling with git master (last time I had used the 0.6 release version), and realized that I had accidentally omitted one of the libraries with the incorrect permissions. I had also had to have done:
The text was updated successfully, but these errors were encountered: