* Hi, Is this a problem?
@ 2016-09-23 7:05 Zhang AiHua
2016-09-23 8:16 ` Miklos Szeredi
0 siblings, 1 reply; 2+ messages in thread
From: Zhang AiHua @ 2016-09-23 7:05 UTC (permalink / raw)
To: linux-unionfs
mount:
overlay on /tmp type overlay (rw,relatime,lowerdir=/home/zah/lower,upperdir=/home/zah/upper,workdir=/home/zah/workdir)
/dev/mapper/fedora-home on /home type ext4 (rw,relatime,data=ordered)
problem as below:
[root@localhost tmp]# mkdir zzz
[root@localhost tmp]# chown -R zah zzz
[root@localhost tmp]# su zah
mktemp: failed to create file via template 鈥?tmp/.colorlsXXX鈥? Permission denied
bash: $TMP: ambiguous redirect
[zah@localhost tmp]$
[zah@localhost tmp]$
[zah@localhost tmp]$
[zah@localhost tmp]$ ls -alt |grep zzz
drwxr-xr-x 2 zah root 4096 Sep 24 02:03 zzz
[zah@localhost tmp]$ rm -fr zzz
rm: cannot remove 鈥榸zz鈥? Permission denied
[zah@localhost tmp]$
Is this a problem?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Hi, Is this a problem?
2016-09-23 7:05 Hi, Is this a problem? Zhang AiHua
@ 2016-09-23 8:16 ` Miklos Szeredi
0 siblings, 0 replies; 2+ messages in thread
From: Miklos Szeredi @ 2016-09-23 8:16 UTC (permalink / raw)
To: Zhang AiHua; +Cc: linux-unionfs@vger.kernel.org
On Fri, Sep 23, 2016 at 9:05 AM, Zhang AiHua <zhangaihua1@huawei.com> wrote:
> mount:
> overlay on /tmp type overlay
> (rw,relatime,lowerdir=/home/zah/lower,upperdir=/home/zah/upper,workdir=/home/zah/workdir)
> /dev/mapper/fedora-home on /home type ext4 (rw,relatime,data=ordered)
>
> problem as below:
> [root@localhost tmp]# mkdir zzz
> [root@localhost tmp]# chown -R zah zzz
> [root@localhost tmp]# su zah
> mktemp: failed to create file via template 鈥?tmp/.colorlsXXX鈥? Permission
> denied
> bash: $TMP: ambiguous redirect
> [zah@localhost tmp]$
> [zah@localhost tmp]$
> [zah@localhost tmp]$
> [zah@localhost tmp]$ ls -alt |grep zzz
> drwxr-xr-x 2 zah root 4096 Sep 24 02:03 zzz
> [zah@localhost tmp]$ rm -fr zzz
> rm: cannot remove 鈥榸zz鈥? Permission denied
> [zah@localhost tmp]$
>
> Is this a problem?
Depends on what the permissions are on tmp.
Thanks,
Miklos
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-23 8:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-23 7:05 Hi, Is this a problem? Zhang AiHua
2016-09-23 8:16 ` Miklos Szeredi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.