-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 29 April 2002 03:02 am, Peter Kiem wrote: > Tried to do something which I thought would be really simple, mount a > partition into a user's dir to be owned by that user. > > e.g. mount /dev/hdb1 /home/user/data > > where /home/user/data is an empty directory owned by user.user > > No matter what I do when the partition is mounted it is always owned as > root.root and user doesn't have any permissions to it. > > I've tried combinations of parameters in fstab like "owner" and "user" > but nothing seems to work. > > Anyone got any hints please?
I do this here without any difficulty, so I'm not sure what the problem might be. I mount a drive into my home directory at boot up. Here is my fstab entry: /dev/hda2 /home/mfratoni/devel ext3 defaults 1 2 Permissions on the mount point are: [root@paradox root]# umount /home/mfratoni/devel/ [root@paradox root]# ls -al /home/mfratoni/devel/ total 8 drwxrwxr-x 2 mfratoni mfratoni 4096 Mar 9 16:56 . drwx------ 37 mfratoni mfratoni 4096 Apr 29 23:00 .. Is there an existing filesystem on the drive, owned by root? What happens if you mount it, chown -R user.user /mount_point, umount, and mount again? - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjzOCqcACgkQn/07WoAb/StgMQCgi9DgdMWlfvI9iRZhjZgHKiRC FTMAn2v1ZvAnMGYbCHVKMaM94/FdlVtC =WgNq -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list