Ask Ubuntu General Room

Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
Dec 25, 2015 17:11
and to you, too.
Dec 25, 2015 17:11
@Rinzwind o/ Thank you.
Dec 25, 2015 17:07
Merry Christmas!
Dec 25, 2015 17:07
Hello folks.
Dec 24, 2015 09:08
It seems to be a crown.
Dec 24, 2015 09:07
@hg8 :)
Dec 24, 2015 09:07
:) Long time no see folks o/
Dec 15, 2015 09:20
@cl-netbox yeah, very pleasure.
Dec 15, 2015 09:12
:D hat make us very pleasure.
Dec 15, 2015 09:11
@cl-netbox you're welcome
Dec 15, 2015 09:10
I like your answers.
Dec 15, 2015 09:10
+20
Dec 15, 2015 09:09
@cl-netbox yes, just now i saw them.
Dec 15, 2015 09:07
:D
Dec 15, 2015 09:07
@cl-netbox right. from you.
Dec 15, 2015 09:07
@cl-netbox thank you, got new one.
Dec 15, 2015 09:05
@cl-netbox Good friend!, Did you give me an upvote for my last answer?
Dec 15, 2015 09:05
@cl-netbox Good morning :)
Dec 15, 2015 09:04
@StarOS yes, right.
Dec 15, 2015 08:50
Good Morning!
Dec 15, 2015 08:50
Hi, @A.B.
Dec 15, 2015 08:34
For UID
Dec 15, 2015 08:34
@Oli did you read last part of my answer?
Dec 15, 2015 08:29
@Oli right?
Dec 15, 2015 08:28
So It'll work on the both.
Dec 15, 2015 08:28
...
user:www-data:rwx
user:100:rwx
...
Dec 15, 2015 08:28
It'll show you as following in container.
Dec 15, 2015 08:28
And when you run $getfacl /incoming command on The container.
Dec 15, 2015 08:27
...
user:33:rwx
user:www-data:rwx
...
Dec 15, 2015 08:27
It'll show you as follow in host.
Dec 15, 2015 08:26
When you run $ getfacl /media/steve/incoming command,
Dec 15, 2015 08:26
And it will be parsed on the container.
Dec 15, 2015 08:25
Then it could not be parsed on host, but attribute will be written for the directory.
Dec 15, 2015 08:25
$ sudo setfacl -m u:33:rwx ... On the host.
Dec 15, 2015 08:25
then it'll work for host and
Dec 15, 2015 08:24
$ sudo setfacl -m u:www-data:rwx ... On the host.
Dec 15, 2015 08:24
For host's www-data
Dec 15, 2015 08:24
yes, right.
Dec 15, 2015 08:24
on the host,
Dec 15, 2015 08:24
Then
Dec 15, 2015 08:23
on the host, www-data's id is 100.
Dec 15, 2015 08:23
@Oli yes, right. but container knows it is www-data. For example, on the container, www-data's id is 33 and
Dec 15, 2015 08:22
second command should be used on host.
Dec 15, 2015 08:22
first command should be used on container.
Dec 15, 2015 08:22
for user id number rather than user name.
Dec 15, 2015 08:22
$ sudo setfacl -m u:<got_number_above>:rwx /media/steve/incoming
Dec 15, 2015 08:22
$ cat /etc/passwd | grep "^www-data:" | awk -F ":" '{print $3}'
Dec 15, 2015 08:21
@Oli I added some lines.
Dec 15, 2015 08:21
@Oli yeah, tested it.
Dec 15, 2015 08:20
Hi, @Oli