Creating a folder on an SMB share using a Mac

Hi everyone,
This is more of a question than a problem I'm trying to solve, really. Though the answer might help me better explain the issue to our security team.
Our environment has multiple Windows file servers, both 2003 and 2008. If one of these SMB shares is accessed from a Mac and the user creates a folder, will the ACLs on the share that are set to cascade actually cascade to this newly created folder? We've had issues in the past where ACLs that are supposedly set to cascade on a shared folder are not present on sub-folders created from Macs.
Next question: if the share resides on a netapp device, do the same rules apply? The Macs are still connecting to these shared folders using the SMB protocol.
All Macs are bound to our 2008 AD domain and use network accounts with local homefolders. The issue seems to happen when one or both of the following things happen:
1. A Mac user copies/creates a folder on a Netapp share and for some reason it doesn’t inherit rights correctly
2. We move the folder from one share on an actual Windows server to the Netapp and it doesn’t take permissions correctly.
Please let me know if you need any other information.

Let's put it this way: I'm asking on a Mac site because the people on non-windows support sites are WAAAAY more interested in talking about problems and solutions involving things other than Windows.
I'm fairly certain that the windows servers ARE respecting their own inheritance rules, barring any major bugs and the like which someone may know about...
The isue isn't with Macs moving shares to a netapp, it's with a share being moved to a NetApp that has folders created by a Mac. Talking with our security team further, it seems the problem may be limited to shares resident on a NetApp or moved from a Windows server to a NetApp.
I was primarily asking to see if anyone knew of any issues with these particular situations or had experienced something similar and had dug into it any deeper with F5 (NetApp vendor).

