LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-12-2018, 08:51 AM   #16
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled

Ok, dont laugh, but now on a reboot the /media/cdrom folder shows in file manager as owned bt root.
.

folder 'scott' is owned by root.
folder 'cderom' is owned by me!
On the rboot and with changing DVD-RAM discs, the filemanager opens the disc owned by ME and files are appearing in 'cderom' folder.

Does that make any sense at all?
the folder 'cdrom' was not working out, so I made one called 'cderom' which I can make work.

Code:
scott@scott-MS-7596:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdd8 during installation
UUID=e2402a79-864d-4df2-8856-b5fe69b2cb11 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdd7 during installation
UUID=d7612b76-71df-4a33-8b17-6ae99f6f06e9 /home           ext4    defaults        0       2
# swap was on /dev/sdb5 during installation
UUID=e2731c91-afe6-405e-9876-1e25ac9cd77e none            swap    sw              0       0
# swap was on /dev/sdd6 during installation
UUID=388b3c4a-93a3-473c-89ec-77e8688e5845 none            swap    sw              0       0
# attempt to automount load dvd into file manager for these dvd-ram discs
#/dev/sr0 /media iso9660 defaults,auto,user,ro 0 0


/dev/sr0 /media/cderom udf defaults,auto,user,ro 0 0
I removed those folders in /media

scott@scott-MS-7596:~$ sudo rmdir /media/scott
[sudo] password for scott:
scott@scott-MS-7596:~$ sudo rmdir /media/cdrom
scott@scott-MS-7596:~$
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2018-03-12 08-46-47.png
Views:	7
Size:	34.3 KB
ID:	27172  

Last edited by sdowney717; 03-12-2018 at 08:53 AM.
 
Old 03-12-2018, 08:59 AM   #17
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
SO, I think the MAIN problem was, the folder the DVD was mounting into was owned by root.

The OTHER issue is, do other ubuntu users have all their DVD's mounting as root user? That makes it kinda hard to use!
Or is my stock ubuntu install something special?
Or is something in ubunut here busted?
I find it hard to believe they would allow this to be experienced by users, no one uses DVD anymore?

Last edited by sdowney717; 03-12-2018 at 09:01 AM.
 
Old 03-12-2018, 09:05 AM   #18
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
other thing I dont like, if I hit the eject button in file manager, I am prompted to type in my user password?? Only then will disc eject.
OR, I can type in terminal 'sudo eject' to open the tray.

I do not think users should have to type in their user password to use the DVD's.

I marked this solved but still there are usability issues.

Last edited by sdowney717; 03-12-2018 at 09:10 AM.
 
Old 03-12-2018, 09:30 AM   #19
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
I marked as UNsolved.
There is a big problem, load a DVD movie and nothing happens!
Must be the fstab line.

Is there a fix or is this OS doomed?

with a DVD-ROM in drive, nothing appears in filemanger
Do 'sudo mount -a', and a dvd appears with no title called CD DRIVE.
Go to /media/cderom and a video_ts folder appears

But see nothing is automatic. More usability issues, not even VLC can play the DVD's.
even though the files appear as VOB files, VLC can not do anything with them.

Last edited by sdowney717; 03-12-2018 at 09:38 AM.
 
Old 03-12-2018, 09:56 AM   #20
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
CD/DVD permissions are not the same as read-write file systems. So, if they're all root it's ok. They can't be changed. The dvd is mounted. But with DVD movies you have to open the device in a movie player, like vlc. Or, if you just want to poke around in the file system, have a go at it.
 
Old 03-12-2018, 10:06 AM   #21
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
CD/DVD permissions are not the same as read-write file systems. So, if they're all root it's ok. They can't be changed. The dvd is mounted. But with DVD movies you have to open the device in a movie player, like vlc. Or, if you just want to poke around in the file system, have a go at it.
I found out Ubuntu can not play DVD's unless...
https://help.ubuntu.com/community/Re...ts/PlayingDVDs
Ubuntu's video player can still not play DVD, but VLC on a reboot can play.

I commented out '#' the fstab line and the DVD video appears in the file manager upfront.
Earlier, even VLC could not play the DVD when running with the fstab line enabled which made the RVD-RAM discs function, so I dont know yet if it will work at all.
 
Old 03-12-2018, 10:12 AM   #22
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
You should be here to see this, I reenabled the line in fstab, then the DVD-ROM disc shows up the name, but if you click on CHRISCRL, claims it can not find the file
You must navigate to /media/cderom to find the file in /media/cderom and VLC can play the disk from there.

But see this is super dumb and very confusing, imagine the usability issues.
At least VLC can do its 'disc open' selection without navigating to /media/cderom folder

Honsetly, how many people could have figured this out regarding DVD usage? Are the other linux distros this bad?
Honestly, using DVD, regardless of what type of DVD should be automatic, mountng etc... without having to configure anything.

I wonder what a DVD+RW will do, it ought to show up as a writeable disc in the file manager, plus ubunut has builtin write iso to disc, I wonder if the added fstab line breaks that?

Ok, a new DVD+RW loads ok in the file manager
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2018-03-12 10-08-55.png
Views:	6
Size:	63.5 KB
ID:	27173  

