Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8926547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:59:40+00:00 2026-06-15T07:59:40+00:00

I have setup Samba between two linux boxes (Ubuntu Desktop 12.10 and Ubuntu Server

  • 0

I have setup Samba between two linux boxes (Ubuntu Desktop 12.10 and Ubuntu Server 12.04). For some reason I cannot write to my samba share. To me it looks like I have the correct permissions. Below is my smb.conf, the filesystem permissions, and the steps I followed. I definitely have it misconfigured but I cannot find out how. Any help would be appreciated. Craig

  1. Created a user in ubuntu server (craig)
  2. Created a user and password in samba “smbuseradd -a craig” set the password
  3. Mounted the samba share from linux desktop. This seemed to mount just fine
  4. Attempted to write a file and it says that I don’t have write permissions

Permissions on the server when viewed from the server “drwxrwxrwx 4 Craig Craig”
Permissions when viewed from ubuntu desktop “drwxr-xr-x 0 root root”

[global]
follow symlinks = yes
wide links = yes
unix extensions = no

workgroup = Ubuntu Precise
security = user

unix password sync = yes

[homes]
comment = Home Directories
browseable = yes
writable=yes
create mask = 0777
directory mask = 0777
guest ok = yes

[share]
comment = Precise File Server
path = /home/craig
browsable = yes
guest ok = yes
read only = no
writable = yes
create mask = 0777
directory mask = 0777

EDIT:
If I open my samba share as root then I can write to the folders. I tried doing a chmod and chgrp but that didn’t seem to have any impact. I would prefer not to have to browse/write as root 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:59:41+00:00Added an answer on June 15, 2026 at 7:59 am

    Ok, figured it out. It wasn’t in my samba settings. The error was actually in how I was “permanently” mounting my samba share.

    I was doing:

    //192.168.1.11/craig /home/craig/musicServer cifs username=craig,password=MYPASSWORD 0 0
    

    but I needed

    //192.168.1.11/craig /home/craig/musicServer cifs username=craig,password=MYPASSWORD,file_mode=0777,dir_mode=0777 0 0 
    

    Adding both file_mode and dir_mode solved it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

my current setup is as follows: We have a Linux samba share that contains
Have setup an ssl connection app, have already setup connection between client and server
I have setup ability for a user to specify some settings using the in-built
I have setup mappings for a number of classes, however in some scenarios I
I have setup some simple associations in my rails app: resources :properties do resources
I have setup Codeigniter on my server and I installed Grocery crud on it.
I have setup git server via ssh (one git account and many different public/private
I have a samba network share on a FreeBSD box that I use for
I have setup web dav on windows server 2008. It seems to work fine
I have setup a basic WCF client/server which are communicating via Named pipes. It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.