Re: Permission problems after install of F16 comming from F14.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux