|
Bugzilla – Full Text Bug Listing |
| Summary: | Insecure permissions in homedirs | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Stefan Nordhausen <nordhaus> |
| Component: | Security | Assignee: | Petr Mladek <pmladek> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | mmeeks, pmladek, security-team |
| Version: | Beta 2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Stefan Nordhausen
2005-08-20 14:08:51 UTC
Since Desktop is 700 it makes sense to have Documents 700 as well => aaa_skel -> ro I suppose ooo-2.0-pre is the equivalent of Documents inside OOo => OpenOffice_org -> pmladek I don't know where .recently-used comes from but mine is 600 alreay. Wrt to umask setting, we have already filed a feature request for yast. The default 022 is just fine for the majority of installations though. On my system, .recently-used magically switched to mode 600 as well. I deleted it, started OpenOffice and safed an empty document -> the file existed again and had access mode 644. Wherever it comes from, OO has something to do with it. I think that it is a good idea to create ~./ooo-2.0-pre with 700 access rights. I could change it this way. Michael, do you see any problems with it? OOo uses the .recently-used directory but I think that it is used by more applications. Michael, you worked at this feature for OOo. Do you know anything about it? Well not -much- document wise is stored in ~/.ooo-2.0-pre - although AFAIR the auto-save functionality may be doing that now. So - yes, we prolly do need to clobber that. However - arguably this is a umask problem - why are we allowing just anyone to read all the data in our account ? surely that's a madness - just discovered all my files are unprotected ... [ is this a decision from the same security team that thinks encouraging every desktop user to completely disable the firewall (due to it blocking *outgoing* broadcast packets - killing N/W browse) increases security ? ;-]. skel/Documents to 700 : done. I have added a hack into the ooo-wrapper, so it creates ~/ooo-2.0-pre with permissions 700. I tried to hack it in the OOo code but it was not easy. Yes, there was a code that checked this directory and created it. But in fact, the directory was created somewhile sooner when another code tries to write ~/.ooo-2.0-pre/user/registry/cache. So, I rather created the directory with secure permissions already in the wrapper. Also, I have added a hack for the file ~/.recently-used into the wrapper. If the file does not exist, the wrapper touches it with permissions 600. It seems to work well. The fix should be available on 10.0-beta4. This was the latest problem in this bug, so I'll close it as FIXED. |