Hi,
I want to have a shared directory, residing on a RH9 Server, to be
accessible by another Linux PC and a Windows XP PC. Obviously, I have
configured samba on the server machine and can access the shared
directory from windows. Once the shared directory is mapped to a
driver letter, it can be used just like a local harddrive.
However, when I mount that share to a local mountpoint on the linux
PC, writing to that shared directory is only possible when I am logged
in as root:
$ su
# mount -t smbfs -ousername=username,password=password //my.host.name/public /mnt/pub
# touch /mnt/pub/junk
# exit
$ touch /mnt/pub/shit
(This fails with a permission error)
I have tried changing the permissions of /mnt/pub as 0777, didn't
help.
Interestingly, if I connect to the public directory through nautilus:
smb://my.host.name/public
Then I can write to that directory.
Also, if I use smbclient, I can write to that directory.
However, I really need to access that directory through the mount
point, because when I want to edit a file on the shared directory, I
need to open that directory in my editor and want to save it back. It
should look like a regular directory so that I can use it like a local
directory and so that all my tools work on files that are in that
directory.
Any idea what the problem is?
--
Timur Aydin