LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-15-2013, 11:45 AM   #1
dragonfly-uk
Member
 
Registered: Feb 2013
Posts: 36

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

Code:
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
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,575

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

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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