Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

usb0 Fat32 drive owned by root - read only
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
usb0 Fat32 drive owned by root - read only
23rd Jan, 2013, 03:46 AM
Post: #11
BBsan Offline
Registered
Posts: 1
Joined: Jan 2013
Reputation: 0
RE: usb0 Fat32 drive owned by root - read only
Sorry for bringing this topic up again, but I've got a similar problem with my HFS+ USB HDD.

My usbmount.conf looks like:

Code:
...
FS_MOUNTOPTIONS="-fstype=ntfs,gid=xbian,uid=xbian,umask=0 \
                 -fstype=vfat,gid=xbian,uid=xbian,umask=0 \
                 -fstype=ext2,gid=xbian,uid=xbian,umask=0 \
                 -fstype=ext3,gid=xbian,uid=xbian,umask=0 \
                 -fstype=ext4,gid=xbian,uid=xbian,umask=0 \
                 -fstype=hfsplus,gid=xbian,uid=xbian,umask=0 \
                 -fstype=exfat,gid=xbian,uid=xbian,umask=0"
...
but the result is:

Code:
xbian@xbian:/media# ls -all
total 36
drwxr-xr-x 10 root root 4096 Nov 11 18:18 .
drwxr-xr-x 22 root root 4096 Jan  1  1970 ..
lrwxrwxrwx  1 root root    4 Nov 11 18:18 usb -> usb0
drwxrwxr-x  1   99   99   18 Jan  3 23:14 usb0
drwxrwxrwx  2 root root 4096 Nov 11 18:18 usb1
drwxrwxrwx  2 root root 4096 Nov 11 18:18 usb2
drwxrwxrwx  2 root root 4096 Nov 11 18:18 usb3
drwxrwxrwx  2 root root 4096 Nov 11 18:18 usb4
drwxrwxrwx  2 root root 4096 Nov 11 18:18 usb5
drwxrwxrwx  2 root root 4096 Nov 11 18:18 usb6
drwxrwxrwx  2 root root 4096 Nov 11 18:18 usb7
Am I missing something, perhaps just one rw flag or something like this?


EDIT:
After re-reading the post, I'm not sure, wether rhwaughs question was Mount related, or just permissions.
Looks to me, like my drive is mounted ro, but I don't know why.
chmod brings:
Code:
chmod: changing permissions of `/media/usb0/xbmcTR.repo_.zip': Read-only file system

EDIT2:
After playing around a bit, I definetely now, the issue is not directly usbmount related.
When I plugin another usb drive (exFat) it is recognized, mounted with xbian:xbian and rw.
If I plug in my HFS+ formatted HDD, it's mounted, but strangely with 99:99 as user and group. Also, it seems to be mounted as ro. Is there any possibility changing this?

EDIT3:
OK, fixed the mounting problems I think. Last Problem is, that there are some permission issues left. I chmodded whole media directory and it now it finally works.

I think hfsplus, hfsprogs and hfsutils should be included in xbian, as this seemed to be the issue which prevented usbmount from mounting the HFSPLUS partition in rw.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
usb0 Fat32 drive owned by root - read only - rhwaugh - 14th Dec, 2012, 12:39 PM
RE: usb0 Fat32 drive owned by root - read only - DraZtiK - 14th Dec, 2012, 12:55 PM
RE: usb0 Fat32 drive owned by root - read only - rhwaugh - 14th Dec, 2012, 06:53 PM
RE: usb0 Fat32 drive owned by root - read only - CurlyMo - 14th Dec, 2012, 09:42 PM
RE: usb0 Fat32 drive owned by root - read only - rhwaugh - 14th Dec, 2012, 09:49 PM
RE: usb0 Fat32 drive owned by root - read only - CurlyMo - 14th Dec, 2012, 09:58 PM
RE: usb0 Fat32 drive owned by root - read only - rhwaugh - 14th Dec, 2012, 10:16 PM
RE: usb0 Fat32 drive owned by root - read only - CurlyMo - 14th Dec, 2012, 11:43 PM
RE: usb0 Fat32 drive owned by root - read only - rhwaugh - 15th Dec, 2012, 12:00 AM
RE: usb0 Fat32 drive owned by root - read only - CurlyMo - 15th Dec, 2012, 12:04 AM
RE: usb0 Fat32 drive owned by root - read only - BBsan - 23rd Jan, 2013 03:46 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] Should /run/rpcbind be owned by xbian deckoff 2 10,000 15th Aug, 2013 03:08 PM
Last Post: deckoff

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 22nd May, 2025, 08:54 PM Powered By MyBB, © 2002-2025 MyBB Group.