Bug 427156

Summary: lots of permission probs from an old home dir on second drive
Product: [Fedora] Fedora Reporter: Jonah <jonahnaylor>
Component: GConfAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-02 15:45:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
output of rpm command i was given none

Description Jonah 2008-01-01 16:01:19 UTC
Description of problem:
Hi I copied my old home dir from ubuntu to a second drive then installed fedora,
then dragged what i needed back. but i always get errors now, it's as if fedora
installed and detected something in the old home dir.

on boot up i get this problem:

Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot
open 'etc/mail/local-host-names': world writeable directory.

i also get two similar errors under that section with /etc/mail/trusted-users.

then when x starts etc, i get this error:

User's $Home/.drmc file is being ignored. This prevents default session. File
should be owned by user and have 644 permissions. User $Home directory should be
owned by user and not writeable by others.

it all seems to be permission probs that started from backing up my old home dir
from ubuntu.

can anyone please help me fix this. thanks.

Comment 1 Ray Strode [halfline] 2008-01-02 15:45:35 UTC
the forums or IRC would be a better place to get help fixing these issues.

chown $(id -un).$(id.gn) ~ -R
chmod 644 ~/.dmrc

(as the user)

find /etc -exec chmod o-w {} \;

(as root)

may fix things somewhat.

rpm -qVa

should give a list of other problems.


Comment 2 Jonah 2008-01-02 22:54:58 UTC
hi thanks for helping me out, i came to bugzilla from desperation as i've tried
many times on irc and no one seems to be able to help me. i figured this was a
kind of bug as all i did was install with an old home dir on another drive, this
shouldn't have conflicted anything really...

i inputted what you said:

[jonah@localhost ~]$ chown $(id -un).$(id.gn) ~ -R
bash: id.gn: command not found

as for the rpm -qVa bit, there are so many things scrolling past that they don't
fit in my terminal history so i can't paste it in...

Comment 3 Ray Strode [halfline] 2008-01-03 15:40:38 UTC
i'm sorry, when I typed id.gn i meant to type id -gn

you can redirect the output of rpm -qVa to a file with >, for example,

rpm -qVa > verify.log

Comment 4 Jonah 2008-01-03 16:30:32 UTC
Created attachment 290740 [details]
output of rpm command i was given

hi here is the log file you needed.