[Touch-packages] [Bug 1645232] Re: e2fsprogs - could not preserve ACL permissions : The getxattr() returns with (EINVAL)

2017-01-29 Thread Shrawan Kumar
Thanks Theodore & Sojan!!

Regards
Shrawan

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1645232

Title:
  e2fsprogs - could not preserve ACL permissions  : The getxattr()
  returns with (EINVAL)

Status in e2fsprogs package in Ubuntu:
  Confirmed

Bug description:
  The original installed e2fsprogs did not support mke2fs -d /directory
  " option . So ,  git cloned from e2fsprogs packages from repository
  and installed it and followed below steps to reproduce this :

  1. set the ACL rules as below to one of the binary :

  $ setfacl -m u:vipatil:r-- rootfs/usr/bin/helloworld
  $ getfacl rootfs/usr/bin/helloworld
  # file: rootfs/usr/bin/helloworld
  # owner: shkumar
  # group: hardev
  user::rwx
  user:vipatil:r--
  group::---
  mask::r--
  other::---

  2. $ dd if=/dev/zero of=test.ext4 bs=1M count=60

  3. $ mke2fs -t ext4 test.ext4 -d rootfs/
  mke2fs 1.43.3 (04-Sep-2016)
  Discarding device blocks: done
  Creating filesystem with 61440 1k blocks and 15360 inodes
  Filesystem UUID: 495713b3-5f1f-427a-8359-a736dfb2ece9
  Superblock backups stored on blocks:
  8193, 24577, 40961, 57345

  Allocating group tables: done
  Writing inode tables: done
  Creating journal (4096 blocks): done
  Copying files into the device: done
  Writing superblocks and filesystem accounting information: done

  4. sudo mount -o loop,acl,user_xattr,rw,sync test.ext4 mountpoint

  5.@/mountpoint$ getfacl usr/bin/helloworld
  getfacl: usr/bin/helloworld: Invalid argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1645232/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Touch-packages] [Bug 1645232] Re: e2fsprogs - could not preserve ACL permissions : The getxattr() returns with (EINVAL)

2017-01-29 Thread Shrawan Kumar
Thanks a lot !!


Regards
Shrawan

On Sun, Jan 29, 2017 at 11:27 AM, Sojan James 
wrote:

> Thank you Theodore.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1645232
>
> Title:
>   e2fsprogs - could not preserve ACL permissions  : The getxattr()
>   returns with (EINVAL)
>
> Status in e2fsprogs package in Ubuntu:
>   Confirmed
>
> Bug description:
>   The original installed e2fsprogs did not support mke2fs -d /directory
>   " option . So ,  git cloned from e2fsprogs packages from repository
>   and installed it and followed below steps to reproduce this :
>
>   1. set the ACL rules as below to one of the binary :
>
>   $ setfacl -m u:vipatil:r-- rootfs/usr/bin/helloworld
>   $ getfacl rootfs/usr/bin/helloworld
>   # file: rootfs/usr/bin/helloworld
>   # owner: shkumar
>   # group: hardev
>   user::rwx
>   user:vipatil:r--
>   group::---
>   mask::r--
>   other::---
>
>   2. $ dd if=/dev/zero of=test.ext4 bs=1M count=60
>
>   3. $ mke2fs -t ext4 test.ext4 -d rootfs/
>   mke2fs 1.43.3 (04-Sep-2016)
>   Discarding device blocks: done
>   Creating filesystem with 61440 1k blocks and 15360 inodes
>   Filesystem UUID: 495713b3-5f1f-427a-8359-a736dfb2ece9
>   Superblock backups stored on blocks:
>   8193, 24577, 40961, 57345
>
>   Allocating group tables: done
>   Writing inode tables: done
>   Creating journal (4096 blocks): done
>   Copying files into the device: done
>   Writing superblocks and filesystem accounting information: done
>
>   4. sudo mount -o loop,acl,user_xattr,rw,sync test.ext4 mountpoint
>
>   5.@/mountpoint$ getfacl usr/bin/helloworld
>   getfacl: usr/bin/helloworld: Invalid argument
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/
> 1645232/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1645232

