LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2015, 10:06 AM   #1
tecl
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Rep: Reputation: Disabled
automatic mount udf on the DVD - rights


I have CENTOS 6.3 and I use the DVD with created filesystem UDF.
When I put my DVD to PC all is working fine and UDF is automaticaly mounted and I have folder LinuxUDF.

But I would like to change rights on that folder during atomatic mounting. I can not find where is it possible to set it.
I tried udev, autofs ... but without success.

Have you got any idea where to find it ?
 
Old 01-14-2015, 01:25 PM   #2
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 154

Rep: Reputation: 32
I am not completely sure, but do you have an entry for mounting DVDs in your /etc/fstab?
I so than you could change rights there.
But what do you need to change? A DVD UDF filesystem will be readonly anyway.
 
Old 01-14-2015, 02:37 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
also keep in mind that 6.3 is UNSUPPORTED
there have been NO updates to it for almost TWO YEARS
it is 3 versions out of date

please upgrade to the ONLY supported version of 6
CentOS 6.6
 
Old 01-14-2015, 03:26 PM   #4
tecl
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
There is no record about DVD in fstab because the mounting process is automatic.
When the record was in fstab the DVD with UDF fs was mounted to /media/LinuxUDF(1) because I had to create folder /media/LinuxUDF as mounting point before that.

I would like to find where is information that UDF fs is mounted to /media/LinuxUDF with rights full acces for owner and no access for group and the rest of world.
There is somewhere defined umask=0077. For example when I put CD to PC it is mounted automaticaly but with umask=0022.

I can see this issue in mtab or when I use command mount. Here I can see value of umask.

So I have to find where is this definition. I thought that it could be in udev rules but I did not find it.

Even Centos 6.6 have to have this definition somewhere.

My problem is that when user A put DVD to PC in Gnome then this DVD is not accessible to user B when users A and B are switched.
I think that one of posible solution is create groupe GG and put user B to this group. Then user B will have accessible folder where is mounted DVD with udf. So I would like to find where is issue for change umask for udf filesystem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic mount udf on the DVD - rights tecl Linux - Newbie 1 01-14-2015 10:12 AM
Can't mount UDF Disks in CentOS - UDF-fs: No fileset found spoovy Linux - Desktop 4 05-29-2010 12:06 PM
[SOLVED] how to mount a dvd as iso9660 instead of udf? jortalli Linux - General 1 10-25-2009 11:26 PM
How can I mount an UDF picture CD/DVD? glore2002 Slackware 2 08-20-2008 11:24 AM
format DVD for UDF works but DVD is bad jrfk2 Linux - Hardware 2 04-25-2006 10:18 AM


All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration