On 12/04/2019 22.34, Dave Howorth wrote:
On Fri, 12 Apr 2019 16:15:31 -0400 Patrick Shanahan <> wrote:
* Carlos E. R. <> [04-12-19 16:04]:
In a nutshell:
cer-g@Isengard:/data/My_Book/Fusion/Videos> l Conviction/ ls: cannot open directory 'Conviction/': Permission denied cer-g@Isengard:/data/My_Book/Fusion/Videos> l | grep Conviction/ drwxrwxr-T+ 3 cer cer 33 Jun 21 2017 Conviction/ [snip www and wwwrun are groups themselves. add user cer-g to wwwrun group.
But why? The directory belongs to group cer and gives all permissions to members and cer-g is a member of cer.
Exactly. Unless the "T" plays some role I did not think about? man chmod: The letters rwxXst select file mode bits for the affected users: read (r), write (w), execute (or search for directories) (x), execute/search only if the file is a directory or already has execute permission for some user (X), set user or group ID on execution (s), restricted deletion flag or sticky bit (t). RESTRICTED DELETION FLAG OR STICKY BIT The restricted deletion flag or sticky bit is a single bit, whose interpretation depends on the file type. For directories, it prevents unprivileged users from removing or renaming a file in the directory unless they own the file or the directory; this is called the restricted deletion flag for the directory, and is commonly found on world-writable directories like /tmp. For regular files on some older systems, the bit saves the program's text image on the swap device so it will load more quickly when run; this is called the sticky bit. I guess I can clear the sticky bit, I no longer need it. [...] cer@Isengard:/data/My_Book/Fusion/Videos> chmod -t Conviction/ cer@Isengard:/data/My_Book/Fusion/Videos> l Conviction/ total 16 drwxrwxr--+ 3 cer cer 33 Jun 21 2017 ./ drwxrwxr-T+ 52 cer cer 8192 Apr 12 03:43 ../ drwxrwxr-T+ 2 cer cer 4096 Jun 22 2017 Temporada 1/ cer@Isengard:/data/My_Book/Fusion/Videos> cer-g@Isengard:/data/My_Book/Fusion/Videos> l Conviction/ ls: cannot open directory 'Conviction/': Permission denied cer-g@Isengard:/data/My_Book/Fusion/Videos> No, it is not it... -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)