LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-17-2006, 01:47 PM   #1
jrfk2
LQ Newbie
 
Registered: Jan 2006
Posts: 24

Rep: Reputation: 0
UDF, mount and file permissions


when as my root user I mount my DVD, all the file ownerships seem to get set back to root:root, such that non-root users may lose access to the files, depending on the file permissions themselves.

I've tried using some of the mount settings that seem like they might help here, but no avail.

For example, as root I mount the DVD:
mount -v /media/cdrom -o uid=me -o suid -o gid=users

mount uses udf as the filesystem (dvd was formatted with mkudffs btw) and says
/dev/sr0 on /media/cdrom type udf (rw,nodev,uid=500,gid=100)

then as a non-root user (me) I touch a file on /media/cdrom or do an mkdir, the file/folder have ownership as me:users and it all looks ok.

But then back as root if I umount then mount the DVD again as before, the ownership of the files created by the non-root user (me) change to root:root

Any ideas out there how I can get the file permissions to not change ?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
Adding UDF file system Caysho Linux - Newbie 2 06-09-2005 06:58 PM
mount external firewire drive udf formatted tgreen Linux - Hardware 3 02-03-2005 10:02 AM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 05:35 AM
Mount file permissions ?? floodland_uk Linux - Newbie 2 08-30-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:36 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
Open Source Consulting | Domain Registration