Re: Hi, Is this a problem?

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

 



On Fri, Sep 23, 2016 at 9:05 AM, Zhang AiHua <zhangaihua1@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux