LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-27-2001, 06:18 PM   #1
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Samba win9x niggles


Hi, can someone shed some light on my samba problem.

I can mount samba shares perfectly under win98, and i can rename, delete, move files on the share. My problems arise when i want to copy files onto it like in file manager or such like. I always get an error of 'access denied... make sure it is not write protected....yada yada yada'. BUT i CAN rip mp3's, save *most* files directly to it without a problem. Photoshop doesn't complain, but Word does....

any ideas?

the directory on the remote system is fully writeable...

"drwxrwxrwx 217 root root 32768 Aug 28 00:09 mp3"

and the bit in smb.conf...

[mp3]
comment = Da Choons!
path = /mp3
writeable = yes
public=yes

erm.. what else... share level rights, all users mapped to root (i know it's bad officially.. but it's really not an issue!)

Can't think of anything else relevant... so any ideas?
 
Old 08-27-2001, 06:32 PM   #2
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Users?

Hello
I had similar problems. Turned out that I'd forgotten to officially add my linux user account to the samba users. The windoze accounts worked fine, but I forgot that the account on the linux box was slightly different. I tried to use linneighborhood (US spelling) and kept getting password probs. It was only when I installed RH7 on my laptop and tried to access my shares that I figured it.
Jim
 
Old 08-28-2001, 05:15 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Original Poster
Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Nope... no joy.

The problem seems to be because it's a vfat drive i'm trying to share, as the equivalent rights in smb.conf let me access ext2 shares perfectly.

But i've done everything i can think of, and have foudn out, to make the drive writeable.

I thought it worked fine from linux, but actually it's just the same.
ls -l from a remote machine to the mounted share gives rights of drwxr-xr-x for EVERYTHING includeing the directory itself.





i also chaged my fstab on teh remote machine to..
/dev/hdb1 /mp3 vfat defaults,uid=0,gid=0,umask=000 0 0

but the drive works fine locally, and also by remote linux access... it's just copying files to it (and *SOME* (!!) save operations) from win98 that dont work... ARGH!
but the rights change via samba...

Last edited by acid_kewpie; 08-28-2001 at 05:33 AM.
 
Old 08-28-2001, 04:08 PM   #4
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Look in your smb.conf there's an entry for create mask, or create directory mask. Set this to the 0777 and see what gives.
Jim
 
Old 08-28-2001, 04:44 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Original Poster
Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hmmmmmmmmm

well the masks were already set to 0777

'force directory mask' and 'force create mask' had no effect. 'inherit permissions' didn't seem that interested either.

the mask don't seem to affect anything, setting it to 0000 doesn't change anything! still stuck in the default mode 0755

nrgggggg!! Is there nothing sitting on top of this that is preventing it changing them? Like i said before they're set to 777 on the local machine...

-------------------------
10 minutes later.....
-------------------------
hmmm yeah there was somethign sitting on them, the options in /etc/fstab as far as linux was concerned. OK, so now under linux i can copy any file to the share as any user. the same problem still occurs under windows... so i presume this means that my smb.conf must be ok if linux likes it now. But copying to ext2 works perfectly.... I also can't copy to the shared directory when it is simply mounted as a sub dir in a share of teh eintire system...

/ <--shared ext2
--- home
|
--- mp3 <-- shared vfat
|
-- public

but the directory has umask 777!! argh! Maybe i should stop repeating myself.

Last edited by acid_kewpie; 08-28-2001 at 05:17 PM.
 
  


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
Kaffeine file association problems (and some other niggles ;p) mansizerooster Linux - Software 1 09-15-2005 06:58 PM
Group Policies (Win9x) and Samba pirx Linux - Networking 4 02-05-2004 10:15 AM
Samba win9x problems help! Tension Linux - Networking 2 01-11-2004 11:27 AM
URGENT!!! linux with samba, win9x clients with foxpro serj Linux - Software 6 09-08-2003 09:48 AM
Samba Conectiva 6 and win9x kblo Linux - Networking 1 03-01-2002 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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