News for hackers. Stuff that matters.
Re:Apple Discontinues macOS Server by lupire on Thursday April 21, 2022 @06:51PM (#31116150)
Why does Windows userbase care more about Linux drive interop than Mac userbase does?
Re:Apple Discontinues macOS Server by mschuster91 on Thursday April 21, 2022 @07:41PM (#31116536)
The problem is, there is still no somewhat decent way to have a USB drive that's readable and writable by all three major OS families (Windows, Linux and macOS) and keep UNIX permissions working on it:

- FAT32 can't go above 4GB files, can't do sparse files and can't store UNIX permissions at all

- NTFS can do large and sparse files, but can't deal with UNIX permissions, instead bringing NT ACLs (which no one else understands). exFAT used to be patent encumbered and has the same limitations that NTFS has, plus its support is nowhere near as battle-tested as NTFS is

- HFS/APFS are not supported at all under Windows and support in Linux is spotty at best

- ext4 has third-party read (and if you're risk-tolerant, write) support on Windows and Linux, but it's hacky or expensive

The situation, as it is, is an utter shame.

Re:Apple Discontinues macOS Server by Melatonic on Friday April 22, 2022 @02:05AM (#31118705)
Dont forget that exFAT is not journaled which is the biggest issue by far.

Really it would be nice if everyone could just natively read EXT3/4 out of the box - theres no reason NOT to add it. And even though Microsofts new file system still doesn't seem to have taken off (ReFS) it is quite good.

Re:Apple Discontinues macOS Server by happymellon on Friday April 22, 2022 @01:39AM (#31118560)
What about UDF? That's what I use on my USB drives that are going to be shared amoungst all 3 OS', and support is excellent with many decades of testing.

Files up to 16 EiB, supported from Windows XP and up, Mac's with OSX and up, Linux had some bugs back in 2010 which prevented you from dealing with very large devices that were over 80% full.

Been doing it for over 10 years now, and it is still one of the best formats for universal access.

Re:Apple Discontinues macOS Server by js2 on Thursday April 21, 2022 @08:14PM (#31116755)
Why? Who needs this? I don't even understand the use case for file permissions on an external drive. Who owns the files across operating systems?

FWIW, the company I linked elsewhere provides full ext4 support products for both macOS and Windows.

Re:Apple Discontinues macOS Server by mschuster91 on Thursday April 21, 2022 @08:47PM (#31116968)
> Why? Who needs this? I don't even understand the use case for file permissions on an external drive.

Shoving data across operating systems using USB sticks or drives is a pretty standard thing to do, at least in the corporate world which is filled with slow internet connections (in related words, never underestimate the bandwidth of a truck filled with SD cards), and particularly when having to send data to clients or vendors.

The fact that there is no standard that works on all three major OS families and in the best case also supports encryption is maddening - macOS has Filevault, Windows has Bitlocker and Linux has LUKS, and neither of the three can understand any other.

Just ask an IT helpdesk in any major company how many questions they get a day by people who have to transfer files to a vendor or client, with encryption. Extra fun in anything involving creative work because most of that happens on Macs whereas most big-corp customers use Windows because of Active Directory and GPO. (And no, ZIP isn't an answer because Apple's built-in unarchiver routinely gobbles up when encountering password protected ZIPs)

> I don't even understand the use case for file permissions on an external drive.

Unlike Windows which conveys the fact that an executable is an executable by the file suffix .exe (or .cmd/.bat, and I think *.js was at least until Windows 7 associated with the JScript interpreter), Linux and macOS do so by using the execute permission on the file.

The use case would be to copy a Java application, let's use jadx, downloaded and extracted on a Mac, then copy it via an USB stick or a Windows CIFS file share on another Mac or a Linux machine, and have the command bin/jadx-gui still start up the UI when clicked upon. As soon as any non-Unix filesystem is in the copy path, it gets inevitably nasty.

Re:Apple Discontinues macOS Server by Teever on Friday April 22, 2022 @12:15AM (#31118141)
Do you find yourself completely baffled when you're advocating for something as simple and mundane as interoperability with desktop computers and USB drives in 2022 and people are arguing against it?
Re:Apple Discontinues macOS Server by js2 on Friday April 22, 2022 @10:36AM (#31122085)
I'm not arguing against it. I'm trying to understand the use case. There is already interop using FAT/exFAT. Apparently the problem with exFAT is not having an executable bit in order to run a Java binary.

File permissions usually don't make sense on an external drive that's moving between computers, much less computers running a different OS.

I just don't see why it's surprising that Microsoft and Apple don't have built-in support for ext when FAT/exFAT support is good enough for 99% of interop use cases.

Re:Apple Discontinues macOS Server by vetinari on Friday April 22, 2022 @12:44PM (#31124119)
FAT has serious limitations wrt filesizes, it is not good enough for interop use. Even Microsoft's own Windows install media has a problem with it.

exFAT is better, but it is also quite recent development on Linux, since it was licensed and only in 2019 that Microsoft publicly said, they would not ask for any licensing and the specification became publicly available.

Both of them are quite unfriendly to flash memory, but exFAT is good enough.

Re:Apple Discontinues macOS Server by _carbyau_ on Thursday April 21, 2022 @10:16PM (#31117502)
I mean, it doesn't solve the filesystem bit but instead of zip, what about 7zip?

There's a version of 7zip for windows, linux and Mac. It's supposedly safe for now. Until the next vulnerability is found I guess but that is the same for every option.

Bit of a downside that it is a third party option that would then have to be installed everywhere you want it rather than a native option though.

Re:Apple Discontinues macOS Server by mschuster91 on Friday April 22, 2022 @02:42AM (#31118923)
I am aware it exists. Users however often are not, and they complain when the "standard way" that's integrated into the OS doesn't work.
Re:Apple Discontinues macOS Server by Affric on Thursday April 21, 2022 @10:26PM (#31117551)
>never underestimate the bandwidth of a truck filled with SD cards

Latency is the issue! Once I was working at a museum and we needed to get these stupidly high detail 3D scans to the university. Considering the IT policy and available bandwidth it was quicker for us to put all the files on a single HDD and walk it over.

Re:Apple Discontinues macOS Server by easrng on Thursday April 21, 2022 @11:14PM (#31117797)
.js files are still run by the JScript interpreter by default.
Re:Apple Discontinues macOS Server by derefr on Tuesday April 26, 2022 @11:00AM (#31168309)
Have you considered https://en.m.wikipedia.org/wiki/Universal_Disk_Format ? You can use it on things that aren’t optical media.
Re:Apple Discontinues macOS Server by js2 on Thursday April 21, 2022 @08:06PM (#31116705)
> Why does Windows userbase care more about Linux drive interop than Mac userbase does?

Mostly it doesn't. And in any case, Windows doesn't ship with native support for mounting ext either. Only recently by installing WSL can it do so. So a very tiny minority of Windows users care about it.

https://devblogs.microsoft.com/commandline/access-linux-file...