Author Topic: access user folder  (Read 2162 times)

Offline ternor

  • Hero Member
  • *****
  • Posts: 1797
Re: access user folder
« Reply #15 on: October 26, 2012, 05:46:06 PM »
I have upgraded to 4.9.2 and I don't have that option either.  EDIT: Oops, I DO have it.
« Last Edit: November 07, 2012, 11:08:42 PM by ternor »

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: access user folder
« Reply #16 on: October 27, 2012, 02:52:35 PM »
Thanks Andy ......  so the question is what am I missing, or what have I set, that prevents that option from being present here?

I really don't know this is just a standard build continually updated from the initial install (back when we moved to KDE 4 I think).

I'll check on a different system and see if if it is the same or not


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: access user folder
« Reply #17 on: October 27, 2012, 03:33:04 PM »
I've checked on my Bare Metal 1 test system and it shows the same options as my main system. I'll upgrade it to 4.9.2 and see if anything changes.


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline oldfrt

  • Full Member
  • ***
  • Posts: 102
    • Ron's homepage
Re: SHARE access folder - Dolphin and Konqueror
« Reply #18 on: October 27, 2012, 06:55:28 PM »
I also tried it using Konqueror. Left click on the folder and at the bottom just above Properties is Share??? When I click on that nothing happens. Something is amiss in the land of OZ??? I even tried Konqueror - Super User Mode and it shows the same thing. Right now I don't think this is a Dolphin nor Konqueror problem as both act the same way. Maybe something got changed in user access???

I will keep on digging..Ron

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: access user folder
« Reply #19 on: October 28, 2012, 04:00:17 AM »
Well; the upgrade hasn't changed the way the advanced permissions window looks or acts, but it has had other effects that either need new threads opening or at least searching for.

One permission related issue was only solved when I logged out all users logged in as root to make the changes I wanted for the login screen and then rebooted. following this it seems to be OK but not solved yet.

Regards


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: access user folder
« Reply #20 on: October 31, 2012, 04:43:04 AM »
test machines have updated and still show the advanced permissions with the Add Entry button, the other issues (as a result of the upgrade have been resolved).

