Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-20-2010, 07:27 PM   #1
LQ Newbie
Registered: May 2010
Posts: 7

Rep: Reputation: Disabled
Problem setting up Samba server on Ubuntu - permissions?!

I'm attempting to set up a Samba share on my lab's small server (Ubuntu Server Edition, 10.04). It looked easy enough, but the share that I set up didn't allow anyone to actually put anything on it: no uploading stuff, etc. (You can still upload files via the command line, so I implemented the unix extensions = no fix).

The share is writeable and visible, and anyone can access it (according to the Samba GUI). According to the smb.conf:
path = /home/something/Share
writeable = yes
; browseable = yes
guest ok = yes

(Although I really want to kick out guests later.)

The other Windows machines in the lab see the new server and its share automatically, although they can't make changes to it, like create a new folder in the share.

Most of my lab uses Snow Leopard (OS X 10.6), and a few others use Windows. I can connect to the server using my MacBook either through the terminal or Finder -> Go -> Connect to server -> smb:// without problems. I can do pretty much anything via the command line, but not through the Finder! If I want to create a new folder, it gives me an old-school error message (stupid blue face): "The operation can't be competed because you don't have the necessary permission." If I want to drag-and-drop a file from my desktop to the Share folder, I get a pop-up window (lock + blue face): "Type your password to allow Finder to make changes." If I do, then I get another pop-up: "One or more items can't be copied to "Share" because you don't have permission to read them. Do you want to copy the items you are allowed to read?"

Windows users are also having a hard time connecting to the Share folder, but they're on their own. :P

I don't know what to do. Please help me.
Old 05-21-2010, 04:31 AM   #2
Registered: Aug 2008
Location: Kerala
Distribution: Redhat Linux
Posts: 30

Rep: Reputation: 0
Please check the Permission of the Directory that you Shared through Samba Service....
Please give the Apropriate Permission to the Directory /home/something/Share
Set Createmask and Directory mask for best working
Old 05-21-2010, 04:42 AM   #3
Registered: Jul 2006
Location: Belgium
Distribution: Debian, Fedora, CentOS, Windows
Posts: 361

Rep: Reputation: Disabled
You need to set the correct linux filesystem permission on /home/something/Share as well.
Old 05-30-2010, 10:02 PM   #4
LQ Newbie
Registered: May 2010
Posts: 7

Original Poster
Rep: Reputation: Disabled
Yes, that seems to have resolved things. That was more complicated than I expected. :P


leopard, permission, samba, snow

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
RNDC Permissions Problem on Ubuntu Server debianfan Linux - Server 3 04-06-2010 09:02 AM
Vista/Ubuntu/Samba Permissions Problem phildacey Linux - Server 1 03-30-2009 04:47 AM
[SOLVED] Strange intermittent permissions problem on Ubuntu 8.04 server edition Plastic Freddie Linux - Server 1 11-17-2008 03:30 AM
Problem setting up Samba Print Server on Fedora Core 5 Randvegeta Linux - Server 1 06-14-2008 11:03 AM
Problem setting umask and default file permissions on ubuntu 7.04 server with xfs a2brute Linux - Server 1 05-22-2008 04:57 AM > Forums > Linux Forums > Linux - Server

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