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 ?
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.
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 ?
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.
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.
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.
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
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.
Another problem I have found now is mounting my drives. Currently I have 4 Hdd’s.
Linux dedicated drive
NTFS drive used as storage drive
NTFS drive used as storage drive
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
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
Only root has the authority to mount a drive. If the Hard disk is internal, I just add it to my fstab file. when you run YaST and thus the Partitioner, you must be root to do so. If the hard drive is a USB external one, when you plug it in, the device notifier should give you change to mount the drive automatically. These methods are normal and easy to live with. Just what are your intentions with these other hard drive partitions?