On 06/06/2012 04:39 PM, Jeff Gipson wrote:
On Wed, Jun 06, 2012 at 11:26:03PM +0200, Erik P. Olsen wrote:
I have a number of F14 partitions which must be mounted unchanged on
the new F16 system. It turns out that I get unexpected permission
problems with this approach. I use the same user name on both systems
but on F14 I got userID 500 whereas on F16 it became 1000. I wasn't
aware of that but learned it the hard way. When I chowned the
permissions to 1000:1000 it worked on F16 but now not on F14.
What is the proper way to fix this problem? I am tempted to reinstall
F16 and force my userID to 500, but the system warns me not to create
userIDs < 1000. It is not feasible to clone the partitions due to
space constrains so I am not able to have identical partitions with
different permissions.
--
Erik
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
### End of Message from Erik P. Olsen ###
You said you wanted to not modify the F14 volumes:
mount -o ro,uid=1000,gid=1000 /path/to/device /path/to/mountpoint
This allows you to access the stuff on your F14 volume as you, but
disallows you changing anything.
If you are truly migrating away from F14 then you need to mount rw and
change the ownership of the stuff.
Erik would do well by following Ed's suggestion.
In fc16, mounting ext3/ext4 filesystems no longer
accepts uid=xxx,gid=xxx
To wit:
in fstab:
.
.
.
UUID=83c35e7b-41eb-469b-af1f-d5a72007e54c /sdc1 ext3
uid=2013,gid=2013 0 0
.
.
.
# mount /sdc1
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I restored fstab to make mount options default:
.
.
.
UUID=83c35e7b-41eb-469b-af1f-d5a72007e54c /sdc1 ext3
default 0 0
.
.
.
# mount /sdc1
# mount | grep sdc1
/dev/sdc1 on /sdc1 type ext3
(rw,relatime,user_xattr,acl,barrier=1,nodelalloc,data=ordered)
Cheers,
JD
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org