Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-20-2011, 12:44 AM   #1
LQ Newbie
Registered: Sep 2011
Posts: 23

Rep: Reputation: Disabled
Unhappy Need to copy only ACLs from Virtual Windows to Native Ubuntu

Heylo all,
I'm using Ubuntu 10.10 as my host os and have installed Windows 7 in VirtualBox.
I've shared a folder named "Destination" using samba in ubuntu and I can access it through my virtual windows.
I've created few files in virtual windows at location "C:\Source\" and those files have different permissions for different users.
I'm using robocopy tool from Microsoft to copy security information from virtual windows box to ubuntu box.
What I want to do is to copy only ACLs first and then simply copy paste files to same destination to see whether ACLs are automatically mapped to pasted files.
After executing this command:
robocopy C:\Source\ \\<ip_addr>\Destination\ *.* /copy:s
It's not showing any error. So, I think ACLs are getting copied. But after doing that, when I simply copy paste same files to ubuntu box directly on the same Destination, I don't see any of the ACLs maintained. Please help how to do I want to do.
Thanks a ton.
Old 10-21-2011, 09:18 AM   #2
Registered: Mar 2010
Posts: 202

Rep: Reputation: 84
There are two problems I see here. One, the Windows ACL system has nothing to do with that of Linux (POSIX actually), they are different. That said, there are things that can be done to more or less represent the same permissions in either system.

Second problem is that you don't even seem to share the same user database or ID mapping between the systems, so how do you expect to maintain any kind of permission info when you transfer files between them?

My advice is that if the ACLs aren't too complex, just replicate them by hand using setfacl. If not, you are in to an adventure into joining a windows machine and a linux machine to the same authentication domain and share the user database. If that's your wish, you can begin reading here, here and here.

Last edited by Juako; 10-21-2011 at 09:20 AM.
Old 10-31-2011, 12:53 AM   #3
LQ Newbie
Registered: Sep 2011
Posts: 23

Original Poster
Rep: Reputation: Disabled
Sorry for late reply.
Thanks for these links. Seems it's more complex then I thought it would be.
Now I get an error that "This security ID may not be assigned as the owner of this object."
I tried solving this on google but it's more confusing now.
Where and what exactly I need to change? In Virtual Windows or Native Ubuntu?
Thanks in advance.


acl, samba, security, virtual box

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual HD native boot dilvid Linux - Virtualization and Cloud 2 09-06-2011 03:05 AM
Windows ACLs and Linux Unclesmiff Linux - Software 1 02-24-2007 01:32 PM
Windows ACLs and FC5/Samba/rsync Unclesmiff Linux - Enterprise 1 02-23-2007 03:12 AM
any good native utilities out there to copy filesystems bret Linux - Enterprise 3 07-07-2006 08:31 AM
Fedora Core 3, Windows ACLs, POSIX ?? jabran Fedora 6 06-24-2005 10:01 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration