Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: question regarding mount.cifs, samba, kernel 2.6.3: msg#01784

Subject: Re: question regarding mount.cifs, samba, kernel 2.6.3
Harry Putnam wrote:

"shrek-m@xxxxxx" <shrek-m@xxxxxx> writes:

Bart Kalita wrote:

I'm still trying to mount  remote  WIN  shares on FC2  after finding
"sharity" and realising that in  "free" mode it allows  only  for 1
share to be mounted  and that  $:  mount.cifs   comes up with
"command not found" I'm at  a loss  as to what to do next.

shrek:
$ rpm -qpl
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/samba-client-3.0.2a-1.i386.rpm
| grep -i cifs
/sbin/mount.cifs
/usr/share/man/man8/mount.cifs.8.gz

$ cat /etc/fedora-release;rpm -qf /sbin/mount.cifs
Fedora Core release 1 (Yarrow)
samba-client-3.0.2-7.FC1



as root
eg.
# mount -t cifs -ousername=user //server/share /mnt/cifs
should work

Bart:

it works!

Are you guys aboe to write to the mounted share?

I'm able to mount the share but not write to it:

My command:
(wrapped for mail)
mount -t cifs -ousername=Administrator,password="" \
 //exp-xp/J-ahn-d /mnt/J-ahn-d

Mount shows it mounted [...] /dev/hdb3 on /arch type ext3 (rw)
 /dev/hdb10 on /var/www type ext3 (rw)
 //exp-xp/J-ahn-d on /mnt/J-ahn-d type cifs (0)

But no write:

cd /mnt/J-ahn-d
 (I can see the files with ls but:)
[root] # touch it touch: cannot touch `it': Permission denied
[reader.local.net0]/mnt/J-ahn-d


I'm curious if you guys see that `(0)' as above in mount output?


[bart@nemesis bart]$ mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
//Akhram/downs on /home/bart/akhram/ type cifs (0)
//hades/music on /home/bart/music/ type cifs (0)

Yep, the (0) is there. Despite the fact that first mount is mounted as administrator.

And just one more Q, is there a possibility to have thouse volumes mounthed at boot? and am I right to thing that it would be done via cron job?

--
____________________________________________________

Bart Kalita  MCP

www.bart-domain.com

www.astradine.no-ip.org


--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-test-list



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe