Re: External drive is being mounted as read-only

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

 



On Mon, Sep 1, 2014 at 7:01 PM, Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:
> On 09/01/14 16:25, Sudhir Khanger wrote:
>> The only way to tell if this is a mountain or a molehill is to try
>> some other distribution.
>
> I guess you'll find no joy in Ubuntu.....   Installed a test system and plugged in my drive and allowed it to be automounted....
>
> egreshko@ubuntu:~$ mount | grep sdb1
> /dev/sdb1 on /media/egreshko/ext type ext4 (rw,nosuid,nodev,uhelper=udisks2)
>
> egreshko@ubuntu:~$ df -T /dev/sdb1
> Filesystem     Type 1K-blocks  Used Available Use% Mounted on
> /dev/sdb1      ext4 115246568 61044 109308228   1% /media/egreshko/ext
>
> egreshko@ubuntu:~$ ll -d /media/egreshko/ext
> drwxr-xr-x. 3 1029 65539 4096  9月  1 16:34 /media/egreshko/ext/
>
> egreshko@ubuntu:~$ touch /media/egreshko/ext/x
> touch: cannot touch ‘/media/egreshko/ext/x’: Permission denied
>
> Which is exactly what I would expect since my UID/GID on my Fedora systems is 1029/65539 and on the new Ubuntu system....
>
> egreshko:x:1000:1000:Ed Greshko,,,:/home/egreshko:/bin/bash
>

I haven't had time to look into it myself but more I read about ext4
your tryst explaining me earlier becomes more clear that permissions
persist with the filesystem. Now that I think more about it one
possibility is that I use same username across systems which might
have made it possible to mount with RW without superuser privileges.

I also did following to the ext4 drive.

chown $USER:$USER /run/media/$USER/storjet

That is all I had to do and the drive seems to not give heartache
anymore. Home user has all the privileges I need.

Now time to run that attic-backup.

Thanks again Ed.

-- 
Regards,
Sudhir Khanger.
sudhirkhanger.com
https://github.com/donniezazen
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
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