| View previous topic :: View next topic |
| Author |
Message |
nabla² Apprentice


Joined: 17 May 2005 Posts: 272
|
Posted: Sun Apr 09, 2006 6:44 pm Post subject: hal, pmount and DVD-RAM mounted as root.root |
|
|
Hi,
I recently tried hal and pmount and it works surprisingly well. CD-ROM, DVD-ROM and USB device all work well and are mounted "user".users. Exception: DVD-RAM using UDF file system is mounted root.root with a umask of 007 so I get no access as user. Question is whether I can set the user pmount mounts it as.
Thx _________________ Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64) |
|
| Back to top |
|
 |
nabla² Apprentice


Joined: 17 May 2005 Posts: 272
|
Posted: Mon Apr 10, 2006 8:28 pm Post subject: |
|
|
Additional or alternative question: Is it a hal or a pmount problem that the DVD RAM is mounted as root.root? _________________ Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64) |
|
| Back to top |
|
 |
quantizeddreams n00b

Joined: 13 Apr 2006 Posts: 1 Location: Indiana
|
Posted: Thu Apr 13, 2006 1:50 pm Post subject: I edited Fs.C |
|
|
I edited the Fs.C in pmount then recompiled.
My Fs.c looks something like this
static struct FS supported_fs[] = {
{ "udf", "nosuid,nodev,user,unhide", 1, NULL, 1 },
{ "iso9660", "nosuid,nodev,user,unhide", 1, NULL, 1 },
{ "vfat", "nosuid,nodev,user,quiet,shortname=winnt", 1, "077", 1 },
{ "ntfs", "nosuid,nodev,user", 1, "077", 1 },
{ "hfsplus", "nosuid,nodev,user", 1, NULL, 0 },
{ "hfs", "nosuid,nodev,user", 1, NULL, 0 },
{ "ext3", "nodev,noauto,nosuid,user", 0, NULL, 0 },
{ "ext2", "nodev,noauto,nosuid,user", 0, NULL, 0 },
{ "reiserfs", "nodev,noauto,nosuid,user", 0, NULL, 0 },
{ "xfs", "nodev,noauto,nosuid,user", 0, NULL, 0 },
{ "jfs", "nodev,noauto,nosuid,user", 0, NULL, 1 },
{ NULL, NULL, 0, NULL, 0}
The orginal looks like this
static struct FS supported_fs[] = {
{ "udf", "nosuid,nodev,user", 1, "007", 1 },
{ "iso9660", "nosuid,nodev,user", 1, NULL, 1 },
{ "vfat", "nosuid,nodev,user,quiet,shortname=winnt", 1, "077", 1 },
{ "ntfs", "nosuid,nodev,user", 1, "077", 1 },
{ "hfsplus", "nosuid,nodev,user", 1, NULL, 0 },
{ "hfs", "nosuid,nodev,user", 1, NULL, 0 },
{ "ext3", "nodev,noauto,nosuid,user", 0, NULL, 0 },
{ "ext2", "nodev,noauto,nosuid,user", 0, NULL, 0 },
{ "reiserfs", "nodev,noauto,nosuid,user", 0, NULL, 0 },
{ "xfs", "nodev,noauto,nosuid,user", 0, NULL, 0 },
{ "jfs", "nodev,noauto,nosuid,user", 0, NULL, 1 },
{ NULL, NULL, 0, NULL, 0}
};
I bolded the areas that i changed. This seemed to work for me. |
|
| Back to top |
|
 |
nabla² Apprentice


Joined: 17 May 2005 Posts: 272
|
Posted: Sun Apr 23, 2006 3:01 pm Post subject: |
|
|
That helps. Thank you! Although I doubt that it is a real solution to the problem. All my other devices are mounted "user".users and a umask of 007 would not do any harm there. Why is udf mounted as root.root? _________________ Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64) |
|
| Back to top |
|
 |
nabla² Apprentice


Joined: 17 May 2005 Posts: 272
|
Posted: Sun Apr 23, 2006 4:50 pm Post subject: |
|
|
Another strange thing: After writing to the disc, the files are owned by "user".users. Then, after unmount and re-mount, the owner is root.root. That does not happen with data I put on the disc with another computer (and Suse). Any idea? _________________ Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|