Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-06-2004, 03:31 PM   #1
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:


read only=no

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
LQ Newbie
Registered: Jan 2004
Location: Sao Luis- MA - BR
Distribution: red hat 9
Posts: 17

Rep: Reputation: 0
chown CAD.CAD -R /dos
Old 08-06-2004, 04:09 PM   #3
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
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



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
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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration