bug-xorriso
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xorriso, create an iso archive from a directory which has NTFS ACLs/


From: Kristaps Esterliņš
Subject: Re: xorriso, create an iso archive from a directory which has NTFS ACLs/xattr
Date: Wed, 19 Oct 2022 09:01:26 +0000

Dear Thomas,

I apologize for the late reply. 

The goal I wanted to achieve was to create an iso archive with data from a samba share which uses NTFS ACLs. 
To overcome this first issue, I list the permissions with getfacl and then write the data to a separate file which then is included in the iso.

Here is the script I am using. 

xorriso -joliet on \
  -compliance joliet_long_names \
  -compliance joliet_long_paths \
  -abort_on FAILURE \
  -md5 all \
  -hardlinks on \
  -volid BACKUP_19102022 \
  -disk_dev_ino on \
  -dev /srv/archive/backup_19102022.iso \
  -update_r "$SOURCE_DIR" / \
  -update_r /tmp/.directory.acl .directory.acl \
  -commit \
  -toc \
  -check_md5 FAILURE

Is "-update_r" the correct way to add files, folders and subdirectories or should I switch to "-add" ? I do not need to update the iso file, it will be created once per X days and the stored in a different location.

Thanks again!




From: Kristaps Esterliņš <kristaps.esterlins@avarauto.lv>
Sent: 15 September 2022 09:33
To: bug-xorriso@gnu.org <bug-xorriso@gnu.org>
Cc: Thomas Schmitt <scdbackup@gmx.net>
Subject: Re: xorriso, create an iso archive from a directory which has NTFS ACLs/xattr
 
Dear Thomas,

No worries. Thank you for your help and suggestions!

>Did you try with one of the files which were reported by xorriso ?
>E.g.
>
>  /home/src/acl_test /srv/backup/samba/service/service-13-09-2022/service/folder1/garantijuveidi.pdf
>
>I will ponder about better diagnosis on the way to the error message
>and about other possible reasons for the problem.

I will try to test that today and report back.


From: Thomas Schmitt <scdbackup@gmx.net>
Sent: 14 September 2022 15:52
To: bug-xorriso@gnu.org <bug-xorriso@gnu.org>
Cc: Kristaps Esterliņš <kristaps.esterlins@avarauto.lv>
Subject: Re: xorriso, create an iso archive from a directory which has NTFS ACLs/xattr
 
Hi,

i wrote:
> If ACL were determined successfully, then the result should roughly look
> like the result of getfacl(1) of ./acl_test with the original file .

"R" and "F" are too near together on my keyboard. I ment to write:

  [...] getfacl(1) or ./acl_test [...]


(And then i messed up the threading again, by replying to the older mail.)


Have a nice day :)

Thomas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]