Michael Lazin via plug on 2 May 2024 16:48:46 -0700


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

Re: [PLUG] Permissions "Can View Content"


You can try this:

find -type f -exec chmod 644 {};
find -type d -exec chmod 755 {};

This will set the permissions you want.

Michael Lazin

.. τὸ γὰρ αὐτὸ νοεῖν ἐστίν τε καὶ εἶναι.


On Thu, May 2, 2024 at 7:46 PM Michael Lazin <microlaser@gmail.com> wrote:
In most cases 644 for files and 755 for directories is safe and will work for rsync provided the group ownership allows the transfer.  If you have problems after setting these permissions you may want to check the user and group.

Thanks,

Michael Lazin

.. τὸ γὰρ αὐτὸ νοεῖν ἐστίν τε καὶ εἶναι.


On Thu, May 2, 2024 at 6:40 PM 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?

___________________________________________________________________________
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
___________________________________________________________________________
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