On Thu, Mar 1, 2018 at 3:24 PM, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
On Thu, Mar 1, 2018 at 5:16 PM, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
If the directory before the mount has 0777 (all rwx), after the mount those will be the permissions for the root of the mounted volume.
localhost:~ # ls -ld /mnt drwxrwxrwx 1 root root 0 Dec 6 03:16 /mnt localhost:~ # mount /dev/sdb1 /mnt localhost:~ # ls -ld /mnt drwx------ 1 test root 8 Feb 28 10:08 /mnt
# ls -ld /backup/ drwxrwxrwx 2 root root 4096 Mar 1 15:37 /backup/ # mount /dev/sdb1 /backup/ # ls -ld /backup/ drwxrwxrwx 2 root root 4096 Mar 1 15:37 /backup/ This is a newly formatted ext4 volume. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org