Smb file sharing ownership and creation mask

I'm using smb for file sharing with lion. I've created a file sharing only username and password.
The file sharing works as I'd expect with one caviat, the files created are read/write permission of
the file sharing only account. In unix terms the file permissions are set to 600 not 666 or 644.
I'd like to change the file creation mask to 666 (user r/w, group r/w & world r/w) or even 644.
my /private/var/db/samba/smb.shares file
contains these 2 lines for the [Myuser Public Folder] section:
create mask = 644
directory mask = 755
However it doesnt appear as if its honoring these settings.
Alternately if this cant easily be fixed, how can I get a file sharing user
account to write files to my public folder as a different system user?

I have seen many topics created on these discussions with regards to the SMB functionality failing on Time Capsules after 10 mins of operation. Restarting the Time Capsule seems to bring back the SMB functionality but again it stops after 10 mins.
I am not sure if I have a Time Capsule dual band "I" or "II", but I have the firmware 7.4.2 installed on it.
I also read elsewhere that downgrading the firmware to 7.3.2 makes the SMB sharing work again. However, on my model this is not possible since I am using the dual-band model which never had a 7.3.2 firmware version.
So anyone out there have some new tips on this?
I find it crazy that others have called Apple about this problem but Apple support did not verify it and fix it. Really? I am tempted to call myself and try it out because it clearly is problem with every single Time Capsule model!

