|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper Build Web 2.0 Applications Without Hand-Coding Download now! |
|
#1
|
|||
|
|||
|
Can't create dirs on samba-shares
I've posted this in both the linux and the *bsd forums, cause samba should be the same on either one.
Anyway, I can't create dirs on samba-shares. It worked on another freebsd-box i have. I just copied the smb.conf and set up samba the same way as I did before. However, now, on this new machine, I can't create dirs. Although I can read/write/create/rename/delete any file, AND read/rename/delete any dir. Under [global] I have; security = user directory mask = 0755 # even tried 0777 (and 7777) (and some other parameters that probably has nothing to do with creating dirs) [somedir] path = /somedir public = false writeable = true printable = false /somedir has been chmoded to 777 and is owned by the same user connecting to the share. With log level = 9, the log-file says; unix_convert called on file "\folder" unix_clean_name [/folder] Checking folder for 8.3 unix_convert begin: name = folder, dirpath = , start = folder New file folder is_in_path: folder unix_clean_name [folder] stat of folder failed (No such file or directory) I don't get the "stat of folder failed (No such file or directory)" line. Any suggestions? |
|
#2
|
|||
|
|||
|
DONīT CROSS-POST! Itīs a very bad habit and there is no excuses for it!
maybe the "create-directory-mask" parameter? hard to tell without the complete smb.conf (dont post it, but upload it via "attach file" vv down there vv plz)
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
1) Since there's no Samba-forum, and most Linux users who use Samba doesn't read the *BSD-forum, and vice versa, one would reach more users this way.
2) There's no such parameter as "create-directory-mask". 3) I've already said that I currently use "directory mask = 0755", but have tried 0777 and evn 7777, but it didn't work. 4) Why do you need to see all of my smb.conf-file? I've already shown you the parameters associated with directory permissions. The question is, why did you even bothered to answer my post? |
|
#4
|
||||
|
||||
|
Your intention of reaching more users doesn't justify cross posting. It is a very bad habit and it rightly pisses people off seing the same topic in multiple forums. Read some guidelines for more information...
Anyway, there's a variable called create mask that you could play with... //NoXcuz
__________________
UN*X is sexy! who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep |
|
#5
|
|||
|
|||
|
Then what justifies cross posting? Nothing?
Anyway, I've tried create maske, and also force create mode. But it didn't help. I'm beginning to believe that it's not Samba that's giving me headaches. |
|
#6
|
|||
|
|||
|
The way I see it you need to check that the filesystem on your linux isn't mounted as read only, and then you can set the option "security users=someuser" and se if someuser can create dirs or copy files to the share your having problems with.
If this user can't take full controll over your share, then you've done something very odd. Good luck! |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Can't create dirs on samba-shares |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|