I still have no clue why this button shows on my machines and not on yours ???


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: access user folder
« Reply #21 on: October 31, 2012, 05:03:01 AM »
I got a Share tab from the right click - Properties .....  by setting something in PCC - Local Disks - Share your Hard disk partitions .......  *I think* ........  it was some days ago and I was interrupted   :(

In any case, as I do not have SAMBA installed that Share tab is useless as it requires SAMBA.

I did not get anything new on the Advanced Permission tab.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: access user folder
« Reply #22 on: October 31, 2012, 05:19:19 AM »
I just had a quick look at that (following your message), it is set to no sharing.

Looking at Synaptic shows samba-client, samba-common, samba-server and samba-winbind are installed though I have never taken the time to setup samba.

I have used SMB4K and the network sharing option in the PCC to access windows machines, so I would guess the samba elements were added this way (though I don't remember now).

Regards


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: access user folder
« Reply #23 on: October 31, 2012, 06:14:25 AM »
I just had a quick look at that (following your message), it is set to no sharing.

Looking at Synaptic shows samba-client, samba-common, samba-server and samba-winbind are installed though I have never taken the time to setup samba.

I have used SMB4K and the network sharing option in the PCC to access windows machines, so I would guess the samba elements were added this way (though I don't remember now).

Regards

Those SAMBA packages are installed by default I believe .....  task printing includes some/all(?) of them ....  I uninstalled them as I do not have any Win PCs here.
I normally use NFS for sharing.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline oldfrt

  • Full Member
  • ***
  • Posts: 102
    • Ron's homepage
Re: access user folder - Dolphin SHARE
« Reply #24 on: November 01, 2012, 08:58:31 PM »
Good day, I did some searching on the Internet and found a couple of interesting posts in various forums. The first one is really interesting because it talks about the SHARE option not there. It looks like with the latest updates there has been a change in KDE and Dolphin which affects the SHARE option on the Dolphin folder. I did try installing kdenetwork-filesharing but I still don't get the SHARE option on the folder. I am using Samba because I currently have a home network with a windows system but the file sharing is working just fine and I can transfer files back and forth without any problems. I think there maybe some kde files missing and also need to know how to set up samba. This is a bit beyond my humble knowledge, hope someone can make sense of this.

enjoy...Ron

---------------------------------------------------------------------
found this on the web dated October 7,2012
https://forum.kde.org/viewtopic.php?f=18&t=108078

My first suggestion to help improve the situation as I have found it under 4.8.4 is that
there should always be a 'Share' tab visible in the properties window of a dolphin folder.
Under Debian, I think it is required that the user installs at least both samba and
kdenetwork-filesharing before this tab appears so if those packages (plus any others that
may be required to get this working) aren't installed then there should be a notice in the
share tab stating that these extra packages are required before sharing can be enabled.
I realise distros sometimes use different package names etc but just giving the Debian and
RedHat package names (if they are different) should be enough of a clue for users of most
distros.

I've installed those packages and Dolphin seems to let me share folders now but it isn't
actually working yet even though Dolphin doesn't display any errors via dialogue nor on the
console (I launched Dolphin from the terminal to see if it would give me some useful error
messages but it hasn't). I haven't used SWAT or setup samba in a while now but I suspect its
still not working because I also have to create a samba user on the machine hosting the share
and/or add my user to a samba group or something but it seems that Dolphin offers no assistance
or even hints in how the user should do this, if it is required, and ideally it would offer
to do this for you too. If using the terminal is unavoidable, KDE could at least tell you what
commands are required. Is this planned or present already in 4.9?

----------------------------------------
found this on the web.....
It uses the Samba "usershare" functionality as far as I can tell.
This allows users to add shares to the system for certain directories - usually their
home directories - and other directories if using Root permissions (which the KAuth
framework provides).
From what I recall, the reason for this change was to improve the reliability of the support,
which was broken under some circumstances. I believe most distributions ensure that Samba by
default is configured with User Shares enabled - as both KDE and GNOME use this functionality.
----------------------------------------
this is interesting because it does say that changes where made in how KDE handles share....
Fact is, I don't need to rename the default folders (like I did with the Public ones -
see post with the trick here above). It is enough if, in the folder's properties, under the
Share tab, when marked for sharing, I add the user-name (or anything else that differentiates it)
 to the folder's name. I did it in brackets. So, only the name given to the folder when shared
with Samba is altered, not the folder name in Dolphin. Two names for the same folder?
Was a surprise for me, but it is so. Discovered this by chance.

Interested in an explanation why things worked in 11.04-G and didn't in 12.04-K? Because of
different server apps. Gnome uses a fronted GUI called Personal File Sharing, that calls for
apache for sharing. There was a bug related to the apache dependencies that were not
automatically installed, but once fixed, it works. Apache keeps the path of the shared folders
(computer's name and user-name), and that's why, same named folders for different users can be
shared without doing anything else. Now, here in KDE (12.04-K), the share server for the Public
folders is samba. And samba does not keep the path of the folders (only the computer's name, but
not the user-name). This is why the name of the folder as it is shared with samba has to be
altered. And I chose to add the path (user-name) within brackets, to look closer to what apache
does automatically.

As for compatibility between apache and samba, couldn't find any issues. On 11.04-G I even use
both, apache and samba, but for different folders (apache for Public ones, and samba for a
second hard disc I use as LAN-cloud), and all works. Now I can also see over the LAN the
Public folders on 12.04-K.

Edited #1: Differences between apache and samba? Found one: apache shows on the LAN only
the Public folder of the user logged-in, while samba shows all shared folders on the computer,
no matter if the user is logged-in or not.

Edited #2: And a second difference between apache and samba, especially useful for laptops:
to block guest access to the shared folders while on a public WiFi, apache allows setting a
password, and samba has a guest-access option that can be unchecked. In both cases shared
folders are still broadcast over the network, but access to their content is denied.

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5335
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: access user folder
« Reply #25 on: November 07, 2012, 11:11:56 PM »
OK, I did add the file kdenetwork-filesharing. After installing I rebooted the system and this is the results from dolphin. Yes I do have samba installed. According to PCC SMB and NMB are not set to boot or running.

« Last Edit: November 07, 2012, 11:22:49 PM by YouCanToo »




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline ternor

  • Hero Member
  • *****
  • Posts: 1797
Re: access user folder
« Reply #26 on: November 07, 2012, 11:29:08 PM »
Contrary to what I posted earlier, I find that I do have the option to add an entry in the case of a folder which I own.  That enables the owner to add a named user or a named group.  Using Konqueror as super user, root does not have the option to add an entry to a folder owned by a user (namely, myself).

I'm uncertain how to translate the various permissions.  It is probably 'write' which permits a user to move a file or folder.

I usually use the terminal (chown or chmod) or Midnight Commander to change ownership and permissions.

I don't have or ever recall having a 'share' option and can't find one in PCC.

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2411
Re: access user folder
« Reply #27 on: November 07, 2012, 11:56:13 PM »
KDE 4.9.2 - here's mine





The same here.

----------------------------------
But in KDE 4.8.3 I have not the option Add in "Advanced permissions".
There is a "Share" tab in Properties window which offers to "Share with Samba".
As far as I understand this means sharing ext4 file system to NTFS.

So both options we are discussing here have quite different way? :-\

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: access user folder
« Reply #28 on: November 08, 2012, 01:16:24 AM »
The Add Entry will apear under Advanced only if you are the owner of that directory or may be if you already have permission to modify it.

Try this:
Open Dolphin and create a new directory. Now right click on this new directory > advanced and check if Add Entry appears.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: access user folder
« Reply #29 on: November 08, 2012, 02:33:56 AM »
The Add Entry will apear under Advanced only if you are the owner of that directory or may be if you already have permission to modify it.

Try this:
Open Dolphin and create a new directory. Now right click on this new directory > advanced and check if Add Entry appears.

No matter what I do, I don't get that 'Add Entry' option under Advanced .....  new directories or existing directories.

Even tried using Dolphin launched as superuser.  I also tried Konqueror (just in case there *might* be some difference).

Nothing doing!



« Last Edit: November 08, 2012, 02:42:46 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT