LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Problem setting up Samba server on Ubuntu - permissions?! (https://www.linuxquestions.org/questions/linux-server-73/problem-setting-up-samba-server-on-ubuntu-permissions-809182/)

allpwrfulroot 05-20-2010 07:27 PM

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:
[Share]
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://blah.someplace.edu 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.

Aneeshvm123 05-21-2010 04:31 AM

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

Blue_Ice 05-21-2010 04:42 AM

You need to set the correct linux filesystem permission on /home/something/Share as well.

allpwrfulroot 05-30-2010 10:02 PM

Yes, that seems to have resolved things. That was more complicated than I expected. :P


All times are GMT -5. The time now is 03:11 PM.