Philip Rushik via plug on 3 May 2024 11:40:31 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Permissions "Can View Content"


On Thu, May 2, 2024, 18:40 Casey Bralla via plug <plug@lists.phillylinux.org> wrote:

I was debugging some rsync problems when I came across some permission issues that I can't figure out.

I understand that each file has Read, Write, and Execute permissions.  But when I used the file manager PCManFM to review and set permissions, it offered these three options:

  1. Read
  2. Write
  3. "View Content"

(BTW, setting "Anyone can View Content" on the file solved my rsync permissions problem, despite the "read" flag being previously set.)

So what is the difference between "read" and "view content"?  And how does one  set "view content" from the command line?


I was hoping to be able to answer more definitively. I quickly looked through the PCmanFM source (actually, this part is in libfm for some reason), and it looks like "View Content" refers to the "read" bit, not the "execute" bit, although it's really not easy to tell by looking at the source because the UI appears to be built with glade.
This is what I am looking at: libfm/data/ui/file-prop.glade at master · lxde/libfm · GitHub

It also looks like the options presented are "View Content", "Change Content", and "Execute". Perhaps the labels changed at some point and you have an old version? If so, that would be very confusing if "View Content" means execute in one version and read in another version...

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug