Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting udf filesystem with umask/gid/uid?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
splice
n00b
n00b


Joined: 06 Dec 2002
Posts: 13

PostPosted: Mon Jul 21, 2003 11:02 pm    Post subject: Mounting udf filesystem with umask/gid/uid? Reply with quote

I've just finished setting up packetwriting on my system. Works fine. Running kernel 2.4.21, patched for packet writing, udftools 1.0.0b from portage. My problem is that I want to mount the cdrw so that everyone can write to it (single-user system, don't want to su everytime I want to copy a file to the cdrw). My packet writer device (/dev/pktcdvd) is chmodded 666. I've tried chmodding the mountpoint, but that gets ignored anyway. In my fstab, I have the options "rw,noatime,noauto,user,uid=1000,gid=100,umask=000". I have no clue why, but it seems to totally ignore my uid, gid and umask settings. The uid and gid stay at root,root, even if they should be splice.users. The umask doesn't get applied, I get permissions of 755. This is really weird and it's causing me much grief.

I've confirmed that chowning/chmodding directories on the CD does nothing; UDF doesn't have that capability, once it's remounted, those permissions are gone. For some weird reason, if I chgrp the mount point, it'll actually be saved and come back if I unmount/mount the cd. chown doesn't get saved, though. And I can't set the permissions in any way to allow group users to write (775 instead of 755).

So, what am I doing wrong? How can I get my much loved permissions of 777 (which I set with no problem on my vfat drives)?

Thanks for all help.
Back to top
View user's profile Send private message
TyroneSlothrop
n00b
n00b


Joined: 27 Sep 2003
Posts: 39
Location: Franconia, Central Europe

PostPosted: Thu Jul 15, 2004 5:29 pm    Post subject: Reply with quote

Strange thing. I have the same problem, too, but for me the umask option does work, only gid does not:
Code:
root@hal:/media# la dvdram/
insgesamt 4,0K
drwxrwxr-x  3 root root  136 15. Jul 19:22 .
drwxr-xr-x  6 root root 4,0K 15. Jul 17:56 ..
drwxrwxr-x  2 root root   40 15. Jul 17:53 lost+found
root@hal:/media# mount | grep dvd
/dev/hdc on /media/dvdram type udf (rw,noexec,nosuid,nodev,gid=80,umask=2,iocharset=utf8,user=helmar)

Someone's got a solution that let's users write to DVD-RAMs?
_________________
warning: potentially offensive but true nonetheless...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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