LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-06-2004, 03:31 PM   #1
cvc505
LQ Newbie
 
Registered: May 2004
Distribution: Red Hat 9.0
Posts: 23

Rep: Reputation: 15
samba and permissions Problems


Greetings all, Some day I think I will write a book about how to set up samba.

I have two problem:
First, permissions, I have a vfat partition on my suse9.0 server that I am trying to share as a samba drive to my win2k work stations. My Fstab has the following line in it:

/dev/ida/c0d0p9 /dos vfat rw,user,umask=0000 00

When logged in as root I do the following chown command:

chown CAD:CAD -R /dos

I get a message the says: "operation not permitted"
The current owner is root and current group for /dos is root. I have also tried to do chmod 666/dos and get the same results.

The second problem related to the first somewhat; I have samba3 installed on this machine with the following smb.conf file:

[global]
workgroup=workgroup
security=share

[dos]
path=/dos
read only=no
guest=ok

From my winXP machine I am not able to see the linux box in my network neighborhood but I came search for it and will find it. Although at one point in the setup I was able to see it in the network neighborhood. Since my permissions are wrong, I am able to read files stored in the /dos partition by root but am not able to save a file on this partition.

Anybody have any suggestions as to how to fix these issues?
 
Old 08-06-2004, 03:40 PM   #2
jadermf
LQ Newbie
 
Registered: Jan 2004
Location: Sao Luis- MA - BR
Distribution: red hat 9
Posts: 17

Rep: Reputation: 0
try:
chown CAD.CAD -R /dos
 
Old 08-06-2004, 04:09 PM   #3
cvc505
LQ Newbie
 
Registered: May 2004
Distribution: Red Hat 9.0
Posts: 23

Original Poster
Rep: Reputation: 15
Samba and security

Nope: Tried that and still get the same operation note permitted. mesage.
 
Old 08-06-2004, 05:15 PM   #4
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
The 00 at the end needs a space in fstab, plus if you have a certain user you want to own or group put in after umask=0000,uid=(user id to be owned by),gid=(group you want to be registered). So from what I can see above you would need:

/dev/ida/c0d0p9 /dos vfat rw,user,umask=0000,uid=CAD,gid=CAD 0 0

HTH
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba and permissions aylov Linux - Networking 2 04-29-2005 03:28 AM
SAMBA says 'Samba Server is not accebile, you might have no permissions' Ahmad Gurchani Linux - General 1 01-01-2005 10:34 AM
still problems with write permissions samba share pepijn Linux - Software 1 10-14-2003 04:38 AM
Samba permissions djtsa Linux - Newbie 6 10-03-2003 07:22 AM
Samba Permissions ppuddick Linux - Networking 2 08-02-2002 03:03 PM

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

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