惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
L
LINUX DO - 热门话题
Blog — PlanetScale
Blog — PlanetScale
博客园 - Franky
J
Java Code Geeks
腾讯CDC
博客园 - 聂微东
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
Last Week in AI
Last Week in AI
量子位
Stack Overflow Blog
Stack Overflow Blog
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Schneier on Security
C
CERT Recently Published Vulnerability Notes
Latest news
Latest news
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
有赞技术团队
有赞技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Securelist
AWS News Blog
AWS News Blog
GbyAI
GbyAI
L
LINUX DO - 最新话题
大猫的无限游戏
大猫的无限游戏
Forbes - Security
Forbes - Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Attack and Defense Labs
Attack and Defense Labs
C
CXSECURITY Database RSS Feed - CXSecurity.com
Y
Y Combinator Blog
W
WeLiveSecurity
T
Threatpost
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
P
Proofpoint News Feed
D
DataBreaches.Net
博客园 - 三生石上(FineUI控件)
V
V2EX
N
News and Events Feed by Topic
Google DeepMind News
Google DeepMind News
D
Docker
The Hacker News
The Hacker News
A
About on SuperTechFans
Security Latest
Security Latest
NISL@THU
NISL@THU
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Cisco Talos Blog
Cisco Talos Blog
博客园_首页
H
Hacker News: Front Page

The Eclectic Light Company

Apple has released an update to XProtect for all macOS Hero or hooligan: Theseus’ later years Apple has released macOS Tahoe 26.5.1 In memoriam Mary Cassatt: 1, 1868-1880 Solutions to Saturday Mac riddles 362 What Location Services do in macOS Eclectic paintings of Joseph Stella: 2 European myths Last Week on My Mac: Razzle and dazzle Eclectic paintings of Joseph Stella: 1 American landscapes Saturday Mac riddles 362 Protect files with the Locked or Immutable flag Reading Visual Art: 252 Dragonfly What happens in the log when an app crashes as it starts up? Portraits of trees: Introduction On Reflection: Conclusions and contents Which tasks require mains power? Medium and message: Vast canvases Online reference to external displays for Apple silicon Macs What’s in that phishing email? Hero or hooligan: Theseus and Ariadne Solutions to Saturday Mac riddles 361 How to search document versions Rubens’ Consequences of War Rubens’ Peace and War Saturday Mac riddles 361 How to search Time Machine backups? Naturalists: Contents and artists On Reflection: Extending the image Tackle QuickLook problems Medium and message: Pottery Hero or hooligan: Theseus and the sandals How QuickLook provides thumbnails and previews Last Week on My Mac: Syncing metadata in iCloud Drive Paintings of visits to India 1778-1877 Saturday Mac riddles 360 Naturalists: Sorolla and Zorn On Reflection: Pierre Bonnard 1909-1946 SpotTest 1.2 can display Spotlight metadata directly On Reflection: Pierre Bonnard 1899-1908 How to preserve versions, and how to create versioned PDFs Medium and message: Sculpture What gets synced in iCloud Drive? Hero or hooligan: Perseus 2 Solutions to Saturday Mac riddles 359 Last Week on My Mac: snapshots, the elephant in APFS Paintings of Beatrice Portinari: to 1862 Saturday Mac riddles 359 Naturalists: Into the 20th century How to check whether Spotlight is getting the right metadata On Reflection: Mirror play Hero or hooligan: Perseus 1 The bicentenary of Frederic Edwin Church: 1857-77 Solutions to Saturday Mac riddles 358 macOS virtual machines and audio-video syncing A walk in the parks of Rome, Vienna, Manhattan and Brooklyn Saturday Mac riddles 358 Naturalists: Photography Use Finder tags for categories Control what gets written to the log Medium and message: Tapestry Virtualisation on Apple silicon Macs is different Jerusalem Delivered: Overview and contents The bicentenary of Frederic Edwin Church: 1849-57 Solutions to Saturday Mac riddles 357 Painting Pandora and her box: 1883-1919 Painting Pandora and her box: 1550-1882 Saturday Mac riddles 357 Reading Visual Art: 250 Winged sandals The secret life of the xattr The macOS Natural Language framework and Nalaprop Medium and Message: Stained glass The MACL extended attribute Jerusalem Delivered: 13 Leading characters Solutions to Saturday Mac riddles 356 Privacy: How locations are protected Painting Spring blossom 2 Last Week on My Mac: Don’t be a victim of fraud Painting Spring blossom 1 Saturday Mac riddles 356 Explainer: Recovery Reading Visual Art: 249 Mask Naturalists: Urban poverty On Reflection: Cézanne Privacy: Which folders are protected in Tahoe? Medium and Message: Mosaic Jerusalem Delivered: 12 Delivery Solutions to Saturday Mac riddles 355 Centaurs 2: Revenge Centaurs 1: Fights Saturday Mac riddles 355 Explainer: sandboxes Naturalists: The modern meal Why you can’t trust Privacy & Security Apple has just released an update to macOS Tahoe, to version 26.4.1 On Reflection: Divisionism Please help update CPU frequencies for Apple silicon Macs Commemorating the centenary of the death of John Ferguson Weir Privacy: Files & Folders or Full Disk Access? Jerusalem Delivered: 11 Into Jerusalem Privacy: protected folders
BSD flags are incompatible with iCloud Drive
hoakley · 2026-06-02 · via The Eclectic Light Company

