Samba and CD shared

Hi,
      I recently upgrade my Linux to 2.0.29 version and samba 1.9.16p10.
      Now, my cdrom (Sony CD33A) directory is a share, but I can't run any program or open any file from W95. Win reports:

      Can not open the file..... when I make a double-click in a .txt file
      The media is write-protected... when I make double-click in a .exe file

      I can browse th cd perfectly.
      All others shares over ext2 and msdos FS are OK.
fsimoAsked:
Who is Participating?
 
dirgeConnect With a Mentor Commented:
Hi. I know this is back-to-permissions, but this worked for me, strangely enough:

chmod g+s /cdrom

where /cdrom is the mount point.
0
 
unicorntechCommented:
It sounds to me like the permissions have changed. make sure that the permissions for the shared CD drive have the read, write and execute bits set on it

ie chmod 777 username sharedir

This should fix the problem.

Regards,

Jason
0
 
fsimoAuthor Commented:
Permission has not changed, and are equal to oders shares
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
shaneo072197Commented:
Right,,
      Seems like this is a problem with the smb.conf file..
      
Heres the cdrom bit from mine..

[CDROM]
      comment = cdorm
      path = /mnt/cdrom
      public = yes
      writable = yes
      printable = no
      write list = @staff

try that ..
Shane
0
 
fsimoAuthor Commented:
I try with

     write list = @staff

and
 
     write list = fsimo

It doesn't work. The other params are same.
Thanks anyway
0
 
alexbikCommented:
Could it be a problem with upper and lowercase filenames?
I had the same problem once on a harddrive with '95 clients.
Adding the entries case sensitive = no to smb.conf solved
the problems in my case.
0
 
fsimoAuthor Commented:
I'm very sorry, but nothing seems work.

I'll get the source distribution and recompile it
0
 
sfavreCommented:
Try a read only share device , make sure that your cdrom is mount before starting samba and try this configuration ...

[CDROM]
comment = cdorm
path = /mnt/cdrom
public = yes
writable = no
printable = no
0
 
fsimoAuthor Commented:
I tryed it already.
0
 
handrichCommented:
Hi

I have the same problem, my solution was to install the MARS-NWE
Novell server emulation and it worked fine
This software can be found at
http://www.SerNet.DE/vl/linux-lan/

Regards
Michael

0
 
unicorntechCommented:
When you omunted the cdrom under linux is it mounted RO (read-only) for local users to that system. My guess is that there is a file perms problem still and it could well have something to do with the mount. Check your mount parameters and let me know how you go...

Regards,

Jason
0
 
handrichCommented:
Hi Jason Unicorntech,

i had the same problem with Samba but not with marsnwe.
So i think it has nothing to do with permissions.

Regards Michael
0
 
fsimoAuthor Commented:
No... The permissions are allways RO for a RO device.
I have Samba for 2 years and never have this problem with CD.
Now, I download the latest Samba source I will recompile it...
How konows?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.