Tag Info

Hot answers tagged

3

The ._ files are AppleDouble files that are used to store metadata like extended attributes, ACLs, file flags, and resource forks. To delete them, run: find . -name ._\* -delete You can see if files have extended attributes, ACLs, or file flags with ls -l@eO. The ._ files are usually created because files have extended attributes. You can use xattr -c to ...


3

I will admit, I hadn't noticed that the defaults write command stopped working in Mavericks. However, when I DO clean network mounts, instead of your one liner find and rm, I use this: dot_clean . The manfile explains: dot_clean -- Merge ._* files with corresponding native files. I don't use the -m flag, but you may find it helpful in your situation. ...


2

I have not tried this myself, and I realize the OP prefers native solutions, but nonetheless: There's an app called Asepsis that works by redirecting creation of those files into a special folder, i.e. in a way preventing them from appearing.


2

I'm having the exact same problem on my client. Looking at a WireShark trace, there is always a 45 second delay in opening the connection the the file share (OSX Server 3.1.2). Using SMB1 (CIFS) does the same thing and WireShark confirms SMB vs. SMB2. Any other ideas out there?


2

I had a similar issue and this post solved it for me: https://discussions.apple.com/message/26964292#26964292 It may be the same discussion that Tetsujin references, but the setting to use is NOT "Send LM & NTLM - use NTLMv2 session security if negotiated" -- you should use "Send NTLMv2 response only". After I made that change, I connected to the ...


1

I'm going to put up an answer to question 3. Not sure the rest can be easily diagnosed. "If an auto-unmount occurs, how can I re-mount the directory without restarting?" Try diskutil umount /Volumes/josh and it should do the trick. The "File exists" error is showing up because the mount point it wants to use is already present. Looks like the disk isn't ...


1

1.) Your situation is not related to the open command. Before one can pass a remote share filepath as part of an argument, the share must first be established at a mount point. Here's an illustration to show what happens--or doesn't happen--using the simplest of commands: ls smb://myshare._smb._tcp.local/path/to/file/my_file.pdf Indeed, referencing a file ...


1

Setup your NAS to export a NFS-share. Refer to the Synology knowledgebase how to do this or use the following how-to to set it up, fine tune and secure your set-up. You may do it manually in the command line also: Let's assume your media folder is /Shares/Media. Create or edit a file named exports in /etc. The example below restricts the access to ...


1

Here's one suggestion: http://superuser.com/questions/775539/custom-names-for-smb-shares-on-osx I've used a similar method to mount volumes using sshfs to particular mount points for iTunes and calibre and the like.


1

auto_fs method The two shares will be mounted automatically. Please create a Share folder and two folders Development and Live inside of that in your User folder and change your auto_master with sudo nano /etc/auto_master to /etc/auto_master # # Automounter master map # +auto_master # Use directory service /- ...


1

Are you using Windows 7/8 or XP? I know that when I at home switched from XP to Window 7, I needed to change the windows workgroup settings... It sounds like you don't have the proper workgroup assigned.


1

To use sparsebundles and Time Machine backups, a NAS must support AFP and one must mount the share using the AFP protocol. AFP supports metadata transport that is not carried via SMB shares. CIF/SMB should be used with Windows-based systems. AFP should be used with Apple systems whenever possible. While you might be able to create a sparsebundle and use it ...


1

I think you don't need to register a new hostname if you're just about publishing web services. On the Mac, you can register a new website with bonjour on the command line with dns-sd -R "My Website" _http._tcp . 80 path=/path-to-page.html you can verify that it worked by using Safari's bonjour menu or on the command line with dns-sd -B _http._tcp ...


1

Try escaping the unicode 图片 translates as %E5%9B%BE%E7%89%87 using an escape function I tried & I don't know how well it copes with Chinese character, so you might need to find a smarter one. [not generally-accessible resource, so I can't publish it here.] The app UnicodeChecker installs a service which can convert any unicode character string into ...


1

Honestly, it’s a mixed bag. I worked for a client in an enterprise environment—300+ users—with mixed Windows and Mac OS X clients and the SMB/CIFS issues were maddening to say the least. The only “solution” to some specific file sharing issues we could practically implement was to deploy Synology rack-mounted NAS enclosures and use those in lieu of core ...


1

You can try this: find . -d -name "* " -type d -exec bash -c 'TO=$(echo "{}" | sed "s/.$//"); FROM=$(echo "{}"); mv "${FROM}" "${TO}"' \;


1

You could also add the alias as a Login item: go to System Preferences > Users & Groups, and click on Login Items. You can then drag a mounted network drive, or a drive alias, into the Login Items list.


1

You can right click the file, and choose "Get Info" - the popup window will have a property for Server which lists the full URL path with protocol (e.g. smb://example.com/Data/file.png)


1

Samba no more, for Lion Server mount.cifs needs extra options, "nounix,sec=ntlmssp" [root@50centos ~]# [root@50centos ~]# yum install samba-client samba-common cifs-utils ... [root@50centos ~]# mkdir /mnt/lion_smb [root@50centos ~]# mount -t cifs -o MikeCochran,trustno1,nounix,sec=ntlmssp //198.252.206.140/smb_share /mnt/lion_smb/ ...


1

I would set up a user to automatically log in and lock the screen immediately with a password (or as close to immediately as you care.) That will mount the external drive and start up sharin for all users. Alternatively, you could drop the $20 on OS X server and have it mount shares at boot like you rightly expect a server to behave.


1

The solution in our case was to make the user account "mobile" on the local mac (we were having problems with a domain user not being allowed access to an smb share on a domain member server). It was a problem on any Mavericks version where the domain user was not mobile.


1

Just tried, and this does work in Mavericks (at least for disabling .DS_Store not network shares): defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true You just need to remember to restart Finder as well: killall Finder


1

I've found the solution. Two commands are needed in sequence: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist EnabledServices -array disk


1

You need to understand how mounting works. In short what you want is to: Mount your smb:// drive on a certain location. Use your file:// command as you always do. When you use 'Connect to Server' - ⌘K, your drive should be mounted somewhere in /Volumes/. So now you can use file://Volumes/drive-name. For normal use, like this, a mounted network ...


1

I've had to do this as well, and I have an Applescript I wrote and cobbled together from working sources to request the user's password and then use mount_smbfs to mount to a specific location (with folders already set up). This prevents stale passwords from quickly locking out the account, and also prevents passwords in the script body. I do hard-code the ...


1

Mavericks just introduced support for SMB2. http://www.apple.com/osx/whats-new/features.html#core SMB3 is a planned feature of the next version of OS X, Yosemite.


1

To further this: The SMB2 support in OS X 10.9 is rather buggy. It occasionally completely locks up requiring restart. At work, we've enforced SMB1 only, which can be done either by connecting with the cifs:// protocol, but since this can be hard to enforce for non-technical users, you can also write a preference file to either ...



Only top voted, non community-wiki answers of a minimum length are eligible