file and directory priviliges
by lukeer from LinuxQuestions.org on (#4X5BZ)
Hi forum,
I would like to have a directory to writeable through samba share. Its name is "Upload". But I don't get it to be writeable for other users at all:
Code:root@xxxx:/DATA/mfs/ftproot# ll
total 1856
drwxrwx--- 1 root plugdev 4096 Oct 28 2017 ./
drwxrwx--- 1 root plugdev 0 Apr 1 2012 ../
-rwxrwx--- 1 root plugdev 1023525 May 7 2012 Flyer_v2.pdf*
drwxrwx--- 1 root plugdev 16384 May 17 2019 Upload/
root@xxxx:/DATA/mfs/ftproot# chmod -v 0777 Upload
mode of 'Upload' changed from 0770 (rwxrwx---) to 0777 (rwxrwxrwx)
root@xxxx:/DATA/mfs/ftproot# ll
total 1856
drwxrwx--- 1 root plugdev 4096 Oct 28 2017 ./
drwxrwx--- 1 root plugdev 0 Apr 1 2012 ../
-rwxrwx--- 1 root plugdev 1023525 May 7 2012 Flyer_v2.pdf*
drwxrwx--- 1 root plugdev 16384 May 17 2019 Upload/Why do the permissions for "Upload" not get changed according to [ll], which is an alias for [ls -l] even though the chmod command tells me so?
DATA is an NTFS harddisk mounted through fstab
Code:UUID=20D0B80DD0B7E6E6 /DATA ntfs defaults,umask=007,gid=46 0 0


I would like to have a directory to writeable through samba share. Its name is "Upload". But I don't get it to be writeable for other users at all:
Code:root@xxxx:/DATA/mfs/ftproot# ll
total 1856
drwxrwx--- 1 root plugdev 4096 Oct 28 2017 ./
drwxrwx--- 1 root plugdev 0 Apr 1 2012 ../
-rwxrwx--- 1 root plugdev 1023525 May 7 2012 Flyer_v2.pdf*
drwxrwx--- 1 root plugdev 16384 May 17 2019 Upload/
root@xxxx:/DATA/mfs/ftproot# chmod -v 0777 Upload
mode of 'Upload' changed from 0770 (rwxrwx---) to 0777 (rwxrwxrwx)
root@xxxx:/DATA/mfs/ftproot# ll
total 1856
drwxrwx--- 1 root plugdev 4096 Oct 28 2017 ./
drwxrwx--- 1 root plugdev 0 Apr 1 2012 ../
-rwxrwx--- 1 root plugdev 1023525 May 7 2012 Flyer_v2.pdf*
drwxrwx--- 1 root plugdev 16384 May 17 2019 Upload/Why do the permissions for "Upload" not get changed according to [ll], which is an alias for [ls -l] even though the chmod command tells me so?
DATA is an NTFS harddisk mounted through fstab
Code:UUID=20D0B80DD0B7E6E6 /DATA ntfs defaults,umask=007,gid=46 0 0