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 03-15-2013, 11:45 AM   #1
Registered: Feb 2013
Posts: 32

Rep: Reputation: Disabled
Samba Directory Creation

I suspect the answer to this is probably because XP doesn't play nicely - but I'd still like to solve it.

I have a OpenMediaVault file server (Debian) which has a Samba share, which is basically setup so that anyone on the network can write to it.

If I create a directory on the share, from an XP machine all works fine, as it does if I create a sub-directory.

However when I connect from a Mint Desktop using

sudo mount --verbose -t smbfs //openmediavault.local/workshop/alldata -o rw /mnt/alldata
I can create the initial directory, but not the sub directory.

When I go and look at the permissions for the directories, only they are "drwxr-xr-x" (the root of the share is full write permission) so linux is prevent me from creating the second sub directory, where as xp lets me.

Using mkdir -m777 makes no difference to the directories that are created, and chmod is not permitted.

How can I make linux behave how xp does?
Old 03-16-2013, 12:39 AM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,990

Rep: Reputation: 1100Reputation: 1100Reputation: 1100Reputation: 1100Reputation: 1100Reputation: 1100Reputation: 1100Reputation: 1100Reputation: 1100
smbfs has been deprecated. Try using cifs instead.
Old 03-16-2013, 01:33 AM   #3
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 169

Rep: Reputation: Disabled
may be permission issue with the root directory..
are you using same samba user from win xp and mint to connect to samba share?


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
creation of a private directory? sabahh Linux - Newbie 8 09-17-2009 07:21 AM
Changing directory default creation mask for specific folder - NOT samba. maginotjr Linux - General 3 01-21-2009 09:36 AM
verify directory creation shifter Programming 5 06-28-2007 02:28 AM
FC6 Directory Creation? EternalDecoy Fedora 2 11-21-2006 12:29 AM
Creation of file and directory with same name chack Linux - Newbie 6 01-24-2005 10:41 PM

All times are GMT -5. The time now is 02:36 PM.

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