Roger Oberholtzer wrote:
On Thu, Mar 1, 2018 at 5:00 PM, Dave Howorth <dave@howorth.org.uk> wrote:
On Thu, 1 Mar 2018 15:49:15 +0100 Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
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.
So whilst it is mounted, change its permissions (i.e. chmod whatever /backup) and its owner if you wish. Then unmount it. Check again what the permissions of the mount point are. Then mount it again and check what the permissions of its top-level directory are again.
This did not seem to do as I expected on an ext4 partition:
mount /backup cd /backup chmod a+rwx .
After a remount, the permissions are not a+rw
Sigh.
Just a wild guess - I've never used automount on root, only at least one level down, e.g. /home and such. Might it be worth a try to use /mnt/backup ? (for instance). -- Per Jessen, Zürich (-2.2°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org