|
|||||||
| Register | Members List | New Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Kasper's Automated Slave
Join Date: Nov 1997
Posts: 6,159
|
Mac OS X Tiger to support Fast Logout, Access Control Lists
According to sources privy to pre-release builds of Apple's Mac OS X 10.4 "Tiger" operating system, the release will feature "Fast Logout and Autosave" technology and support for Access Control Lists file-based permissions, AppleInsider has learned.
Fast Logout and Autosave Fast logout and autosave is a performance-related feature designed to improve the user experience of Mac OS X Tiger. Presently, closing windows in Mac OS X an expensive operation, especially if the application must prompt the user about unsaved changes for each document window. Tiger's fast logout and autosave feature will improve logout, shutdown, and restart operations by reducing the number of confirmation dialogs presented to the user, all the while protecting the user's unsaved data in open applications. During a logout, shutdown, or restart operation, Tiger will determine whether an application should post a confirmation dialog for unsaved changes or perform an auto-save event. If the application performs an auto-save event, data will be saved to a special location on the system and the user will be logged out of Mac OS X. The next time the user logs in, the system relaunches each application with auto-saved documents and reconstructs the documents as their state immediately before the last logout. According to sources, most of the applications that will ship with Tiger will already support Fast Logout and Autosave. On the other hand, third party developers will need to update their applications to gain the benefits of the new feature. Access Control Lists Tiger will also introduce support for Access Control Lists (ACLs)—a robust system for implementing file-based permissions that offer many improvements over the existing BSD permissions currently used by the Mac OS X file systems. Among the improvements delivered by ACL's is support for ownership of files and directories by a group, enhanced interoperability with Samba and Windows, and support for multiple owners of a file or directory, each with potentially different permissions. Additionally, ACL's will add support for static inheritance of file permissions from a parent directory and provide more control over a file than just read/write/execute permissions. ACLs are a common feature of enterprise computing because they provide flexible and highly configurable rights management for servers. The technology also removes many of the limitations of the existing BSD permissions by allowing access to files and directories by multiple groups and users. In addition, it lets the system administrator grant specific rights to each user and group without requiring the creation of special new groups. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Jul 2004
Location: Solon, OH
Posts: 42
|
Yay for ACL support! I've been waiting for Apple to upgrade the permissions system, and adding ACLs seems like the perfect way to do it.
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Oct 2003
Location: MO, USA
Posts: 278
|
So ACL are better than Mac OS X's current file permission system?
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Jul 2004
Location: Solon, OH
Posts: 42
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jun 2003
Posts: 60
|
Hurrah for ACLs. I hope this is evidence of a serious effort on Apple's part to create a server and client OS that can funtion in most small to mid-sized businesses. For the most part, they are there already. ACLs were big on my list as the current permissions were too restrictive. Now, make mounting of shares easier (more intuitive) and we've got a winner on the OS side.
It is funny, I read that 2003 Small Business Server is a huge hit. Personally, I think it is horrible (although I find 2003 Server a fine OS). Apple has all the right parts; with a little polish it could compete very well with SBS2003. I guess I'm still smarting over my company's decision to ditching Panther Server/ OS X in favor of SBS2003/ XP... |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Oct 2003
Location: MO, USA
Posts: 278
|
I wonder if Apple is going to have to enhance the GET INFO panel to adjust for ACL settings.
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Dec 2001
Location: Kansas City
Posts: 1,708
|
Does the current Tiger Beta have any signs of ACLs?
A friend will help you move, but a REAL FRIEND will help you move a body.
|
|
|
|
|
|
#8 | |
|
Registered User
Join Date: Apr 2002
Location: Hawaii
Posts: 540
|
Quote:
What I'd really like is an automatic way to ensure consistent file permissions when installing software. Too many third party apps are installed with world writable directories, as running "find /Applications -type d -mode 777 -ls" will reveal. |
|
|
|
|
|
|
#9 |
|
Registered User
Join Date: Aug 2004
Location: Czech Republic
Posts: 9
|
I would just like to clarify that:
a) the old file permissions (4byte 7777-style) are not BSD file permissions but rather general UNIX file permissions b) FreeBSD (and possibly other BSDs?) feature ACL for quite a while now It's quite probable that the Tiger ACLs are actually fetched from FreeBSD in my opinion. Especially since Jordan K. Hubbard is at Apple. Last edited by zzen; 08-12-2004 at 08:17 AM.. |
|
|
|
|
|
#10 | |
|
Registered User
Join Date: Jul 2004
Location: Solon, OH
Posts: 42
|
Quote:
|
|
|
|
|
|
|
#11 | |
|
Registered User
Join Date: Aug 2004
Location: Czech Republic
Posts: 9
|
Quote:
It wasn't a newest thing under the sun at that time, but the FreeBSD implementation was quite fresh and Apple was left with about half a years time to copy it to Darwin. Which is not much. A safer and better strategy is to wait and see how the FreeBSD implementation lives up, wait for one or two versions before the bugs get ironed out and then introduce it into Darwin. And leave ample time for testing and debugging, since an error in the file permissions implementation could be very fatal. The question is why didn't they put ACLs in one of the incremental updates like 10.3.5. First of all, I am not sure if/how many apps the ACL will or will not break (probably just some disk maintenance apps), second, I guess they like to keep all the aces for paid upgrades. ![]() |
|
|
|
|
|
|
#12 |
|
Registered User
Join Date: Jul 2002
Posts: 190
|
ACLs require both kernel support and support in the userland applications. Kernel support is probably fairly straightforward. Well, actually, maybe not so straightforward depending on how amenable HFS+ is to ACLs.
However, updating all the commmand-line and GUI tools, as well as any frameworks or other-more-than-bare-UNIX APIs to support ACLs is a lot of work. |
|
|
|
|
|
#13 | |
|
Registered User
Join Date: Jul 2004
Location: Solon, OH
Posts: 42
|
Quote:
|
|
|
|
|
|
|
#14 |
|
the Casbah
Join Date: Nov 2001
Location: have lived in: Louisiana, Ohio, Florida, Minnesota, and Ontario, Canada (now twice)
Posts: 3,455
|
okay, getting off of ACLs for a second, i had a sudden realization with regards to the fast logout mentioned above, when combined with the better .mac syncing mentioned earlier this week...
what if you could combine the two to sync your current SESSION with .mac. that way, when you went to ANY other mac, or your home mac, provided you have the same software installed there, you could choose "resume session closed on "name_of_mac_here" as of "time_date"?) then you could either just start your own home session, or you could seamlessly resume your work right where you left off. this type of seamless "any station is my station" has typically been reserved for the closed high-speed, central server network system. but what if apple brought it right home to the common person? no more backing files up to disk, or manually copying them to idisk, or emailing them home for further work... just encrypt it and logout of your workplace work, and your mac, mac os x and .mac handle everything else. heck, throw in a "remote desktop express" for only one-to-one linkup between two computers, and you never have to be away from your data... mind you, i don't really WANT something to make it easier to work at home AND work, but i find i keep doing it, so why not make it easier???
When you're lovers in a dangerous time,
You're made to feel as if your love's a crime. Nothing worth having comes without some kind of fight. Gotta kick at the darkness 'til it bleeds daylight. - Bruce Cockburn, 'Lovers in a Dangerous Time' (also covered very well by Barenaked Ladies) |
|
|
|
|
|
#15 |
|
Global Moderator
Join Date: Nov 2001
Location: Seattle, WA
Posts: 10,463
|
Very cool idea Rok. I hope we head in that general direction.
|
|
|
|
|
|
#16 | |
|
Registered User
Join Date: Aug 2004
Location: Czech Republic
Posts: 9
|
Quote:
First, the way I suppose fast logout will work: 1) it will make a list of running applications 2) it will tell each of the applications to return the list of unsaved documents 3) for each of the documents, it will tell the respective application to compute a difference between the actual state of the document and the last saved copy on the disk. These differences will be store in a folder and upon the next login, all those respective applications will be opened and told to reconstruct the current document from the on-disk copy and the difference saved in the session. Let's see. If you would allow to synchronize between more computers, here are a few problems * You never have the same applications installed. Never. Not the very same version, configuration, plugins, exact same preferences, kernel extensions etc. * You have an iMovie project opened. You fast-logout. A few tens of megabytes are written to disk as the difference. You go to work, resume the session -- and expect to have the whole 2gigabyte project accessible? Or if you have a huge Photoshop file opened? Or DVD project? I think you see where I am heading. You need to share the same physical disk space (or synchronize the whole disk structure) in order for these sessions to work. I don't think it's possible otherwise. |
|
|
|
|
|
|
#17 |
|
Registered User
Join Date: Nov 2001
Location: Somewhere far, far away
Posts: 2,858
|
zzen brings good points...some of which I was about to mention.
I think a safer bet would be Home on iPod. Bring iPod to work, plug iPod in, user shows up in user list, pick user, work, Fast Logout, unplug iPod, bring iPod home, plug iPod in, user shows up in user list, pick user, work. There's still an issue of not having the app or the exact version of the app in question...but I think it could work if the app was on the iPod and that app superseded other apps in priority launching order. |
|
|
|
|
|
#18 | |
|
Registered User
Join Date: Aug 2004
Location: Czech Republic
Posts: 9
|
Quote:
I really can't envision any other way than complete HD structure syncing. |
|
|
|
|
|
|
#19 | |
|
the Casbah
Join Date: Nov 2001
Location: have lived in: Louisiana, Ohio, Florida, Minnesota, and Ontario, Canada (now twice)
Posts: 3,455
|
Quote:
ah hell, perhaps it's a pipe dream, but i have to say i like the IDEA of it, anyway... steve, MAKE IT HAPPEN. ![]()
When you're lovers in a dangerous time,
You're made to feel as if your love's a crime. Nothing worth having comes without some kind of fight. Gotta kick at the darkness 'til it bleeds daylight. - Bruce Cockburn, 'Lovers in a Dangerous Time' (also covered very well by Barenaked Ladies) |
|
|
|
|
|
|
#20 |
|
Registered User
Join Date: Nov 2001
Location: Ohio
Posts: 921
|
I haven't heard any other mention of Autosave in Tiger besides the AI article. Is it actually included?
When they said "Think Different", I ran with it.
|
|
|
|
|
|
#21 | |
|
Registered User
Join Date: Oct 2003
Location: MO, USA
Posts: 278
|
Quote:
Mike |
|
|
|
|
|
|
#22 |
|
Registered User
Join Date: Oct 2003
Location: MO, USA
Posts: 278
|
I have a question, though...
I don't really understand what Access Control Lists are or how they differ much from the current file system permissions setup currently in Panther. When Steve announced this at WWDC '04 the audience seemed very happy. What is it? And what features does it bring? Mike |
|
|
|
|
|
#23 | |
|
Registered User
Join Date: Aug 2004
Location: Czech Republic
Posts: 9
|
Quote:
With ACLs, you can have pretty much any number of owners of a file or any number of groups the file belongs to. For example, you can make a file unreadable in general and read-only for one group of users and read/write for another group of users - a task which was hardly possible now. For more detail see http://csrc.nist.gov/publications/ni...-7/node27.html or http://en.wikipedia.org/wiki/Access_Control_List |
|
|
|
|
|
|
#24 | ||
|
Registered User
Join Date: Aug 2004
Location: Czech Republic
Posts: 9
|
Quote:
Quote:
|
||
|
|
|
|
|
#25 | |
|
Moderator Emeritus
Join Date: Nov 2001
Location: Iowa City
Posts: 6,811
|
Quote:
"...within intervention's distance of the embassy." - CvB
Original music: The Mayflies - Black earth Americana. Now on iTMS! Becca Sutlive - Iowa Fried Rock 'n Roll - now on iTMS! |
|
|
|
|
|
|
#26 |
|
Registered User
Join Date: Nov 2001
Location: UK
Posts: 1,024
|
I am hoping for a GUI to set 'groups' in ACL's...
Trying hard to think of a new signature...
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|