1 |
On Friday, September 18, 2015 5:14:15 PM Walter Dnes wrote: |
2 |
> A while ago, I mentioned that I had problems running cdda2wav as a |
3 |
> regular user. While rebuilding cdrtools recently, I noticed that the |
4 |
> build finished with the following warnings... |
5 |
> |
6 |
> >>> Installing (1 of 1) app-cdr/cdrtools-3.01_alpha17::gentoo |
7 |
> * >>> SetUID: [chmod go-r] /usr/sbin/rscsi ... [ ok ] |
8 |
> * >>> SetUID: [chmod go-r] /usr/bin/cdda2wav ... [ ok ] |
9 |
> * >>> SetUID: [chmod go-r] /usr/bin/readcd ... [ ok ] |
10 |
> * >>> SetUID: [chmod go-r] /usr/bin/cdrecord ... [ ok ] |
11 |
> * Could not set caps on '/usr/bin/cdrecord' due to missing filesystem support: |
12 |
> * * enable XATTR support for 'ext2/ext3' in your kernel (if configurable) |
13 |
> * * mount the fs with the user_xattr option (if not the default) |
14 |
> * * enable the relevant FS_SECURITY option (if configurable) |
15 |
> * Could not set caps on '/usr/bin/cdda2wav' due to missing filesystem support: |
16 |
> * * enable XATTR support for 'ext2/ext3' in your kernel (if configurable) |
17 |
> * * mount the fs with the user_xattr option (if not the default) |
18 |
> * * enable the relevant FS_SECURITY option (if configurable) |
19 |
> * Could not set caps on '/usr/bin/readcd' due to missing filesystem support: |
20 |
> * * enable XATTR support for 'ext2/ext3' in your kernel (if configurable) |
21 |
> * * mount the fs with the user_xattr option (if not the default) |
22 |
> * * enable the relevant FS_SECURITY option (if configurable) |
23 |
> >>> Auto-cleaning packages... |
24 |
> |
25 |
> That might explain my problems. So I modified my kernel as below... |
26 |
> |
27 |
> <*> Second extended fs support |
28 |
> [*] Ext2 extended attributes |
29 |
> [ ] Ext2 POSIX Access Control Lists |
30 |
> [ ] Ext2 Security Labels |
31 |
> <*> Ext3 journalling file system support |
32 |
> [*] Default to 'data=ordered' in ext3 |
33 |
> [*] Ext3 extended attributes |
34 |
> [ ] Ext3 POSIX Access Control Lists |
35 |
> [ ] Ext3 Security Labels |
36 |
|
37 |
You'll also need this ^ |
38 |
|
39 |
> < > The Extended 4 (ext4) filesystem |
40 |
> |
41 |
> ...rebuilt, and rebooted into it. Still the same warnings on the build. |
42 |
> So now it appears that I have to... |
43 |
> > mount the fs with the user_xattr option (if not the default) |
44 |
> > enable the relevant FS_SECURITY option (if configurable) |
45 |
> |
46 |
> Can someone point me to an example somewhere of how to do it? I |
47 |
> prefer not to muck around blindly with unknown options in /etc/fstab |
48 |
> BTW, I'm building cdrtools with USE="caps filecaps -acl -nls -unicode" |
49 |
> if that matters. |
50 |
|
51 |
Just add the user_xattr unde <opts> column. Like: |
52 |
|
53 |
UUID=34868f06-d56b-4539-a649-33ec96b50d74 / ext3 noatime,user_xattr 0 1 |
54 |
|
55 |
-- |
56 |
Fernando Rodriguez |