Re: How to get Btrfs on 2nd partition of USB HDD to automount as read/write
From: dg1727 <hidden>
Date: 2012-08-21 19:28:23
On Tue, 21 Aug 2012 11:36:32 -0400 David Sterba [off-list ref] wrote:
On Sun, Aug 19, 2012 at 03:05:11PM -0500, C Anthony Risinger wrote:quoted
On Sun, Aug 19, 2012 at 2:51 PM, dg1727 [off-list ref] wrote:quoted
permissions of the directories in /dev are drwx------ for the NTFS and dr-xr-xr-x for the Btrfs. How can the OS be set up so that the Btrfs will automount read/write?try: chmod u+w /path/to/btrfs/mount ... for whatever reason mkfs.btrfs created new subvolumes (but not snapshots!) with 555 perms, which essentially says "writable to nobody at all" ... IIRC, this was changed within the last year or so.The issue with subvols pemr 0700 was indeed fixed, on the kernel side. The problem with missing 'w' (ie mode 555) on a freshly mkfs'ed image is still present and it's the user-space tools (mkfs) proble. Patch has been sent some time ago http://www.spinics.net/lists/linux-btrfs/msg17909.html The workaround is to chmod as you suggested and is permanent once done.
Thanks a lot for these answers. As an exercise, how would I track that patch so I can tell when it has been released? Pointing me to a webpage that covers this would be fine. -dg1727