Results 1 to 3 of 3

Thread: Unable to copy NTFS file permissions ( ACL)

  1. #1
    Join Date
    Dec 2007
    Posts
    112

    Unable to copy NTFS file permissions ( ACL)

    Hello,

    I am trying to provide our users a way to change file / folder permissions on public share on samba (3.0.28a) ROLE_STANDALONE server. ACL's are working fine but the problem is to get list of users and groups on samba server via Windows XP Professional (SP3).

    When I open 'Select users or groups' dialog and pressing' Find now ' button the Windows asks my Samba username / password pair. Why is that?
    The share is already mounted, why I have to give my password again? That is annoying but * real * problem is that I get user list very rarely.
    Sometimes it works but usually it does not. One interesting point is that I got user / group list every time if my samba password is different
    than my windows password! Even though I have to give my username / password every time.

    I cant 'be the only one trying to get this work but despite of that I haven't found any help from documentation.

  2. #2
    Join Date
    May 2008
    Posts
    230

    Re: Unable to copy NTFS file permissions ( ACL)

    When you install you must specify the rights that should be done to a certain point - to allow access (Allow) or disable (Deny). Local Security Authority (LSASS) which has control of access to resources, based on the security ID (SID), which is placed in the ACL, and then compared with the SID, which is attributable to the user when logging into the system. If the SID assigned to the user is in the ACL, then LSASS must determine what type of access set for the object - Allow or Deny. Human Allow and Deny are inherited for the entire structure, as well as to the rights described above.

    he fact that a user or group SID is not in the ACL, leads to the same result - no access to a resource ( «No Access»), without requiring special settings in the ACL. Only very rarely need to use direct rights Deny. Denial of access to the resource in error from the ACL easier to debug, manage and configure.

  3. #3
    Join Date
    May 2008
    Posts
    308

    Re: Unable to copy NTFS file permissions ( ACL)

    Copy a file's ACL to another file by redirecting the getfacl output.
    Code:
    % getfacl filename1 | setfacl -f - filename2
    filename1 : Specifies the file from which to copy the ACL.

    filename2 : Specifies the file on which to set the copied ACL.

    For an Example :

    In the following example, the ACL on ch4.sgm is copied to ch5.sgm.


    % getfacl ch4.sgm | setfacl -f - ch5.sgm

Similar Threads

  1. Windows 7 NTFS and Share Permissions
    By Madison in forum Operating Systems
    Replies: 6
    Last Post: 16-08-2010, 09:46 AM
  2. Replies: 8
    Last Post: 16-04-2009, 05:58 PM
  3. Unable to copy from NTFS partition
    By Woodrow in forum Operating Systems
    Replies: 3
    Last Post: 01-04-2009, 10:00 AM
  4. NTFS Permissions to allow saving but prevent changing
    By zoomlmk in forum Operating Systems
    Replies: 5
    Last Post: 20-03-2009, 12:16 AM
  5. copy file/folder permissions after robocopy
    By mohaaron in forum Windows Server Help
    Replies: 6
    Last Post: 27-08-2007, 02:29 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,807,972.79799 seconds with 16 queries