Similar Messages

  • Mountain Lion Server and SMB file sharing

    We have in our company data center two Macs, a Power PC 8GB ram with Leopard 10.5.8 and a Mac Pro Quad Core Nehalem 32GB with Mountain Lion 10.8.3 and OSX Server 2.2.1.
    The Power Pc SMB File Sharing, with the limit of 10 concurrent users, it works perfectly.
    Instead, the Mac Pro SMB File Sharing drops randomly SMB sharing with the consequent loss of the changes made by Client to opened files.
    Is there anyone else with the same problem?
    Is there any solution, in addition to turn off the Mac Pro and switch to a Windows server?

    Yes. It works good however a few tweeks necessary. In parallels configuration I had to change the 1 CPU setting to 2 and allowed a bit more memory. Before that things where a little slow in the virtual macine. Hopefully you are operating with a quad core.

  • Smb file sharing

    We have in our company data center two Macs, a Power PC 8GB ram with Leopard 10.5.8 and a Mac Pro Quad Core Nehalem 32GB with Mountain Lion 10.8.3 and OSX Server 2.2.1.
    The Power Pc SMB File Sharing, with the limit of 10 concurrent users, it works perfectly.
    Instead, the Mac Pro SMB File Sharing drops randomly SMB sharing with the consequent loss of the changes made by Client to opened files.
    Is there anyone else with the same problem?
    Is there any solution, in addition to turn off the Mac Pro and switch to a Windows server?

    Same problem here with Mountain Lion. Really anxious for a fix!

  • STILL can't disable SMB file sharing because of incorrect password error

    Hi Everybody,
    A few weeks ago, there was a thread at
    https://discussions.apple.com/thread/3211072
    I'm having the same issue, and it's a real security problem, since I have no way of turning off file sharing for a user account.
    The thread discussed the inability to disable SMB file sharing because Lion returned an incorrect password error message for the shared account -- even when the user typed in the correct password. A user named SanderFromH offered a fix at
    https://discussions.apple.com/message/16773220#16773220
    It involves locating and copying the file at /var/db/dslocal/nodes/Default/users/<user>.plist
    Is this the only way people know to fix this issue, or has anyone found an easier way? If no, can someone please tell me how to locate this file. When I search spotlight for a directory called dslocal, I find nothing. Can someone please provide step by step instructions for fixing this issue?
    Thanks so much.
    G

    Hi, and welcome to the community!
    So was this Spotify account originally created with facebook and not created with Spotify then linked to facebook? It sounds like it if you login with an email.
    Can you log in on the Spotify web player?
    Anthony

  • Why the mac claim that the user password that i enter in the smb file sharing settings is incorrect although it is correct?

    why the mac claim that the user password that i enter in the smb file sharing settings is incorrect although it is correct?

    Maybe the Caps Lock key is lighted?
    Is your Apple ID password the same as your user password?

  • Lion SMB File Sharing with Windows 7 stops working after reboot

    I'm running my macmini with lion 10.7.1.  I have switched on File Sharing and ticked 'Share files and folders using SMB (Windows)' and ticked my user account.  Using the same account name and password on windows and I can access the shares on the macmini fine.
    Soon as I reboot the macmini the sharing stops working and Windows just prompts for a username and password.  If I disable and enable file sharing again on the macmini then windows can access it again just fine, reboot the mac and it stops again, is this a bug in Lion or have I not got it setup correctly?

    Whatever the issue is, it's still happening for me in 10.7.2

  • Lion SMB file sharing with windows "Access Denied"

    In general SMB (windows) file sharing works fine on my home LAN (for Mac and Windows PCs).  However, Adobe Flash CS3 for Windows (Win7x64) yields an "Access Denied" error trying to open any FLA file shared from my Mac Mini home server running Lion.  I have double checked the permissions, and the client windows box is signing in with the correct user/password to have r+w priveledges to the files in question (rw-r--r--/644).
    Copying the files locally resolves the issue (but isn't a good long term solution of course).
    Is Flash is trying to take some sort of file lock that Lion's SMB/CIFS implementation doesn't support?  Any ideas?

    I have this issue as well. and I have it on multiple configurations. My windows machine can't open an fla file on a osx lion share. another person working on the same project (on a different network setup) can't to it either. seems like something broke with lion that was working perfectly fine on snow leopard.

  • Entire "Macintosh HD" shared through SMB File Sharing

    I have OS X 10.5.6 installed on my Apple MacBook. I recently enabled File Sharing (SMB). On my Windows XP laptop, navigating to \\macbook now shows the entire "Macintosh HD" as a shared folder. I wasn't even asked for login credentials for my Mac's user account.
    File permissions, using the "Get info" function on the Macintosh HD show:
    system: read & write
    admin: read & write
    everyone: read only
    I don't know about anyone else, but this is a glaring security issue.
    I don't want to tinker with messing with file permissions at the root of the drive, as I have a feeling that could cause some major chaos to all the subordinate folders.
    Solutions?

    I don't have a picture sharing site account to use, so I can't post any screen shots. Hopefully, I can describe it well enough.
    Say you have a user account called 'bob' on your Mac. On your Mac, bob is an admin user and therefore has access to your entire Mac. If you log into your Mac as bob, you can see everything.
    Nothing changes if you log into your Mac from a Windows machine as bob. No matter how bob logs into your Mac, directly to the machine, from a windows machine on you network, or from a dumb terminal in the basement of a hangar on Area 51, bob will have the same access to your Mac.
    In the File Sharing options, when you select the account for bob, the entire account is shared. You essentially said, "let 'bob' log into this machine using SMB."
    If you just select the option to share files via SMB, you can set access to specific folders for particular users. You can even make up new users that don't have an account on the Mac, but can access folders that you specifically give them access to.
    So, for what you want, don't select an account to share via SMB, just select "Share files and folders using SMB."
    Now, at the bottom of the file sharing dialog, Add the folders you want to share. Choose the users you want to have access to those folders and set the type of access, Read & Write, Read Only, or Write Only. If you want to create a username and password to access those folders, without having an account on the Mac, Add a person and choose "New Person." That person will be a "Sharing Only" user. You can't log into the Mac as that user, but you can access the specific folders you have set up.

  • SMB File Sharing just stopped working

    About 3-4 days ago I found I could not connect to my MacPro via ANY of my computers, Mac and PC alike. If I do a "+netstat -an | grep LIST+" I do see...
    tcp4 0 0 *.139 . LISTEN
    but if I do a "+lsof -nl | grep LIST+" all I get is...
    GoogleDes 174 503 5u IPv4 0x7011e64 0t0 TCP 127.0.0.1:profilemac (LISTEN)
    AppleVNCS 178 503 4u IPv6 0x5c66b2c 0t0 TCP *:vnc-server (LISTEN)
    and don't see any other listening services. Perhaps the two most glaring items is that when I look in /private/var/log/log.smbd file I see this...
    2008/07/20 18:48:47, 0, pid=13382 /SourceCache/samba/samba-187.7/samba/source/profile/profile.c:profile_setup(241 )
    ERROR: we did not create the shmem (owned by another user, uid 503, gid 503)
    2008/07/20 18:48:47, 0, pid=13382 /SourceCache/samba/samba-187.7/samba/source/smbd/server.c:main(915)
    ERROR: failed to setup profiling
    ... and if I do "+launchctl start org.samba.smbd+" I get this...
    launchctl start error: No such process
    and if I do "+smbclient -L localhost+" I get this...
    Receiving SMB: Server stopped responding
    protocol negotiation failed
    And yet under System Preferences->Sharing I have "File Sharing" checked, a shared folder set up and myself as the user with Read/Write privileges and under options SMB is checked and I have my name checked under "account". This is as it has been for months.
    Obviously my Samba is "injured" and I've run out of ideas on how to fix it short of reinstalling my OS and NOBODY likes reinstalling their OS... nobody.
    Anyone have any ideas on what might be going on or more importantly how to fix it? Nothing... absolutely nothing changed on my Mac side when this happened... hadn't even done a reboot in over three weeks.
    I'm baffled.
    TIA

    I had the same issue,
    [2008/12/29 17:32:03, 0, pid=20851] /SourceCache/samba/samba-187.8/samba/source/profile/profile.c:profile_setup(241 )
    ERROR: we did not create the shmem (owned by another user, uid 501, gid 501)
    [2008/12/29 17:32:03, 0, pid=20851] /SourceCache/samba/samba-187.8/samba/source/smbd/server.c:main(915)
    ERROR: failed to setup profiling
    From Terminal I ran
    % ipcs -m
    T ID KEY MODE OWNER GROUP
    Shared Memory:
    m 65536 0x07021999 --rw-r--r-- langdt langdt
    m 65537 0x60022006 --rw-r--r-- langdt langdt
    I saw two shared memory entries owned by me (langdt uid 501), I assumed that smbd was trying to run as root and failing because the shared memory already existed. To remove the shared memory
    % ipcrm -m 65536
    % ipcrm -m 65537
    Then smbd was able to start and create the shared memory that it required, rerunning ipcs I could see the shared memory now owned by 'root'.

  • SMB file-sharing only works if Firewall is Disabled

    On my Mac, I've turned on File Sharing, enabled SMB sharing, and set the firewall to "selected services and applications" (SMB is listed as a service in the firewall application list). I cannot connect to the Mac from a Windows XP machine.
    If I turn the firewall off, however, I can create a connection and transfer files from the PC client side. In addition, once I have established a connection I can then re-enable the firewall and continue transferring files.
    Has anyone else seen this?
    Jeff

    file sharing seems to be working... you will probably have to authenticate prior to beginning the file transfer though, so that is likely what is failing in the first instance.

  • SMB File Sharing - Account Disabled

    I am unable to get SMB sharing working on my Mac Mini under Yosemite.  While I have seen several postings about NTLMv2 sharing and the Windows Registry Key LmCompatabilityLevel, I don't think I'm far enough to use that option.  I am unable to fully turn on SMB sharing as the check-box next to my account is disabled. 
    I am logged in via my iCloud account.  Could that be part of the issue?  This is rather vexing, so if anyone has any pointers, I'd be greatly appreciative. 
    Thanks.

    file sharing seems to be working... you will probably have to authenticate prior to beginning the file transfer though, so that is likely what is failing in the first instance.

  • File sharing problems and horror story (nearly)

    I use Leopard on a MacBook Pro, a MacBook and a iMac G4 800 MHz (unsupported model).
    I have on the iMac and the MacBook Pro many users (the same ont he two machines) and I always use Fast User Switching.
    I have had very few problems with Leopard until now; I like it even if there are some glitches or some new features which are not my cup of tea (hierarchical menus missing from the dock, stacks useless when there are many items, FireWall impossibilities (?) to open specific ports, Back to my Mac working on a Lan but not from outside until now, problems with a few apps (Parallels networking erratic), ...
    Now about File Sharing.
    Let say my main account is user1 (Administrator), and I have another user2 also administrator, plus user3, user4 standard users.
    On the iMac I activate File Sharing.
    On the MacBookPro, as user1, if I connect to the iMac Server (using afp://IPaddress_of_theiMac/) I do NOT get the dialog
    "Enter your user name and password to access file server YYY
    Connect to server as Guest or as Registered User"
    but I directly get the dialog
    "Select the volumes you want to mount on YYY"
    From this, if I select user1 it mounts with full read/write permissions which is normal. It appears that I am connected with my Apple account user1&mac.com (same as mentionned in the Account panel of System Preferences).
    On the other hand, if I try to connect to the user2 account, I only get limited access although in the File Sharing Preferences, user1/iMac is mentionned with full Read/Write preferences for the Home Folder of user2.
    What is very surprising is that if I log on the MacBook Pro as user2, or user 3 or user4, then connect to the iMac, I first get the dialog to enter a user name and a password. This gives me access with the correct full permissions on user1/iMac or user2/iMac using the corresponding user name/password pair; this is the usual behaviour which is missing when trying to connect from user1/MacBook Pro.
    Now for the Horror Story!
    Trying to understand what was going on with the permissions of the user2/iMac account, I logged in to the iMac as user1, went to the Users folder and from there had a look on the informations about user2 home folder. In the lower part of the pannel, Sharing & Permissions says "You have no access" (which is normal) and this is followed by a table where users and permissions are listed. It seems user1 has Read and Write access in contradiction with the preceding phrase...
    Anyway, I tried to modify these authorizations for user2 by clicking on the lock of the Information pannel and entering name and password of the administrator. Didn't go farther than that. By mistake, I hit Command-Delete and user2 was GONE from the list AND NOT ONLY from the list in the Information window! Using Fast User Switching and going to user2, nothing left on the Desktop and NO Home anymore.
    In the System Preferences/Accounts panel, user2 was still mentionned.
    In the Users folder, no user2 folder anymore.
    Using once again Fast User Switching, I logged as user2 and got by magic an all new Home. Nothing left in Documents, Library or other user1 folders. Standard settings for icons, dock, etc.
    My first move has been to use a very recent backup to restore everything (Thank you Mike Bombich from Copy Cloner!).
    Once everything was back to normal, I had a look at the Trash from user1 and guess what, the Home folder of user2 was there, complete.
    So now I am left with two questions
    why is it I do not have the same dialogs when connecting from all the accounts although as far as I can see, configurations are the same?
    why is it possible, from an Information pannel to delete the account of another user?
    Thank you all for comments!

    For the file sharing problems, answer is found in
    http://docs.info.apple.com/article.html?artnum=306723

  • Difference between File Sharing, Dropbox, and Public Folder?

    I have this MBP out front & my Mac Mini in back. I'm comparatively new to networking, altho I've used File Sharing (FS) & Dropbox (Db). It seems now, there are a myriad of ways to sync my two computers. (ICloud is also used, just for Mail & iCal, since those are the only two I have that Apple allows on iCloud. I have the computers networked w/ an Airport Extreme. That all works flawlessly.)
    I'm aware of Apple's Drop Box, but it doesn't work since the two computers are over 30' apart.
    The three subject features all do the same thing, I believe, so along with this question, I'm asking which of the 3 is preferable. Dropbox confuses me because it refers to the Public Folder, when it seems only necessary to drag a file to the Db folder, rather than the Public Folder. Anyone know where the Public Folder fits into the Db scheme of things? Or even into the FS scheme of things? Or even into the total file sharing/snycing landscape? My hunch is to ignore the Public Folder.
    As to File Sharing, if I opt for this, then I don't need Db or the Public Folder. Right? The problem w/ FS is that both machines need to be up & running (and not in a Sleep mode). Also, FS is irrelevant when it comes to the Web. On top of all this, most apps come w/ the capability to upload files, photos, etc., for the Web. I'm in a situation where I need to keep track of what I'm sharing, whether it be through FS, Dropbox, or the Public Folder.
    I would really like to simplify my workflow by settling on just one means of syncing my two computers. I'm aware that Db is good for sharing files not only between my 2 Macs, but putting stuff on the Web.
    How do some of you share data between computers? What do you go with? All 3, 2, or just one? How do you keep things straight?

    I'm aware of Apple's Drop Box...
    You mean AirDrop.
    The three subject features all do the same thing, I believe...
    No, they're entirely different.
    File Sharing is a file service that works over a local network.
    Dropbox, which I've never used, is a cloud-based storage and file-synchronization service.
    The Public Folder is the subfolder of your home folder that's accessible to other users of the same computer, and also to other users on the network if File Sharing is active. (The term "Public Folder" may have another meaning in the context of Dropbox.)
    How do some of you share data between computers?
    There are many ways to do that, in addition to the ones you mentioned. It's not really clear what your requirements are.

  • I clicked all the buttons in the file sharing window and now my iMac will not turn on.

    I really goofed. I clicked all the buttons in the file sharing window (Screen sharing;File Sharing...Remote Login; Remote Management...Internet sharing) but I did not write down the IP address and now the computer will not turn on at all. Is there a way to roll back my stupidity and get this thing to turn on again?

    There's only one thing you can do: make an appointment with Apple genius at the Apple retail store for a out of warranty replacement.

  • TS3536 I still dont see a file sharing tab and I want to use it for my mixer app, I made some ringtones and thats the only way I can use it

    I cant see the filing sharing on itunes and I was wanting to get some ringtones and thats the only way I can use them, where is the filing sharing thing at? even when I sync my phone I cant seee it

    File sharing appears at the bottom of the device's apps tab i.e. the tab that you use to select which apps to sync to the device. Connect the iPhone to your computer, select it on the left-hand side of iTunes, and scroll to the bottom of the Apps tab on the right-hand side.
    File sharing : http://support.apple.com/kb/ht4094

Maybe you are looking for