| Summary: | Failure during unpack when using userpriv | ||
|---|---|---|---|
| Product: | Portage Development | Reporter: | Douglas Pollock <douglas.pollock> |
| Component: | Unclassified | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Douglas Pollock
2003-03-26 17:43:57 UTC
Ummmmm.... What is /exports? I assume NFS. What are the options on it? Why are your files 600 ? /exports is not NFS. Is it just a regular directory, located separately from /usr. (I hate having to remount /usr as writable just to download some packages. Shouldn't the portage tree (distfiles and all) really be kept in /var?) I didn't notice the 0600 permissions, which did cause the problem. I didn't even think to look at that. (Dumb, I know.) The files were downloaded by a regular user, and then "/bin/mv /home/doug/j2sdk-1_4_1-*.zip ." while sitting in "/exports". The umask has been left alone; it's "0022". The file, when downloaded by Mozilla, is 0600. So, when the move occurs, they keep those permissions. Maybe this is more of a wishlist item: have portage check permissions sanity before switching to userpriv. It could either warn or simply fix them itself. |