Title:
  e2fsprogs - could not preserve ACL permissions  : The getxattr()
  returns with (EINVAL)

Status in e2fsprogs package in Ubuntu:
  Confirmed

Bug description:
  The original installed e2fsprogs did not support mke2fs -d /directory
  " option . So ,  git cloned from e2fsprogs packages from repository
  and installed it and followed below steps to reproduce this :

  1. set the ACL rules as below to one of the binary :

  $ setfacl -m u:vipatil:r-- rootfs/usr/bin/helloworld
  $ getfacl rootfs/usr/bin/helloworld
  # file: rootfs/usr/bin/helloworld
  # owner: shkumar
  # group: hardev
  user::rwx
  user:vipatil:r--
  group::---
  mask::r--
  other::---

  2. $ dd if=/dev/zero of=test.ext4 bs=1M count=60

  3. $ mke2fs -t ext4 test.ext4 -d rootfs/
  mke2fs 1.43.3 (04-Sep-2016)
  Discarding device blocks: done
  Creating filesystem with 61440 1k blocks and 15360 inodes
  Filesystem UUID: 495713b3-5f1f-427a-8359-a736dfb2ece9
  Superblock backups stored on blocks:
  8193, 24577, 40961, 57345

  Allocating group tables: done
  Writing inode tables: done
  Creating journal (4096 blocks): done
  Copying files into the device: done
  Writing superblocks and filesystem accounting information: done

  4. sudo mount -o loop,acl,user_xattr,rw,sync test.ext4 mountpoint

  5.@/mountpoint$ getfacl usr/bin/helloworld
  getfacl: usr/bin/helloworld: Invalid argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1645232/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645232] Re: e2fsprogs - could not preserve ACL permissions : The getxattr() returns with (EINVAL)

2016-12-05 Thread Shrawan Kumar
Hello All,

As an additional info , I can see that POSIX capabilities and SMACK
rules are getting preserved. The problem is only with ACL rules.

Regards
Shrawan

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1645232

Title:
  e2fsprogs - could not preserve ACL permissions  : The getxattr()
  returns with (EINVAL)

Status in e2fsprogs package in Ubuntu:
  Confirmed

Bug description:
  The original installed e2fsprogs did not support mke2fs -d /directory
  " option . So ,  git cloned from e2fsprogs packages from repository
  and installed it and followed below steps to reproduce this :

  1. set the ACL rules as below to one of the binary :

  $ setfacl -m u:vipatil:r-- rootfs/usr/bin/helloworld
  $ getfacl rootfs/usr/bin/helloworld
  # file: rootfs/usr/bin/helloworld
  # owner: shkumar
  # group: hardev
  user::rwx
  user:vipatil:r--
  group::---
  mask::r--
  other::---

  2. $ dd if=/dev/zero of=test.ext4 bs=1M count=60

  3. $ mke2fs -t ext4 test.ext4 -d rootfs/
  mke2fs 1.43.3 (04-Sep-2016)
  Discarding device blocks: done
  Creating filesystem with 61440 1k blocks and 15360 inodes
  Filesystem UUID: 495713b3-5f1f-427a-8359-a736dfb2ece9
  Superblock backups stored on blocks:
  8193, 24577, 40961, 57345

  Allocating group tables: done
  Writing inode tables: done
  Creating journal (4096 blocks): done
  Copying files into the device: done
  Writing superblocks and filesystem accounting information: done

  4. sudo mount -o loop,acl,user_xattr,rw,sync test.ext4 mountpoint

  5.@/mountpoint$ getfacl usr/bin/helloworld
  getfacl: usr/bin/helloworld: Invalid argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1645232/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp