Closed Bug 336871 Opened 20 years ago Closed 20 years ago

[l10n] Incorrect permission for nib directory for many languages (e.g. German, sv, etc.)

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: segfault_de, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.3) Gecko/20060427 Camino/1.0.1 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.3) Gecko/20060427 Camino/1.0.1 Problem exists in Multilingual version (don't know about English only version). No "group" and "other" read and execute directory permissions for nib packages of many (but not all) languages, i.e. under /Applications/Camino.app/Contents/Resources/*.lproj, which causes application launch to fail for non-admin users (with no visual error message). Workaround is to login as admin (or su to admin user) then in terminal type command: sudo chmod go+rx /Applications/Camino.app/Contents/Resources/*.lproj/*.nib Reproducible: Always
> which causes application launch to fail for non-admin users (with no visual > error message). Clarification: causes application launch to fail for non-admin users with language preference in System Preferences set to non-english (e.g. German).
Occurs in Camino Version 2006042704 (1.0.1int).
Ludo, Marcello, can you look into this?
Flags: camino1.0.2?
Summary: Incorrect permission for nib directory for many languages (e.g. German, sv, etc.) → [l10n] Incorrect permission for nib directory for many languages (e.g. German, sv, etc.)
(In reply to comment #3) > Ludo, Marcello, can you look into this? > Sure we could force the owners bits and stuff at build time. Marcello is it okay to touch cvs files now ?
ok, Ludovic, commit any time you want
Checking in buildint.sh; /cvs/caminol10n/src/scripts/buildint.sh,v <-- buildint.sh new revision: 1.8; previous revision: 1.7 done Processing log script arguments... Marcello, you'll need to sudo when you launch the script from now on.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Flags: camino1.0.2? → camino1.0.2+
*** Bug 337657 has been marked as a duplicate of this bug. ***
Isn't the solution of this bug limited to main resources, leaving out PrefPanes, MacOS resources and PlugIns? I'm not a find-ace, but can anyone check if this might be more correct? find Camino.app/ -name "*.nib" -type d -not \( -perm -a=rx \) -exec chmod go+rx {} \; Please reopen if you agree with the first sentence of this comment.
Since the problem may involve also *.lproj directories, I omit the "nib" part of the recipe and make the code more compact (thanks mento): find Camino.app/ -type d \! -perm +4 -exec chmod go+rx {} \; Checking in to the caminol10n CVS => Ludo
(In reply to comment #9) > Since the problem may involve also *.lproj directories, I omit the "nib" part > of the recipe and make the code more compact (thanks mento): > > find Camino.app/ -type d \! -perm +4 -exec chmod go+rx {} \; > > Checking in to the caminol10n CVS => Ludo Will do this week-end. What I don't get is why my chmod -R doesn't do it.
You need to log in before you can comment on or make changes to this bug.