# Entry for /dev/sda1 :
UUID=fb88ff0f-7d89-4213-b23b-1b73a06ea64d / ext4 acl,relatime 1 1
# Entry for /dev/sda1 :
LABEL=backup /backup ext4 user 1 2
# Entry for /dev/sda6 :
UUID=7e491081-eaef-4963-97c5-5c57d6a7628a /home ext4 acl,relatime 1 2
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
none /proc proc defaults 0 0
# Entry for /dev/sdb1 :
UUID=24e987b9-a1b1-4485-aef2-3048048ebbd8 /sdb ext4 defaults 1 2
# Entry for /dev/sdd1 :
UUID=86cebd0f-f126-4d48-9499-5afd46e01745 /vmm ext3 defaults 1 2
[root@localhost ~]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Mar 11 12:27 03d31702-f7cf-4fd5-aaca-7a5afc679f5e -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 11 12:27 24e987b9-a1b1-4485-aef2-3048048ebbd8 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 11 12:27 6ec7d301-e8f1-4c6d-b41b-88f609112f6e -> ../../sdc5
lrwxrwxrwx 1 root root 10 Mar 11 12:27 7e491081-eaef-4963-97c5-5c57d6a7628a -> ../../sdc6
lrwxrwxrwx 1 root root 10 Mar 11 12:27 86cebd0f-f126-4d48-9499-5afd46e01745 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Mar 11 12:27 fb88ff0f-7d89-4213-b23b-1b73a06ea64d -> ../../sdc1
RoyD wrote:[root@localhost ~]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Mar 11 12:27 03d31702-f7cf-4fd5-aaca-7a5afc679f5e -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 11 12:27 24e987b9-a1b1-4485-aef2-3048048ebbd8 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 11 12:27 6ec7d301-e8f1-4c6d-b41b-88f609112f6e -> ../../sdc5
lrwxrwxrwx 1 root root 10 Mar 11 12:27 7e491081-eaef-4963-97c5-5c57d6a7628a -> ../../sdc6
lrwxrwxrwx 1 root root 10 Mar 11 12:27 86cebd0f-f126-4d48-9499-5afd46e01745 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Mar 11 12:27 fb88ff0f-7d89-4213-b23b-1b73a06ea64d -> ../../sdc1
I am no genius but are the UUID all messed up between the 2?
Mount point: /backup
Device: sda1
Volume label: backup
UUID: 03d31702-f7cf-4fd5-aaca-7a5afc679f5e
Type: Journalised FS: ext4 (0x83)
Start: sector 63
Size: 465GB (99%), 976768002 sectors
Cylinder 0 to 60800
Mounted
Partition booted by default
(for MS-DOS boot, not for lilo)
# Entry for /dev/sda1 :
UUID=fb88ff0f-7d89-4213-b23b-1b73a06ea64d / ext4 acl,relatime 1 1
ls -l /dev/disk/by-uuid/ shows
lrwxrwxrwx 1 root root 10 Mar 11 12:27 03d31702-f7cf-4fd5-aaca-7a5afc679f5e -> ../../sda1
Mount point: /backup
Device: sda1
Volume label: backup
UUID: 03d31702-f7cf-4fd5-aaca-7a5afc679f5e
It's not weird and not unexpected behaviour when adding a hard drive.doktor5000 wrote:Well, i'm confused, something is weird here.
chmod 666 /backup
[root@localhost ~]# blkid
/dev/sda1: UUID="03d31702-f7cf-4fd5-aaca-7a5afc679f5e" TYPE="ext4" LABEL="backup"
/dev/sdc1: UUID="fb88ff0f-7d89-4213-b23b-1b73a06ea64d" TYPE="ext4"
/dev/sdc5: UUID="6ec7d301-e8f1-4c6d-b41b-88f609112f6e" TYPE="swap"
/dev/sdc6: UUID="7e491081-eaef-4963-97c5-5c57d6a7628a" TYPE="ext4"
/dev/sdb1: UUID="24e987b9-a1b1-4485-aef2-3048048ebbd8" TYPE="ext4"
/dev/sdd1: LABEL="Virtual Machines" UUID="86cebd0f-f126-4d48-9499-5afd46e01745" TYPE="ext3"
[root@localhost ~]# mount
/dev/sdc1 on / type ext4 (rw,relatime,acl,commit=0)
none on /proc type proc (rw)
/dev/sda1 on /backup type ext4 (rw,noexec,nosuid,nodev,commit=0)
/dev/sdc6 on /home type ext4 (rw,relatime,acl,commit=0)
/dev/sdb1 on /sdb type ext4 (rw,commit=0)
/dev/sdd1 on /vmm type ext3 (rw,commit=0)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
gvfs-fuse-daemon on /home/roy/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=roy)
[root@localhost ~]#
From the mount output it seems I was wrong and the LABEL entry in /etc/fstab is the problem.RoyD wrote:chmod 666 /backup in root did not fix the permission problem meaning a users can not create a directory. root can.
# Entry for /dev/sda1 :
# LABEL=backup /backup ext4 user 1 2
UUID=03d31702-f7cf-4fd5-aaca-7a5afc679f5e /backup ext4 acl,relatime 1 2
mount -a
I just tested and 666 doesn't allow me to create folders but 777 does.RoyD wrote:hi Ken
I did all the changers but to no success. I tried but the permission problem is still a problem. Every time I tried to create a new folder I get ¨Access denied to backup/test2¨
chmod 777 /backup
Users browsing this forum: No registered users and 1 guest