Search results for

smb big sur

11,805 results found

Post

Replies

Boosts

Views

Activity

Reply to Authorization Credentials Caching Implications
Regarding the big picture issue here, I believe that this is working as designed [1]. If you’d like to see that change, my advice is that you file a bug report explaining your concern.. Please post your bug number, just for the record. [quote='793415021, ss_couto, /thread/793415, /profile/ss_couto'] What exactly is the authorization session mentioned in /System/Library/Security/authorization.plist? [/quote] This refers to the security session, which is roughly equivalent to the login session. [quote='793415021, ss_couto, /thread/793415, /profile/ss_couto'] QA 1277 [/quote] It’s hard to believe that this is the second time that truly ancient Q&A has come up in the past few weeks. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] If you look at the design of System Preferences on early versions of Mac OS X, various panels have a lock icon. That reflects the state of the admin credentials. If you’re logged in as a standard user a
Topic: Privacy & Security SubTopic: General Tags:
Jul ’25
Reply to restore root file with tmutil
So, there are actually a few different things at work here. First of the errors here: /usr/local/mnt: No such file or directory ...means exactly what it sounds like. You specified the mount target (the point the new file system would attach on your file system) as /usr/local/mnt/ and that directory either does not exist or you don't have permission to it. That's what I'd expect, as that's not a standard macOS directory, so it won't exist unless you create it. The solution is to create the directory, change the permissions, or pick a new directory. I'm not familiar with how Time Machine on a NAS works I believe we still create disk images, which are then mounted and treated as local backup target volumes. That means there are actually two permission systems at work here: The permission of the smb volume the NAS device shares. The permission of the TimeMachine disk image. That difference is important, because it leads to the difference in behavior between this case: This was on a USB drive mounted with
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
Reject Guideline 1.1.
Guideline 1.1 - Safety - Objectionable Content We found that your app or metadata includes content that some users may find upsetting, offensive, or otherwise objectionable. Specifically, Lolicon references. The app was rejected from guideline 1.1 above. The meta app details are as follows: There are no sexy dress images in the app and the app rating is 12+ (but in app rating is 16+). The app icon will be an image of an anime girl with big eyes, wearing a uniform. The screenshot is an 18-year-old teenager wearing a gura shark costume. The app details refer to anime, manga. We would like to know which specific details reference lolicon so we can fix the problem.
0
0
103
Jul ’25
Reply to How to create file system snapshots with fs_snapshot_create?
Perhaps the only remaining question would be: how would I find out if the Carbon API / the SMB volume effectively supports cloning, or is it not possible? That's a tricky one, as you have very little ability to interrogate the target system and can't really determine what's on the other side. If VOL_CAP_INT_COPYFILE* is false then you know that it won't work but that doesn't cover cases like the remote volume being an HFS+ volume (not APFS). *As backstory, yes, there are in fact two totally different functions in the system which were both called copyfile(). One is the public API, the other is a private syscall hook to the VNOP_COPYFILE VFS hook. Note that afp (Apple File Sharing Protocol, NOT APFS-> Apple File System) and smb are currently the ONLY file systems that implement VNOP_COPYFILE. The history here is that a VERY long time ago VNOP_COPYFILE was originally added to support AFP (which is where the do the copy on the server idea came from) and SMB picked it up later to pro
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
restore root file with tmutil
I have a simple impossible task, to restore /var/root/Library/Application Support/multipassd/qemu/vault/instances/gcc-cobol/ubuntu-22.04-server-cloudimg-arm64.img as of 8:02 Saturday morning. Because /var/root is owned by, well, root, the usual techniques don't work. This is a VM image hosted by qemu via Canonical's Multipass. ISTM the strategy would be to first mount the NAS filesystem and then use tmutil(8) to list the backups and recover the file. But $ sudo mount -v -o rdonly -t smb //nasa.local/TimeMachine /usr/local/mnt/ mount: exec /Library/Filesystems/smb.fs/Contents/Resources/mount_smb for /usr/local/mnt: No such file or directory mount: /usr/local/mnt failed with 72 Must I defeat SIP to do this?
2
0
122
Jul ’25
FSKit caching by kernel and performance
I've faced with some performance issues developing my readonly filesystem using fskit. For below screenshot: enumerateDirectory returns two hardcoded items, compiled with release config 3000 readdirsync are done from nodejs. macos 15.5 (24F74) I see that getdirentries syscall takes avg 121us. Because all other variables are minimised, it seems like it's fskit<->kernel overhead. This itself seems like a big number. I need to compare it with fuse though to be sure. But what fuse has and fskit seams don't (I checked every page in fskit docs) is kernel caching. Fuse supports: caching lookups (entry_timeout) negative lookups (entry_timeout) attributes (attr_timeout) readdir (via opendir cache_readdir and keep_cache) read and write ops but thats another topic. And afaik it works for both readonly and read-write file systems, because kernel can assume (if client is providing this) that cache is valid until kernel do write operations on corresponding inodes (create, setattr, write, etc). Questions are:
2
0
188
Jul ’25
Reply to pas_panic_on_out_of_memory_error crash on tvOS 15.4 and 15.4.1
@DTS Engineer I think that I got general understanding of the issue that occurs. In our application we still depend on TVML Kit (which is marked as deprecated already). On many screens we use the stackTemplate with collectionList that contains big numer of shelfs (10-20) with lockups that allow to horizontally scroll the rows. Based on investigation of what is going on with memory I see that TVML engine does its best to speedup the process of rendering the lockup elements to provide the best experience while doing the quick scroll through the all shelfs. To handle it, the TVML uses some kind of rasterisation mechanism for TVML elements and display them as a single image in TVStackedImageView. It leads to issues in case of using the first generation of apple TV as rastered elements are kept in memory as long as the template keeps alive. There is a big difference in memory consumptions in case of using 4k display and 1080p. It seems to be related to fact that created images for 4K displays are
Topic: Safari & Web SubTopic: General Tags:
Jul ’25
Reply to How to create file system snapshots with fs_snapshot_create?
I don't understand. Doesn't URLResourceKey.volumeSupportsFileCloningKey allow me to detect if cloning is supported? It does, and I think you'll find that it returns false when called on any SMB volume. I thought you were saying that with the deprecated Carbon API one can clone files, but then I don't understand why file clones are not preserved. Do you mean when copying a folder that contains file clones, those files are copied and not cloned? First of all, please try this with Finder paying attention to what you're doing and how it affects storage usage on the server. I've explained what's going on below, but it will make a lot more sense when you do the testing yourself. So, there are two different cases here: Copy from the local device to the remote server. Copying contents within a volume on the remote server. For case #1, the Carbon API and our other copy APIs have the same behavior and similar performance (if anything, Carbon will be slightly slower). As part of that, cloned files will be lost
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
Different toolbar item placement for iPhone vs iPad
On iPhone, I would like to have a more button at the top right of the navigation bar, a search field in the bottom toolbar, and a plus button to the right of the search field. I've achieved this via the code below. But on iPad they should be in the navigation bar at the trailing edge from left to right: plus, more, search field. Just like the Shortcuts app, if there's not enough horizontal space, the search field should collapse into a button, and with even smaller space the search bar should become full-width under the navigation bar. Right now on iPad the search bar is full width under the navigation bar, more at top right, plus at bottom middle, no matter how big the window is. How can I achieve that? Any way to specify them for the system to more automatically do the right thing, or would I need to check specifically for iPhone vs iPad UIDevice to change the code? struct ContentView: View { @State private var searchText = var body: some View { NavigationStack { VStack { Text(Hello, world!) } .na
3
0
115
Jul ’25
How to scale a SwiftUI view to fit its parent
Code that reproduces the issue import SwiftUI @main struct KeyboardLayoutProblemApp: App { var body: some Scene { WindowGroup { iOSTabView() } } } struct iOSTabView: View { var body: some View { TabView { GameView() .frame(maxWidth: UIScreen.main.bounds.width, maxHeight: UIScreen.main.bounds.height) .tabItem { Label(Play, systemImage: gamecontroller.fill) } } } } struct GameView: View { var body: some View { VStack { Text(Play) Spacer() KeyboardView() } .padding() } } struct KeyboardView: View { let firstRowLetters = qwertyuiop.map { $0 } let secondRowLetters = asdfghjkl.map { $0 } let thirdRowLetters = zxcvbnm.map { $0 } var body: some View { VStack { HStack { ForEach(firstRowLetters, id: .self) { LetterKeyView(character: $0) } } HStack { ForEach(secondRowLetters, id: .self) { LetterKeyView(character: $0) } } HStack { ForEach(thirdRowLetters, id: .self) { LetterKeyView(character: $0) } } } .padding() } } struct LetterKeyView: View { let character: Character var width: CGFloat { height*0.8 } @ScaledMetric(rel
Topic: UI Frameworks SubTopic: SwiftUI
0
0
72
Jul ’25
Reply to FileManager.removeItem(atPath:) fails with "You don't have permission to access the file" error when trying to remove non-empty directory on NAS
It's more likely that Finder is calling a network-specific file operation for the SMB or AFP connection. You said you could work around the problem by manually doing a recursive delete. But does that mean that this actually works? Permissions can be complicated, especially on a Linux-based file server that the user could have configured in an unusual fashion.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25