Similar Messages

  • Windows 7 machine can't see smb share or any macs

    We have 7 render boxes set up on our network, all link to our smb share on our mac server accept one! We run SMBUp on the mac server due to well documented issues with smb and it works fine with 6 of the 7 machines...
    I have gone through all settings and checked they match the settings on the other machines. As far as I can tell it matches.
    What's strange is the pc used to connect fine, but when we moved offices it just decided to stop seeing any macs on the network!!! It can see the other pc's on the network just not any mac or smb shares.
    Somebody please help before I smash this pc into a thousand pieces!!!!
    10.9.1 is installed on the mac server.
    Cheers
    Martin

    My guess is that Win7 "recognized" the device as a Realtek and substituted the Realtek drivers for it. Did your Zonet come with an installation CD ... or provides a web support site? If either, I would strongly suggest, that you use their drivers instead ... and this is a good reason you're only getting access with the 802.11g mode.

  • Why do I get "Unknown user name or bad password" on Windows 7 when trying to connect to an SMB share on my Mac?

    Before installing the update to 10.7.3 I could connect to an SMB share on my Mac from Windows 7 but I can't any longer. When I try I get the error "Unknown user name or bad password" on the Windows 7 system.
    When I try to connect using the "net use..." command I get the error: "System error 86 has occurred".
    Does anyone know how to resolve this? What really confuses me is that it was working fine until I installed the update to 10.7.3.

    Check the Wins Tab in the Advanced section of Network in system preferences.
    If you don't have the same workgroup name and the correct NetBIOS name showing up in the WINS tab you will get the Bad username or password.
    I know I deal with this everyday.
    There is something wrong with Lion and it does not automatically fill in those entries in the WINS tab.
    What I have to do on every reboot/startup is open System preferences go to Sharing and uncheck File Sharing then recheck it. That will fill in the WINS tab entries.

  • Using an "if not exists" command with a folder on an SMB share

    I'm trying to use an "if not exists" command on a folder which is stored on a mounted smb share..
    This part of my script is supposed to check if a folder exists and;
    If it does - Skip to the next part of the script
    If it doesn't - Create the folder.
    At the moment it either errors saying that the folder doesn't exist or doesn't create the folder.
    I can get this script to work fine using local folder paths but I want to do it on an SMB share..
    Here's my script.
    Many thanks in advance.
    Martin
    set username to (do shell script "whoami")
    set Media to " Media Files"
    mount volume "smb://172.22.8.23/macmedia$"
    tell application "Finder"
    if not (exists ("smb://172.22.8.23/macmedia$/" & username as text) & Media as text) then
      make new folder at "macmedia$" with properties {name:(username as text) & Media as text}
    end if
    end tell
    tell application "Finder"
    set mnt to ("smb://172.22.8.23/macmedia$/" & username as text) & Media as text
    try
      mount volume mnt
    end try
    eject "macmedia$"
    end tell

    Hi Camelot,
    Thanks a lot for that the script's working as it should now..
    I'm still having intermittent problems on some clients where it will only map the root volume "macmedia$" and freeze there.. This is a problem as they can then see and access everyone elses folders from there.
    Do you know of a better/cleaner way to do what I'm trying to acheive? All i'm after is mapping an additional drive for student's so they can save larger files to our media server within their own folders.
    Is there a way of checking if a folder exisits within an smb share without mounting the volume? Just trying to think outside of the box a bit..
    Here's my new script;
    set username to (do shell script "whoami") & " Media" as text
    mount volume "smb://172.22.8.23/macmedia$"
    tell application "Finder"
              if not (exists folder username of disk "macmedia$") then
      make new folder at disk "macmedia$" with properties {name:username as text}
              end if
    end tell
    tell application "Finder"
              set mnt to ("smb://172.22.8.23/macmedia$/" & username as text)
              try
      mount volume mnt
              end try
              eject "macmedia$"
    end tell
    Many thanks,
    Martin

  • Cannot rename folders in SMB share using Column view

    I connect to an Ubuntu SMB server and files and folder access worked perfectly under 10.5.8.
    I upgraded to Snow Leopard and a curious thing happends. I set CHMOD of the main folder to 777. I can create and rename folders in this first level but if I am in column view, I can create a folder (untitled folder) but can't rename it.
    If I move to icon or list view, I can create folders levels deep. It took me a day to work out what was wrong!

    Same issue here. Can't rename a folder on Samba-share with Finder. Doesn't matter which view.
    --Server details
    FreeBSD 7.1-RELEASE GENERIC
    Samba version 3.3.7
    --Debug-info
    I raised the Samba loglevel, and noticed an increase of the file 'nobody.log'. This is strange, because I am logged in and accessing a private file.
    My Mac is named 'mrcmini'. Samba logs to 'nobody.log':
    \[2009/10/06 22:15:40, 3\] smbd/sesssetup.c:replysesssetup_andX(1412)
    wct=13 flg2=0xc801
    \[2009/10/06 22:15:40, 3\] smbd/sesssetup.c:replysesssetup_andX(1611)
    Domain=\[\] NativeOS=\[Unix\] NativeLanMan=\[Samba\] PrimaryDomain=\[\]
    \[2009/10/06 22:15:40, 3\] smbd/sesssetup.c:replysesssetup_andX(1627)
    sesssetupX:name=\[\]\\[\]@\[mrcmini\]
    Finder sets up a session to start the 'Rename'-action, but does not send the username.

  • Slow folder browsing on smb shares

    I'm having big problems browsing a smb share on a Windows 2003 Server share.
    Whenever i change folders in the share it can take up to 1-2 minutes before the new folder content appears.
    I tried lots of things such as editing /etc/smb.conf and also /etc/sysctl.conf without success.
    Anyone have any ideas on what could be wrong?

    Apple has always seemed to give poor performance for remote users compared to an equivalent Windows setup running over the same remote link. I think this is a combination of several things.
    Firstly, the Finder on a Mac gets a lot more information to display a directory listing than Windows Explorer on Windows does. The Finder is of course getting the same file/folder names but in addition can get Finder comments, labels (colours), custom icons, etc. which Windows Explorer would not.
    Secondly, I am convinced that AFP is not as efficient over slow links and/or high latency links as SMB.
    Thirdly, I am also convinced that the Finder is grotesquely inefficient in sending and processing commands and replies, whereas perhaps Windows batches things up. As an ancient example of this anyone else remember the floppy disk shuffle on the original Macs?
    I suspect because Apple have a very fast pipe to the Internet they have not appreciated how bad this can be. They need perhaps to consider getting a WAN link simulator and then they can see the problem and hopefully introduce more optimisation.
    Unfortunately there is not much you can do about any of these things, you could try using SMB on the Mac rather than AFP as this might cause the Finder to not try getting some of the extra information like colour labels. Avoiding using the Finder if possible is the best option, you could help achieve this by keeping shortcuts to files on the Server so you don't have to keep browsing to the folder itself.

  • IMovie Video folder on the SMB share

    Hi,
    Both of my movies and pictures are stored on the SMB share. I can configure iPhoto library to use this smb://share/picture with the option of NOT coping pictures locally just fine.
    However I see no such option in the iMovie. When I import events to library, all movie files are copied locally.
    Is there a way to configure iMovie just like iPhoto: use movies on the SMB share without local copy?
    May be for perm reason iMovie can only operate with local files?

    Let's put it this way: I'm asking on a Mac site because the people on non-windows support sites are WAAAAY more interested in talking about problems and solutions involving things other than Windows.
    I'm fairly certain that the windows servers ARE respecting their own inheritance rules, barring any major bugs and the like which someone may know about...
    The isue isn't with Macs moving shares to a netapp, it's with a share being moved to a NetApp that has folders created by a Mac. Talking with our security team further, it seems the problem may be limited to shares resident on a NetApp or moved from a Windows server to a NetApp.
    I was primarily asking to see if anyone knew of any issues with these particular situations or had experienced something similar and had dug into it any deeper with F5 (NetApp vendor).

  • Problems saving to an SMB share using 10.8

    Issue happens in CS5 after Mountain Lion Upgrade 10.8
    when using CS5 to save files via a SMB connection to a Windows Server the following error is displayed "could not save filename due to a program error"
    however file save functionality in other programs / finder succeeds as expected with no issue.

    Branched this out to a new discussion.  Which Adobe application are you trying to save to the SMB share from?

  • Share one iTunes library on a SMB share between PC & Mac

    Hi,
    Is there anyway I can share one iTunes library and the music files on a SMB share between a PC and a Mac? I assume there would be a problem with how the Mac and PC assign network drives differently would be an issue, or is there a way around this?
    At the moment I'm only sharing the music files on the SMB share but with separately iTunes library on the PC and Mac.

    I have itunes match. its good but its not perfect. it downloads wrong versions of songs. for example it downloads the censored version of many of my songs. plus it doesnt do podcasts, movies, tvshows, books.
    plus it doesnt show my smart playlists in the same track order as on my computer. its good but it has bugs and shortcomings.
    thanks for the suggestion but i'd like to try the way i initially posted about.

  • How do i create a folder toorganize my documents in Word for Mac?

    How do I create a folder to organize my documents in Word for MAC. I have the 2011 version.

    Just a tip...
    I create folders in my Documents folder: "Word Docs", "Excel Docs" and "PowerPoint Docs".
    No need for an "Outlook Docs" because that's all stored in the "Microsoft User Data" folder in your Documents folder.
    Along with the video that Andy provided, you should be able to manage your Office documents well.
    Good luck,
    Clinton

  • TS4149 I'm still having this issue accessing my mac share using a mac samba share

    Any ideas on how to fix this?

    Reply,
    HI Ken,
    This may be obvious to you but is not to me from the info here.
    Can you connect direct to the original modem in the original way and have Chats ?
    How have you set up the network ? Static IP addresses to the modem ? Static addresses to the Router ? Using one or both as a DHCP server ?
    IF you have just modem <-> Router <-> Computer do you get the message ?
    Have you had the router checked out ?
    Have you used IPNetMonitorX or similar to tell if the ports are open properly ?
    Ralph

  • Can I Create A Symbolic Link to folders stored on an SMB Share folder?

    Hello,
    I am very new to Unix and was hoping that someone could point me in the right direction with regards to Symbolic links and an SMB share folder ....
    Have purchased an ext. LAN Drive enclosure (http://www.macpower.com.tw/products/hdd3/pleiades/pd_usblan) which connects to my wireless router via ethernet like my G5 (main Mac) - our iBook connects via Airport. I have copied all my general documents/files to the SMB share folder on the ext. drive so that I can access them from the G5 and also the iBook.
    However I'd also like to be able to store my actual Mail folder (/Users/Mark/Library/Mail/), , Safari folder (/Users/Mark/Library/Safari) + my Address Book and other folders sitting in the Application Support folder on my SMB share so all important docs/folders are in the one place. I've tried storing these folders on the SMB share and putting an Alias to these back in Users/Mark/Library/Mail etc but of course an Alias doesn't work.
    Question 1: Can I create a symbolic link to these files if these are stored on an SMB share folder? If so, could you please tell me exactly what I'd need to type into Terminal? My SMB Share path is smb://STORAGE-XXXX/MARK
    I have copied my iPhoto library and iTunes library to the SMB share and are working fine.
    Question 2: Is it possible/worth attempting to move my whole home folder to the SMB share folder? Ideally, I'd like to be able to access my Mail from the iBook as well. If I could log into either the G5 or the iBook and access my latest Mail, Address Book and other Application Settings, that would be perfect. Would this be possible?
    Thanks
    Mark.
    Dual 1.8GHz G5 (Rev.B), 2Gig RAM, 9600XT   Mac OS X (10.4)  

    Dear Mark,
    Yes you can. The command to create a link will look something like this:
    $ ln -s thisFolder /Users/mark/thatFolder
    I did this while I was hosting a microsoft based game. This put all of the players into a common directory.
    SMB just resolved the link and everything worked fine.
    However, as I understand it, some other applications do NOT work very well with links. As I have NOT tried it with other applications, I fear I can be of NO help to you in this matter.
    The only way to find out which applications work with links is to try them and see what happens.
    Best of luck,
    Kurt

  • Windows Backup creates "locked" directory on SMB share

    I'm trying to back up my Windows 7 laptop to my Mac Mini over SMB.
    Normal non-backup file operations work okay, from the desktop: I can create folders, drag files, delete files, etc.
    But Windows Backup fails, because it creates a directory on the SMB share that--despite ACLs--OS X won't let anyone create files within, or change the security settings. The only option is to rm -rf the directory.
    The ACLs look like this (the directory Windows Backup creates is called 'MEGALITH'. I tried creating a parent directory (called 'Megalith') with inherited ACLs, but to no avail:
    sarsen:Megalith root# ls -le .
    total 0
    drwx------+ 2 windowsbackupuser  staff  68 Jan  8 12:49 MEGALITH
    0: user:root inherited allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,re adextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_i nherit
    1: group:admin inherited allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,re adextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_i nherit
    2: user:_spotlight inherited allow list,search,file_inherit,directory_inherit
    Even with these ACLs, I cannot chown the MEGALITH directory. Nor can I edit its ACLs in the Server window.
    My SMB config is:
    sarsen$ defaults read /Library/Preferences/SystemConfiguration/com.apple.smb.serve r
        AclsEnabled = 1;
        AllowGuestAccess = 0;
        AllowNTLM2Auth = 1;
        DOSCodePage = 437;
        EnabledServices =     (
            disk
        LocalKerberosRealm = "LKDC:SHA1.C5D430A59786EE0CC0515EEF37A77A538C6D612A";
        NetBIOSName = sarsen;
        ServerDescription = sarsen;
        Workgroup = WORKGROUP;
        "wins server" =     (
    And the error log says:
    Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request: init request
    Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request: init return domain: SARSEN server: SARSEN
    Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request: uid=0
    Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request: od failed with 2 proto=ntlmv1-with-v2-session
    Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request: user=SARSEN\\windowsbackupuser
    Jan 8 12:49:27 sarsen.nerdgod.com digest-service[711]: digest-request kdc: ok user=SARSEN\\windowsbackupuser proto=ntlmv1 flags: NEG_KEYEX, ENC_128, NEG_VERSION, NEG_TARGET_INFO, NEG_NTLM2, NEG_ALWAYS_SIGN, NEG_NTLM, NEG_SIGN, NEG_TARGET, NEG_UNICODE

    For interoperability with Windows clients, this is absolutely 100% bad behavior:
    http://support.microsoft.com/kb/326549
    Note Unlike the Read-only attribute for a file, the Read-only attribute for a folder is typically ignored by Windows, Windows components and accessories, and other programs. For example, you can delete, rename, and change a folder with the Read-only attribute by using Windows Explorer.
    The Read-only and System attributes is only used by Windows Explorer to determine whether the folder is a special folder, such as a system folder that has its view customized by Windows (for example, My Documents, Favorites, Fonts, Downloaded Program Files), or a folder that you customized by using the Customize tab of the folder's Properties dialog box. As a result, Windows Explorer does not allow you to view or change the Read-only or System attributes of folders. When a folder has the Read-Only attribute set it causes Explorer to request the Desktop.ini of that folder to see if any special folder settings need to be set. It has been seen where if a network share that has a large amount of folders set to Read-only, it can cause Explorer to take longer then what is expected to render the contents of that share while it waits on the retrieval of the Desktop.ini files. The slower the network connectivity to the share the longer this process can take to the point where Explorer may timeout waiting for the data and render nothing or appear to hang.
    Note In some previous versions of Windows, you can change the Read-only attribute for folders by using the Properties dialog box for the folder, but no versions of Windows permit you to change the System attribute by using Windows Explorer.

  • How to create a Folder using a SQL Query?

    Hi
    How can I create a Folder (eg. C:\MyNewFolder) using SQL Query?

    Hi,
    I added some code in order to get the result from the xp_cmdshell command
    This returns null if successfull, if an error occurs returns the error message. May be useful instead of getting an sql error
    Code Snippet
    declare @cmdpath nvarchar(60), @Location nvarchar(100), @message nvarchar(max)
    set @Location = N'C:\Temp\Temp5'
    set @cmdpath = 'MD '+ @Location
    Create table #result
    result nvarchar(255)
    insert into #result (result) exec master.dbo.xp_cmdshell @cmdpath
    select @message = ISNULL(@message + ' - ','') + result from #result where result is not null
    select @message
    drop table #result
    Eralper
    http://www.kodyaz.com

  • Error while creating a folder in business area

    hi all,
    I am trying to create a folder in a business area using View.It is giving me the following error.
    View contains no items,folder will not be created.
    May i know the reason why it is prompting this error?
    There are items in EUL and i also checked in the backend as well.
    Thanks in advance
    kiran

    Hi Rod west,
    Thanks 4 replying me.
    But i dont have any columns with timestamp.
    I have columns with date,number and varchar.i unchecked the date and then tried creating a folder.
    But still the problem persists
    can u please tell me ,What else may be the problem?
    Thank u
    kiran.
    Edited by: user589042 on Sep 29, 2008 2:40 AM

Maybe you are looking for