Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: Ban "other" from $HOME and subdirs - Good or Bad Idea?

  1. #11
    GhX6GZMB is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jun 2019
    Beans
    1,093

    Re: Ban "other" from $HOME and subdirs - Good or Bad Idea?

    Quote Originally Posted by TheFu View Post
    Not sure, but perhaps you missed the subtle aspect to Catkiller's suggestion. Read on a directory isn't always needed. Often, eXecute would be fine.
    751 would likely work. Most programs don't scan directories for filenames. They assume both a directory AND a filename. A compiled program will work perfectly fine without read access, just eXecute alone. Scripts need read, since they have to be read and interpreted.

    For Mate, it appears that personalized Icons can be located anywhere. In my reading, the example used was ~/Icons/ ... but each program icon still had to be individually setup. Yuck. Appears icons could be placed outside HOME, at least for people in the sudo group. This should allow the functionality you describe, but a more locked down HOME.
    You've lost me bit here, but the discussion is interesting.

    For /home everything is default. For $HOME only x is set for "other". No read permission. For all subdirs to $HOME "other" has no rights at all. This works.
    The exception is the $HOME/.face.icon file, which is used by SDDM at login and needs "r" as "other".
    Last edited by GhX6GZMB; April 14th, 2021 at 10:21 PM.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •