summaryrefslogtreecommitdiff
path: root/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-08 00:40:40 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-08 00:40:40 +0000
commit4f0a4c93c2b5ae8a1eb80edeb99bc04f6a8ce4b9 (patch)
tree95848fe4858a9b6ab8bf2a39ef43ec925ae7d949 /x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop
parentd6d571ef747c1a9a0a557a1d4bb913d092a3a34c (diff)
net-fs/samba-config-redcore && x11-misc/pcmanfm-qt-share : prepare samba usershares
Diffstat (limited to 'x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop')
-rw-r--r--x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop b/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop
index 44a3d165..7c30ff1c 100644
--- a/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop
+++ b/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop
@@ -1,8 +1,8 @@
[Desktop Entry]
Type=Action
-Name=Samba Network Share (readwrite)
+Name=Samba network share (readwrite)
Profiles=profile-zero;
[X-Action-Profile profile-zero]
-Exec=/usr/bin/net usershare add %w %f "" Everyone:F guest_ok=y && chmod = 777 %f
+Exec=/usr/bin/net usershare add %w %f "" Everyone:F guest_ok=y && chmod = 777 %f && find %f -type d -exec chmod 777 {} \; && find %f -type f -exec chmod 666 {} \;
Name=Default profile