Find the answer to your Linux question:
Results 1 to 6 of 6
Hi. I can't change my /home directory's ownership to the user. It is set to root only, and when ever I try, it says " Operation Not Permitted". I need ...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5

    Ownership problem

    Hi. I can't change my /home directory's ownership to the user. It is set to root only, and when ever I try, it says " Operation Not Permitted". I need som ehelp with this. I can't login as the user because it can't make the log file in the /home directory.

  2. #2
    Just Joined!
    Join Date
    Sep 2005
    Posts
    5
    Hi Thomas Webb,

    Are u Logged with root privilage ....If u still getting an error check the attributes of the files(lsattr)
    Regds,
    Britto

  3. #3
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Try,
    Code:
    su -
    <root's password>
    chown -R username /home/username
    exit
    where "username" is the name of the user you want to change.

    I'm actually quite surprised that the user's home directory is owned by root and not the user. Are you sure this is right??
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  4. #4
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5
    yes I am logged in as root, That is the part I don't get. when I type chown thomas:thomas /home/thomas it says "chown: changing ownership of `/home/thomas': Operation not permitted" . I tried typing lsattr in the home directory folder and it said "lsattr: Inappropriate ioctl for device While reading flags on ./thomas". This problem is very odd. and also passwd is having conflists with pam-apps, siudregister, and debconf (<0.5 . I even tried using sudo but it didn't work either. also when I was installing debian, when it asks for the user name and pw, everytime i would put all of it in, it would says something in the console, and then go back to the beginning and ask for the full name of user, account name, and password.

  5. #5
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Have you put /home on a different drive/partition to the rest of the filesystem?? It could be issues with the way that it is mounted, but if not then I think I'm stumped.

    Sorry
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  6. #6
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5
    Well i formatted and re-installed, but now I don't have sound

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •