1 |
William Kenworthy wrote: |
2 |
> If I try and do: |
3 |
> |
4 |
> moriah ~ # mount -t ceph 192.168.44.68:6789:/ /mnt/ceph -o users |
5 |
> mount error 22 = Invalid argument |
6 |
> |
7 |
|
8 |
Specifying "users" in that context doesn't make sense. Try creating an |
9 |
entry in /etc/fstab. For example: |
10 |
|
11 |
192.168.44.68:6789:/ /mnt/ceph ceph users 0 0 |
12 |
|
13 |
Then see if you can mount by its mountpoint: |
14 |
|
15 |
$ mount /mnt/ceph |
16 |
|
17 |
> It turns out the driver doesnt recognise the user or users mount option |
18 |
> and gentoo wont let a user mount or access a root mount, or even let a |
19 |
> user mount. Tried adding the user to the disk group without any effect. |
20 |
> |
21 |
|
22 |
It's not a driver option. /bin/mount is suid root and refers to fstab to |
23 |
decide whether a non-root user should be allowed to mount. |
24 |
|
25 |
Generally speaking, regular user accounts should not be added to the |
26 |
disk group. That provides raw read/write access to block device nodes |
27 |
such as dev/sda, which is a potential risk both in terms of safety and |
28 |
security. |
29 |
|
30 |
> Something in gentoo's user access control is causing this problem I |
31 |
> think, so how can I get around it? |
32 |
> |
33 |
> BillK |
34 |
> |
35 |
> |
36 |
> |
37 |
> |