Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Sharing Win7/OpenSUSE11.4

  1. #1

    Default Sharing Win7/OpenSUSE11.4

    I have installed OpenSUSE 11.4 on my PC. Want to share my files with Win7 system. So far so good, I can access my files on Linux computer from my Windows PC. My problem starts when I want full access to my files, as you see on image it says directory is Public and Writable but still I can't delete or add files to that directory
    what did I missed ?



    Please help me, I love linux, I really love OpenSUSE but those sharing issues makes me crazy ...

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Sharing Win7/OpenSUSE11.4

    When you are "sharing" files, what does that mean? Is this just one PC and you want to copy files from the Windows Partition OR is this two PC's running at the same time and you are sharing files over the network? Normally, to share files between two PC's and one of them is a Windows machine, you must use Samba on the Linux machine. But I am just not sure what you are trying to do.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3

    Default Re: Sharing Win7/OpenSUSE11.4

    Yes, as you see on my screenshot I am sharing using Samba.

    At the moment I try to make it working between my Windows PC and Linux PC. Both located on my home network. My problem is I can NOT edit or delete files located on my Linux PC from my Windows PC.

    Doing the same {edit/delete files located on Windows PC} from my Linux system is working....confusing ?

    Thanx for trying to help

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Sharing Win7/OpenSUSE11.4

    So the problem is often the security settings on the Linux Computer. Here is a link to more information about setting up Samba:

    openSUSE SuSE Linux HOWTOs and Tutorials by Swerdna

    Now let me say how I do it which avoids such issues. I only share NTFS partitions located on my Linux computer to Windows computers using Samba. Further, in my fstab file, I change the mount command such that the option settings just says defaults and does NOT attempt to create the Linux user security setup. So, when on a Windows Computer, I write files only to a NTFS partition on the Linux computer and using the fstab defaults setting, I do not run into any security issues. Look at the link above for help in your current setup and then consider the method that I use.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Sharing Win7/OpenSUSE11.4

    This KDE sharing GUI has always been faulty, for 5 years now that I can remember. Strange that the KDE developers don't fix it over all those years. There's a complex dance you can do to get it working but it's just not worth the effort. Easier to edit the stanza that pertains to the share directly (in the file smb.conf, located at /etc/samba/smb.conf).

    Or maybe you can fix it yourself. The relevant stanza in smb.conf will look something like this like this:
    [DOCUMENTS]
    path = /home/john/Documents
    guest ok = yes
    read only = no
    to make it work, make it like this:
    [DOCUMENTS]
    path = /home/john/Documents
    guest ok = yes
    read only = no
    force user = john
    Of course, change "john" to your username.

    To edit the file, run this command: kdesu kwrite /etc/samba/smb.conf

    If problem persists, please post me the contents of the file smb.conf.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  6. #6
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Sharing Win7/OpenSUSE11.4

    Quote Originally Posted by jdmcdaniel3 View Post
    So the problem is often the security settings on the Linux Computer. Here is a link to more information about setting up Samba:

    openSUSE SuSE Linux HOWTOs and Tutorials by Swerdna

    Now let me say how I do it which avoids such issues. I only share NTFS partitions located on my Linux computer to Windows computers using Samba. Further, in my fstab file, I change the mount command such that the option settings just says defaults and does NOT attempt to create the Linux user security setup. So, when on a Windows Computer, I write files only to a NTFS partition on the Linux computer and using the fstab defaults setting, I do not run into any security issues. Look at the link above for help in your current setup and then consider the method that I use.

    Thank You,
    Some users need to share files from the Linux filesystem. This method will not do that. A quick and easy (actually, much easier) method for that, is to include the "force user" line into the [stanza] for sharing the Linux directory/ies. See my post above.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  7. #7
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Sharing Win7/OpenSUSE11.4

    Actually, for those who are interested, here's more on forcing KDE to work as a file sharing GUI, but IMO it's so much more straightforward to just edit the Samba config file: Setting up KDE for on-the-fly sharing in Dolphin/Konqueror
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  8. #8

    Default Re: Sharing Win7/OpenSUSE11.4

    Thanks guys, I will try and let you know how it goes asap...

    again....BIG thanx for trying to help

    swerdna<====it looks as it's working now, for the first time I could copy a file from Windows PC to my home directory on Linux computer LOL

    and creating directory and....well you know what I am trying to say

    still learning...I did it by editing smb.conf file

  9. #9
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Sharing Win7/OpenSUSE11.4

    swerdna, you are the undisputed king of Samba, without a doubt. I don't think sharing NTFS partitions as being anything more than about equal to sharing Linux partitions. My thoughts are to prevent any issues that might arise when writing to my Linux computer by providing an identical file system to the Windows source and to not share any Linux partitions at all for anyone to use. As to if this is better in any way to suggestions here made by you, only a crazy person, such as myself, would think it a better solution. It is the reason however why I point out your documents when ever I have the chance and for good reason.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  10. #10

    Default Re: Sharing Win7/OpenSUSE11.4

    Another problem I have found now is mounting my drives. Currently I have 4 Hdd's.

    1. Linux dedicated drive
    2. NTFS drive used as storage drive
    3. NTFS drive used as storage drive
    4. NTFS drive used as storage drive

    Now the problem is my Linux system says ONLY root can mount and unmount my drives. What and how should I change ?
    I tried YAST---->Partitioner and in fstab options checked 'Mountable by user' but still can not do anything as user

    any ideas ? thanks

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •