[SLE] Mount points owned by user - changed since 9.3?
Hi all, Under 9.3 I created a mount point /data1 and changed the ownership to <username>:users. Then in /etc/fstab the entry for this mount point is /dev/sdb4 /data1 reiserfs acl,user_xattr 0 0 When this gets mounted the ownership of /data1 remains <username>:users. I recently installed 10.1 (retail) on some other machines and this behaviour seems to have changed. Now after mounting the ownership of /data1 changes to root:root. Upon unmounting, the ownership changes back to <username>:users. This makes it somewhat awkward to set permissions for this as drwx------ <username> users /data1 I notice that the version of mount has changed from 2.12q in 9.3 to 2.12r in 10.1, but this didn't help me much. I also couldn't seem to find any clues in the man pages. Can anyone help with this? -- Don -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On 6/19/06, Don Raboud
Hi all,
Under 9.3 I created a mount point /data1 and changed the ownership to <username>:users. Then in /etc/fstab the entry for this mount point is
/dev/sdb4 /data1 reiserfs acl,user_xattr 0 0
When this gets mounted the ownership of /data1 remains <username>:users.
I recently installed 10.1 (retail) on some other machines and this behaviour seems to have changed. Now after mounting the ownership of /data1 changes to root:root. Upon unmounting, the ownership changes back to <username>:users.
This makes it somewhat awkward to set permissions for this as
drwx------ <username> users /data1
I notice that the version of mount has changed from 2.12q in 9.3 to 2.12r in 10.1, but this didn't help me much. I also couldn't seem to find any clues in the man pages.
Can anyone help with this?
-- Don
Yesterday I was playing with this in 10.0 and there was the same behaviour. What I did was, that I chown-ed after the partition was mounted. After that on mount/umount it preserved it. Maybe there is more "proper" way, but this worked for me. -- -- Svetoslav Milenov (Sunny) Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Monday 19 June 2006 11:06 am, Sunny wrote:
On 6/19/06, Don Raboud
wrote: Hi all,
Under 9.3 I created a mount point /data1 and changed the ownership to <username>:users. Then in /etc/fstab the entry for this mount point is
/dev/sdb4 /data1 reiserfs acl,user_xattr 0 0
When this gets mounted the ownership of /data1 remains <username>:users.
I recently installed 10.1 (retail) on some other machines and this behaviour seems to have changed. Now after mounting the ownership of /data1 changes to root:root. Upon unmounting, the ownership changes back to <username>:users.
This makes it somewhat awkward to set permissions for this as
drwx------ <username> users /data1
I notice that the version of mount has changed from 2.12q in 9.3 to 2.12r in 10.1, but this didn't help me much. I also couldn't seem to find any clues in the man pages.
Can anyone help with this?
Yesterday I was playing with this in 10.0 and there was the same behaviour. What I did was, that I chown-ed after the partition was mounted. After that on mount/umount it preserved it.
Maybe there is more "proper" way, but this worked for me.
Thanks! That works here as well. I guess that I must have done this as well with 9.3 but I completely forgot about it. Must keep notes... Must keep notes... Must keep notes.... -- Don -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (2)
-
Don Raboud
-
Sunny