First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 137073
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Project Gentopia <gentopia@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sebastian Schubert <schubert.seb@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 137073 depends on: Show dependency tree
Bug 137073 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-06-17 05:56 0000
pmount (version 0.9.6 and 0.9.11 tested) mounts udf filesystems (here a dvd
ram) as root.root in opposite to eg fat which is mounted 'user'.users. The
default umask 007 makes it unusable for the user. This is the case with hal
0.5.5 and 0.5.7.

sebschub@satux /media $ pmount /dev/hdb
sebschub@satux /media $ pmount /dev/sda
sebschub@satux /media $ ls -l
insgesamt 22
drwxr-xr-x  2 root     root     48 10. Jun 16:11 dvd
drwxr-xr-x  2 root     root     48 10. Jun 16:11 dvdram
drwxrwx--- 11 root     root    468 10. Jun 20:29 hdb
drwx------  4 sebschub users 22016  1. Jan 1970  sda
sebschub@satux /media $ cd  hdb
bash: cd: hdb: Keine Berechtigung
sebschub@satux /media $ cd sda
sebschub@satux /media/sda $


Workaround: mount with umask 000:

sebschub@satux /media/sda $ cd ..
sebschub@satux /media $ pumount /dev/hdb
sebschub@satux /media $ pmount -u 000 /dev/hdb
sebschub@satux /media $ ls -l
insgesamt 22
drwxr-xr-x  2 root     root     48 10. Jun 16:11 dvd
drwxr-xr-x  2 root     root     48 10. Jun 16:11 dvdram
drwxrwxrwx 11 root     root    468 10. Jun 20:29 hdb
drwx------  4 sebschub users 22016  1. Jan 1970  sda
sebschub@satux /media $ cd hdb
sebschub@satux /media/hdb $

The problem is that written data is now stored as root.root and not usable with
the next mount (except for root of course)!

------- Comment #1 From igch@gmx.net 2006-08-17 00:00:42 0000 -------
Specifically regarding the umask, the UDF default is hard-coded in fs.c as
reported here:

http://forums.gentoo.org/viewtopic-p-3253765.html#3253765

According to what appears to be a Debian bug report --

http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=348080;msg=22

-- the versions 0.9.12 and up use a default of 000 for the UDF umask. 
Unfortunately, you will note that none of these happen to be in Portage yet.

I do not know why UDF mounts are owned by root when pmount gives ownership for
all other filesystems to the calling user.  It looks like the author of pmount,
Martin Pitt, does understand English fluently, so perhaps someone could ask
him. . . .

------- Comment #2 From Sebastian Schubert 2006-08-17 02:02:26 0000 -------
I have just tried pmount 0.9.13 by renaming the 0.9.11 ebuild and hoping
everything goes fine. Well, it did. My DVD RAM are still root.root but the
permission are 777. The problem of wrong permissions after re-mount described
above is solved as well.

------- Comment #3 From Steev Klimaszewski 2006-08-17 02:52:55 0000 -------
I put pmount 0.9.13 in portage a bit earlier, not sure when exactly, but once
it shows up on packages.gentoo.org it should be available to all, Thanks for
letting me know it works for you (renaming was all that was needed) - Closing
since you report it works :)

First Last Prev Next    No search results available      Search page      Enter new bug