Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
simple question: whats the org. permissons on /mnt/cdrom
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
dmind
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2003
Posts: 120
Location: sweden, Terra, Sol, Milky Way

PostPosted: Sun Nov 14, 2004 3:36 am    Post subject: simple question: whats the org. permissons on /mnt/cdrom Reply with quote

ok. i removed the /mnt/cdrom dir. :oops:
i mkdir /mnt/cdrom
however ivman wont mount the cds right now.
how do i set the right permissons?
_________________
Gentoo: it just changed my love life.
Back to top
View user's profile Send private message
Shovas
n00b
n00b


Joined: 23 May 2003
Posts: 73

PostPosted: Sun Nov 14, 2004 3:43 am    Post subject: Reply with quote

I don't believe I've changed my /mnt/cdrom permissions, ever, so here it is:

Quote:

bash-2.05b$ ls -ald /mnt/cdrom
drwx------ 2 root root 4096 Jul 11 13:30 /mnt/cdrom


Just FYI, a /etc/fstab entry like:

Quote:

/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user 0 0


...will enable any user to mount /mnt/cdrom and the permissions will then be allowed for that user, by way of World/Other permissions. For example,

Quote:

bash-2.05b$ whoami
matt
bash-2.05b$ mount /mnt/cdrom
bash-2.05b$ ls -ald /mnt/cdrom
dr-xr-xr-x 7 root root 2048 Oct 30 20:21 /mnt/cdrom
Back to top
View user's profile Send private message
dmind
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2003
Posts: 120
Location: sweden, Terra, Sol, Milky Way

PostPosted: Sun Nov 14, 2004 3:46 am    Post subject: Reply with quote

[quote="Shovas"]I don't believe I've changed my /mnt/cdrom permissions, ever, so here it is:
Quote:

bash-2.05b$ ls -ald /mnt/cdrom
drwx------ 2 root root 4096 Jul 11 13:30 /mnt/cdrom


ok thanks, how do I set it right again?
chmod ???

ive got
Code:
/dev/cdroms/cdrom2      /mnt/cdrom      auto            noauto,ro,user          0 0
in my fstab
_________________
Gentoo: it just changed my love life.
Back to top
View user's profile Send private message
Shovas
n00b
n00b


Joined: 23 May 2003
Posts: 73

PostPosted: Sun Nov 14, 2004 3:57 am    Post subject: Reply with quote

Yes, `chmod u=rwX,g-rwX,o-rwx /mnt/cdrom` should set it right again.
Back to top
View user's profile Send private message
dmind
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2003
Posts: 120
Location: sweden, Terra, Sol, Milky Way

PostPosted: Sun Nov 14, 2004 4:02 am    Post subject: Reply with quote

ok now i got:
ls -ald /mnt/cdrom
drwx------ 2 root root 6 Oct 28 14:52 /mnt/cdrom

but when i try to cd into it i only get
cd: cdrw: Permission denied

i restared dbus hald ivman, but no go.
_________________
Gentoo: it just changed my love life.
Back to top
View user's profile Send private message
Shovas
n00b
n00b


Joined: 23 May 2003
Posts: 73

PostPosted: Sun Nov 14, 2004 4:51 am    Post subject: Reply with quote

I'm not positive what the problem might be, but ensure your user is in the cdrw group as well as the other related burning groups. The file to check is /etc/group.
Back to top
View user's profile Send private message
dmind
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2003
Posts: 120
Location: sweden, Terra, Sol, Milky Way

PostPosted: Sun Nov 14, 2004 1:05 pm    Post subject: Reply with quote

yepp im in cdrom and cdrw

but still no go... :x
_________________
Gentoo: it just changed my love life.
Back to top
View user's profile Send private message
Shovas
n00b
n00b


Joined: 23 May 2003
Posts: 73

PostPosted: Sun Nov 14, 2004 10:15 pm    Post subject: Reply with quote

Sorry, at this point I can't help as I don't know what the problem could be. I'm also not familiar with the applications you reference. Perhaps someone else can help from here.
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