Last week I reported that the Finder’s Locked file setting doesn’t work properly with iCloud Drive. As that’s one of a group of eight BSD flags supported in APFS, this article examines how iCloud Drive in macOS 26.5 handles those flags, and whether any of them are compatible. Its TL; DR is don’t let files with BSD flags near iCloud Drive, as they don’t work and will only upset it.

According to man chflags, that command tool currently supports a total of eight BSD flags:

  • arch to set the archived flag (super-user)
  • hidden to set the hidden flag, so hiding the file
  • nodump to set the nodump flag
  • opaque to set the opaque flag, making a directory opaque when viewed through a union mount
  • sappnd to set the system append-only flag (super-user)
  • schg to set the system immutable flag (super-user)
  • uappnd to set the user append-only flag
  • uchg to set the user immutable flag.

In APFS file systems, those are stored in the bsd_flags value in a file’s inode, so should be well-preserved in file operations.

To assess all these in macOS 26.5, I created a folder of eight small RTF files, and set each of the flags on one of those files using chflags in Terminal. To confirm the flags had been successfully set, the directory contents were listed using ls -lO:
ls -lO /Users/hoakley/Documents/0bsdflags
total 64
-rw-r--r--@ 1 hoakley staff arch 1675 13 Jul 2025 arch.rtf
-rw-r--r--@ 1 hoakley staff hidden 1675 13 Jul 2025 hidden.rtf
-rw-r--r--@ 1 hoakley staff nodump 1675 13 Jul 2025 nodump.rtf
-rw-r--r--@ 1 hoakley staff opaque 1675 13 Jul 2025 opaque.rtf
-rw-r--r--@ 1 hoakley staff sappnd 1675 13 Jul 2025 sappnd.rtf
-rw-r--r--@ 1 hoakley staff schg 1675 13 Jul 2025 schg.rtf
-rw-r--r--@ 1 hoakley staff uappnd 1675 13 Jul 2025 uappnd.rtf
-rw-r--r--@ 1 hoakley staff uchg 1675 13 Jul 2025 uchg.rtf

The whole folder was moved (not copied) into iCloud Drive, and allowed to sync. Of the eight files, three were shown with an iCloud Drive error: sappnd, schg and uappnd. In addition, the uchg flag was stripped as a result of that move, but the seven other flags remained when viewed from the same Mac:
ls -lO /Users/hoakley/Library/Mobile\ Documents/com\~apple\~CloudDocs/backup1/0bsdflags
total 64
-rw-r--r--@ 1 hoakley staff arch 1675 13 Jul 2025 arch.rtf
-rw-r--r--@ 1 hoakley staff hidden 1675 13 Jul 2025 hidden.rtf
-rw-r--r--@ 1 hoakley staff nodump 1675 13 Jul 2025 nodump.rtf
-rw-r--r--@ 1 hoakley staff opaque 1675 13 Jul 2025 opaque.rtf
-rw-r--r--@ 1 hoakley staff sappnd 1675 13 Jul 2025 sappnd.rtf
-rw-r--r--@ 1 hoakley staff schg 1675 13 Jul 2025 schg.rtf
-rw-r--r--@ 1 hoakley staff uappnd 1675 13 Jul 2025 uappnd.rtf
-rw-r--r--@ 1 hoakley staff - 1675 13 Jul 2025 uchg.rtf

When that iCloud Drive folder had synced with a separate Mac also running macOS 26.5, the three files that had been showing an iCloud error on the first Mac, bearing the sappnd, schg and uappnd flags, had failed to sync to iCloud Drive and weren’t visible on the second Mac. None of the flags could be detected on that second Mac using ls -lO, and the file flagged as being hidden was fully visible in the synced folder.

Thus the eight BSD flags behaved as follows:

  • arch file synced, not flag
  • hidden file synced, not flag
  • nodump file synced, not flag
  • opaque file synced, not flag
  • sappnd file not synced, iCloud error
  • schg file not synced, iCloud error
  • uappnd file not synced, iCloud error
  • uchg flag stripped completely, file synced without flag.

On the first, originating Mac, the iCloud error with sappnd, schg and uappnd flags started a prolonged sync. I therefore removed the folder containing these test files from iCloud Drive, returning it to its original location. That left the eight files in the state they had been in, with the uchg flag removed, but the other flags unchanged. However, the sync persisted, and was only terminated by restarting that Mac.

As none of these flags synced in iCloud Drive, one was stripped by moving the file to iCloud Drive, and three resulted in sync errors, it’s safe to conclude that in its current state, iCloud Drive is incompatible with these BSD flags, and their use on files in iCloud Drive should be avoided. As iCloud Drive has now adopted the FileProvider framework common to other cloud sharing services, and it appears likely that these problems result from shortcomings in that framework, this incompatibility may thus affect other cloud services using FileProvider, such as Dropbox and Microsoft OneDrive.