Re: How to get Btrfs on 2nd partition of USB HDD to automount as read/write

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

 



On Sun, Aug 19, 2012 at 03:05:11PM -0500, C Anthony Risinger wrote:
> On Sun, Aug 19, 2012 at 2:51 PM, dg1727 <dg1727@xxxxxxxxxxxx> wrote:
> > 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.


david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux