LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-10-2005, 11:06 PM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
755 permissions via samba for a CDrom or DVDrom... howto in debian?


after digging around for a bit i keep getting pointed to a file that does not exsist in debian or so the searches have told me to set permissions to a device that is mounted by an other user.

all i want to do is something that is 2 clicks in windows.

i have a DVD player in my media box that plays DVDs perfectly for my little setup. problem is DVD::RIP has turned into a bit of a pig and wants to use somehting like 20G of space to take one of my kids DVDs and convert it to an avi file that will end up only being 700M. i have almost 7G free on that partition yet i get out of space errors... *very pissed about that btw*

so fine ill share the flipping DVD drive via samba and just use nero in windows to convert the DVD to an avi file and move it to the proper location on my LAN.

well i can see the files, but can not access them either from my windows box or from my laptop running debian linux (exact same vs as is on my media box). in fact when i try to play any of the VOB files on the laptop i am told i do not have the permissions to access the file or the file does not exsist. well we know it exsists as kaffeine was able to navigate to the share and read the file.

in windows i would right click on the drive, click on sharing, set the permissions to what ever i want (755 would be a linux equivilent) and then click OK. 5-10seconds later it is done.

WTF is wrong with linux that i can not at least do something simular as share a flipping DVD player via the LAN and gain access to more then just reading the directory of files. the entire reason for creating a share in the first place is to access them from more then 1 point in a LAN. well that is what i want to do. i want to access the DVD from any other computer on my LAN without being told i do not have permissions.

i can not chmod or chown as i get errors. hello root can do as it pleases, why can root not do the above?

i know it can work as the local user can gain full access to the drive to (read and execute) permissions to the drive so why not a local user?

###############really pissed about this lack of controll of my hardware in a system that is supposed to be the most freedom when it comes to controll#############
 
Old 03-13-2005, 01:39 PM   #2
doc.nice
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Debian
Posts: 274

Rep: Reputation: 34
mount your dvd rom with gid=users,mode=660 and there you go
(mount -t ufs -o gid=users,mode=660 /dev/dvd0 /mnt/dvd)

replace users with a group name of your wish and/or use uid for a specific user. I don't know if the paths are correct, just use the right ones...
you could add/modify the line in /etc/fstab and/or /etc/samba/smb.conf to include these settings...

"man mount" and "man fstab" should help...

hth,
Florian
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrom/dvdrom mount problem salahuddin_66 Slackware 3 05-23-2004 11:17 AM
installing debian 2.1.8 on a thinkpad 755 dontuhatepants Linux - Laptop and Netbook 0 03-25-2004 01:01 AM
Help DVDRom detected as CDRom Kwiki Linux - Newbie 1 01-19-2003 10:46 PM
DVDROM-device points to the wrong hd.. howto fix? Debianewb Linux - Hardware 2 10-28-2002 08:05 AM
Help with my cdrom/dvdrom trentk Linux - Newbie 12 02-14-2002 08:55 PM

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

All times are GMT -5. The time now is 11:25 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