diff options
Diffstat (limited to 'x11-misc/pcmanfm-qt-share')
-rw-r--r-- | x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop | 2 | ||||
-rw-r--r-- | x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop | 4 | ||||
-rw-r--r-- | x11-misc/pcmanfm-qt-share/files/Unshare.desktop | 8 | ||||
-rw-r--r-- | x11-misc/pcmanfm-qt-share/pcmanfm-qt-share-1801.ebuild (renamed from x11-misc/pcmanfm-qt-share/pcmanfm-qt-share-1710.ebuild) | 0 |
4 files changed, 11 insertions, 3 deletions
diff --git a/x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop b/x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop index e3ef10ac..7cebbc3b 100644 --- a/x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop +++ b/x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Type=Action -Name=Samba Network Share (readonly) +Name=Samba network share (readonly) Profiles=profile-zero; [X-Action-Profile profile-zero] 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 diff --git a/x11-misc/pcmanfm-qt-share/files/Unshare.desktop b/x11-misc/pcmanfm-qt-share/files/Unshare.desktop new file mode 100644 index 00000000..23db87d0 --- /dev/null +++ b/x11-misc/pcmanfm-qt-share/files/Unshare.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Action +Name=Samba network unshare +Profiles=profile-zero; + +[X-Action-Profile profile-zero] +Exec=/usr/bin/net usershare delete %w %f "" && chmod = 755 %f && find %f -type d -exec chmod 755 {} \; && find %f -type f -exec chmod 644 {} \; +Name=Default profile diff --git a/x11-misc/pcmanfm-qt-share/pcmanfm-qt-share-1710.ebuild b/x11-misc/pcmanfm-qt-share/pcmanfm-qt-share-1801.ebuild index c7c24c35..c7c24c35 100644 --- a/x11-misc/pcmanfm-qt-share/pcmanfm-qt-share-1710.ebuild +++ b/x11-misc/pcmanfm-qt-share/pcmanfm-qt-share-1801.ebuild |