Last edited by sdowney717; 03-12-2018 at 10:24 AM.
 
Old 03-12-2018, 10:30 AM   #23
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
Well, the fstab line may be killing ability to use CD-RW, and CD-R, everyone I tried does not appear in file manager. Maybe all my CD discs are defective.
K3B is hanging up with a CD-RW in the drive. Eventually gave a not responding message.

I tried another CD-RW and it works, so a bad disc.

Last edited by sdowney717; 03-12-2018 at 10:39 AM.
 
Old 03-14-2018, 04:27 AM   #24
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
I eventually removed the fstab line.
If I wrote a disc in a windows PC, and put it into the linux PC, it would load but be unreadable coming up with serious superblock errors.
Then with the fstab line commented out, it would load in the file manager and work fine, the same disk.

What it seems to me, you must use a program like k3b etc... to write files onto a disc, then they will auto load in the filemanager.

It might be DVD-RAM discs are different, k3b does not seem to like them much. Maybe I need to put in a DVD-RAM, manually mount the disk, then manually move files onto it, I don't know as I am tired of the difficulties.

Windows works differently, you dont need a disc writing program, you can copy files and write them using windows file manager.

I know some people will say it works fine in linux for them just like windows does.
I am kinda worn out with optical disc issues right now.
Windows 10 also has severe DVD-RAM disc issues.

https://www.tenforums.com/drivers-ha...ml#post1318301

Last edited by sdowney717; 03-14-2018 at 04:29 AM.
 
Old 03-15-2018, 08:56 AM   #25
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
For my reference, this allows me to use these disks by manually mounting them, and I can write as ME onto the disks.
The '/media/cdrom' folder priorly assigned chmod 777.

Code:
scott@scott-MS-7596:~$ ls -la /media
total 20
drwxrwxrwx   6 root  root  4096 Mar 15 08:36 .
drwxr-xr-x  25 root  root  4096 Mar 13 06:24 ..
drwxrwxrwx   3 root  root  4096 Mar 13 09:02 cderom
drwxrwxrwx   2 root  root  4096 Mar 13 08:57 cdrom
drwxr-x---+  2 root  root  4096 Mar 15 08:32 scott
drwxr-xr-x   2 scott scott  144 Mar 15 08:37 sr0

scott@scott-MS-7596:~$ sudo mount /dev/sr0 /media/cdrom
[sudo] password for scott: 

scott@scott-MS-7596:~$

Last edited by sdowney717; 03-15-2018 at 08:58 AM.
 
Old 03-15-2018, 09:00 AM   #26
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
I think the main problem was originally that you wanted to automount DVD disks. In vlc you can juust pick dvd, and it will play the dvd. You are just learning Linux. Give it time. After a while everything will work just the way you want.
 
Old 03-15-2018, 12:17 PM   #27
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
I think the main problem was originally that you wanted to automount DVD disks. In vlc you can juust pick dvd, and it will play the dvd. You are just learning Linux. Give it time. After a while everything will work just the way you want.
Yes, wanted them to automount.
Oddly, DVD+RW, DVD-ROM, CD-RW, CD-ROM, CD, etc....all automount.

DVD-RAM do not automount. Wonder why? I would think they should? Is it due to them being UDF file system?

Here is another DVD-RAM, I did a full format and assign default space for error management, set '-ssa=default'
All this worked here.

However, the earlier disk I could write onto as ME, but the same mount command to the same folder, can only write to as ROOT.
Why is that? That /media/cdrom folder is 777 privileges.

Code:
 scott@scott-MS-7596:~$ dvd+rw-format -force=full -ssa=default /dev/sr0
* BD/DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 7.1.
* 4.6GB DVD-RAM media detected.
* formatting 100.0|
scott@scott-MS-7596:~$ sudo mount /dev/sr0 /media/cdrom
[sudo] password for scott: 

scott@scott-MS-7596:~$ sudo umount /dev/sr0

scott@scott-MS-7596:~$ dvd+rw-mediainfo /dev/sr0
INQUIRY:                [HL-DT-ST][DVDRAM GSA-H40N ][RG01]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         12h, DVD-RAM
 Current Write Speed:   3.0x1385=4155KB/s
 Write Speed #0:        3.0x1385=4155KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance:     3.0x1385=4155KB/s@[0 -> 2236703]
 Speed Descriptor#0:    02/2236703 R@3.0x1385=4156KB/s W@3.0x1385=4155KB/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:       00h, DVD-ROM book [revision 0]
 Legacy lead-out at:    2314080*2KB=4739235840
DVD-RAM SPARE AREA INFORMATION:
 Primary SA:            5712/12800=44.6% free
 Supplementary SA:      58368/58368=100.0% free
DVD-RAM WRITE PROTECTION STATUS:
 Persistent Write Protection is off
READ DISC INFORMATION:
 Disc status:           other
 Number of Sessions:    1
 State of Last Session: complete
 "Next" Track:          1
 Number of Tracks:      1
