Re: [gentoo-user] Re: /home on other partion move
On Mon, 16 Jul 2012 12:35:54 -0400, Michael Mol wrote: > The root directory of the new filesystem is owned by root. > > The only way I know to fix this would be to replace 'defaults' with > 'user=siefke' on your fstab line. You can just do "chown user: /mount/point" with the filesystem mounted. The user= mount options only work with non-Linux filesystems. But /home should be owned and only writeable by root. -- Neil Bothwick Age and treachery will always overcome youth and skill. signature.asc Description: PGP signature
[gentoo-user] Re: /home on other partion move
On 16/07/12 19:30, Silvio Siefke wrote: On Mon, 16 Jul 2012 19:03:33 +0300 Nikos Chantziaras wrote: You cannot write to /home directly, only in your own /home/me home directory. I have formated the new partion with gparted in ext4. Then have mount the partion mount /dev/sda3 /home/siefke/ext, but with user rights i can not write to the partion. As explained in my previous post, you can "chmod a+w" the "ext" directory when the FS is not mounted, then mount it and "chmod a+w" again. UUID=9d9e53c3-c3b2-4b96-9958-c79c42e0d20f /home/siefke/extext4 defaults1 1 You should probably be using "0 2" instead of "1 1". See "man fstab" on what these do. If you don't know what "filesystem dumping" is, you don't need to set the first field to 1. The second field is set to 2, because your root FS should be the only one with fsck priority 1. All other should be priority 2.
Re: [gentoo-user] Re: /home on other partion move
On Mon, Jul 16, 2012 at 12:30 PM, Silvio Siefke wrote: > On Mon, 16 Jul 2012 19:03:33 +0300 > Nikos Chantziaras wrote: > >> You cannot write to /home directly, only in your own /home/me home >> directory. > > I have formated the new partion with gparted in ext4. Then have mount > the partion mount /dev/sda3 /home/siefke/ext, but with user rights i can > not write to the partion. When i use root then yes. Now i have mounted > the partion in fstab > > UUID=9d9e53c3-c3b2-4b96-9958-c79c42e0d20f /home/siefke/ext > ext4defaults1 1 > > The same, with user rights can not write. The root directory of the new filesystem is owned by root. The only way I know to fix this would be to replace 'defaults' with 'user=siefke' on your fstab line. -- :wq
Re: [gentoo-user] Re: /home on other partion move
On Mon, 16 Jul 2012 19:03:33 +0300 Nikos Chantziaras wrote: > You cannot write to /home directly, only in your own /home/me home > directory. I have formated the new partion with gparted in ext4. Then have mount the partion mount /dev/sda3 /home/siefke/ext, but with user rights i can not write to the partion. When i use root then yes. Now i have mounted the partion in fstab UUID=9d9e53c3-c3b2-4b96-9958-c79c42e0d20f /home/siefke/extext4 defaults1 1 The same, with user rights can not write. Regards Silvio
[gentoo-user] Re: /home on other partion move
On 16/07/12 18:34, Silvio Siefke wrote: Hello, my hdd is full and on the free partion i want make the /home partion. But how can make it? Copy and fstab? When i mount the partion over thunar i can not write as user on the partion. You cannot write to /home directly, only in your own /home/me home directory. /dev/sda3 on /run/media/siefke/data type ext4 (rw,nosuid,nodev,uhelper=udisks2) You should probably apply a label to the partition (like "Home") and then in fstab: LABEL=Home /home ext4 defaults,exec 0 2 Make sure you moved and not copied your old /home/* stuff. If you copied, then delete the old /home: rm -rf /home mkdir /home If you really want to write to /home directly as a user, then unmount it and do: chmod a+w /home Now mount it, and do the above command again. Everyone will now be able to write to /home (and the permission will be kept between mounts/unmounts/reboots.)