What did I do wrong? Is this a bug?
I have a issue with a user account that's getting "Permission denied" to any attempt to create a new file or new directory in the user's home directory (/home/rfs). (There's no problem creating files in any existing subdirectory of /home/rfs or copying existing files to the /home/rfs directory). Before attempting anything drastic, I'm trying to migrate the user to a new account. What I did was in Yast2 user management, I first rename the existing users login from rfs to rfsx without changing the home directory, then created a new user with the login "rfs" and assigned a home directory in "/home1/rfs" which resides in a different file system. The problem is that when logged in to the new "rfs" account, the system become very slow in it's response. It takes very long time to get the gnome UI, and takes over a minutes to start Firefox. Yast2, however, starts normally, so I think the slowliness has something to do with accessing the files in the new user account's home directory. I tested the IO of the /home1 file system and it is satisfactory. Is it a bad idea to reuse a previously used login? Xiaofeng Zhao
From: jsa@pen.homeip.net> To: suse-linux-e@suse.com> Date: Sat, 16 Sep 2006 20:45:29 -0800> Subject: Re: [SLE] "Permission denied" to creating files in a home directory> > On Saturday 16 September 2006 19:10, X Z wrote:> > > On Saturday 16 September 2006 11:45, Xiaofeng Zhao wrote:> > > > Everything of my system works fine until yesterday when I started to> > > > getting "Permission denied" whenever I try to create new files or new> > > > directory in my home directory. This is so even when I su to root.> > > >> > > > Please help me!> > > >> > > > xz> > >> > > Hozed hard disk.> > >> > > If your /home is on a reiserfs partition unmount home and reiserfschk it.> > > If you can't unmount home separately, then boot with your Cd/DVD to the> > > rescue system and reiserfsck it that way.> -----> > I kind of accepted the default setting when I install SUSE 10.1. So the> > entire / is in one LVM. My fstab looks like this:> >> > /dev/sda1 /boot reiserfs acl,user_xattr > > 1 2 /dev/SG00/LogVol00 / reiserfs acl,user_xattr > > > I tried to run reiserfsck on /dev/sda2 but I got a message saying something> > about bad super block. I think it's not the right way to run it, isn't it?> > No, you must do this from the rescue CD. > I think you will have to try reiserfschk /dev/SG00/LogVol00 > but I'm not totally sure that will be available when you boot with the rescue > cd.> > (Side Rant: This is what I hate about LVM. You are never sure where it > really exists, and since it can span disks you have N times the likelyhood> for failure, where N = the likelyhood of a single drive failure).> > > > -- > _____________________________________> John Andersen
Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today! http://get.live.com/toolbar/overview
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2006-09-17 at 18:29 -0000, X Z wrote:
I have a issue with a user account that's getting "Permission denied" to any attempt to create a new file or new directory in the user's home directory (/home/rfs). (There's no problem creating files in any existing subdirectory of /home/rfs or copying existing files to the /home/rfs directory). Before attempting anything drastic, I'm trying to migrate the user to a new account. What I did was in Yast2 user management, I first rename the existing users login from rfs to rfsx without changing the home directory, then created a new user with the login "rfs" and assigned a home directory in "/home1/rfs" which resides in a different file system.
Is your home systems a reiserfs? Umount it and fsck it. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFDZaVtTMYHG2NR9URAn3HAJoDfDgNyC+fAaFuvt7652tAwpM8JACfVqtV DaHHUTzuwTven7RiwAxrhBo= =D/a7 -----END PGP SIGNATURE-----
participants (2)
-
Carlos E. R.
-
X Z