READ FORMAT CAPACITIES:
 formatted:		2236704*2048=4580769792
 00h(800):		2236704*2048=4580769792
 00h(800):		2295072*2048=4700307456
 01h(800):		2226976*2048=4560846848
 01h(800):		2217248*2048=4540923904
FABRICATED TOC:
 Track#1  :             14@0
 Track#AA :             14@2236704
 Multi-session Info:    #1@0
READ CAPACITY:          2236704*2048=4580769792

scott@scott-MS-7596:~$ mkudffs /dev/sr0
filename=/dev/sr0
label=LinuxUDF
uuid=5aaa99e3f2fa6816
blocksize=2048
blocks=2236704
udfrev=2.01
start=0, blocks=16, type=ERASE 
start=16, blocks=4, type=VRS 
start=20, blocks=76, type=ERASE 
start=96, blocks=16, type=MVDS 
start=112, blocks=16, type=ERASE 
start=128, blocks=4, type=LVID 
start=132, blocks=124, type=ERASE 
start=256, blocks=1, type=ANCHOR 
start=257, blocks=2236190, type=PSPACE 
start=2236447, blocks=1, type=ANCHOR 
start=2236448, blocks=96, type=ERASE 
start=2236544, blocks=16, type=RVDS 
start=2236560, blocks=143, type=ERASE 
start=2236703, blocks=1, type=ANCHOR 

scott@scott-MS-7596:~$ sudo mount /dev/sr0 /media/cdrom
scott@scott-MS-7596:~$
Strange but it seems privileges changed on /cdrom folder...
Code:
scott@scott-MS-7596:~$ ls -la /media
total 20
drwxrwxrwx   6 root root 4096 Mar 15 12:08 .
drwxr-xr-x  25 root root 4096 Mar 13 06:24 ..
drwxrwxrwx   3 root root 4096 Mar 13 09:02 cderom
drwxr-xr-x   3 root root  196 Mar 15 12:10 cdrom
drwxr-x---+  3 root root 4096 Mar 15 12:08 root
drwxr-x---+  2 root root 4096 Mar 15 11:14 scott
scott@scott-MS-7596:~$

Last edited by sdowney717; 03-15-2018 at 12:23 PM.
 
Old 03-15-2018, 12:26 PM   #28
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
Last chmod command made cdrom folder 777.

Does that change with every new disk?

Code:
scott@scott-MS-7596:~$ ls -la /media
total 20
drwxrwxrwx   6 root root 4096 Mar 15 12:08 .
drwxr-xr-x  25 root root 4096 Mar 13 06:24 ..
drwxrwxrwx   3 root root 4096 Mar 13 09:02 cderom
drwxr-xr-x   3 root root  196 Mar 15 12:10 cdrom
drwxr-x---+  3 root root 4096 Mar 15 12:08 root
drwxr-x---+  2 root root 4096 Mar 15 11:14 scott
scott@scott-MS-7596:~$ sudo chmod 777 /media
[sudo] password for scott: 
scott@scott-MS-7596:~$ ls -la /media
total 20
drwxrwxrwx   6 root root 4096 Mar 15 12:08 .
drwxr-xr-x  25 root root 4096 Mar 13 06:24 ..
drwxrwxrwx   3 root root 4096 Mar 13 09:02 cderom
drwxr-xr-x   3 root root  196 Mar 15 12:10 cdrom
drwxr-x---+  3 root root 4096 Mar 15 12:08 root
drwxr-x---+  2 root root 4096 Mar 15 11:14 scott
scott@scott-MS-7596:~$ sudo chmod 777 /media/cdrom
scott@scott-MS-7596:~$ ls -la /media
total 20
drwxrwxrwx   6 root root 4096 Mar 15 12:08 .
drwxr-xr-x  25 root root 4096 Mar 13 06:24 ..
drwxrwxrwx   3 root root 4096 Mar 13 09:02 cderom
drwxrwxrwx   3 root root  196 Mar 15 12:10 cdrom
drwxr-x---+  3 root root 4096 Mar 15 12:08 root
drwxr-x---+  2 root root 4096 Mar 15 11:14 scott
scott@scott-MS-7596:~$
 
Old 03-15-2018, 01:24 PM   #29
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Xubuntu
Posts: 5,395

Rep: Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880
I'm sorry I made a mistake in post 5 about the fstab entry. Of course the type should have been given as auto. Then mount would be like pmount and check for the type, finding either iso9660 or ufs.

The other oddities I can't help with, since my CentOS computer has no problems with any sort of DVD and my Xubuntu one doesn't have an optical drive.
 
  


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
K3b 2.0.2: Burning the VIDEO_TS files onto a DVD (DVD-Video format). stf92 General 4 12-13-2014 05:45 PM
[SOLVED] How can I format a DVD RAM? triplemaya Linux - Hardware 13 05-12-2010 01:45 PM
format DVD for UDF works but DVD is bad jrfk2 Linux - Hardware 2 04-25-2006 11:18 AM
LG DVD+-RW/RAM won't mount after writing DVD (growisofs/k3b) jaws_tas Linux - Hardware 1 03-25-2005 02:52 AM
How to play dvd s in regular user account? DVD-RAM How-To? Outabux Debian 1 07-08-2004 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:41 AM.

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