LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > VectorLinux
User Name
Password
VectorLinux This forum is for the discussion of VectorLinux.

Notices

Reply
 
Search this Thread
Old 07-02-2012, 06:49 PM   #1
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,387

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Sharing files question


I am trying to mount some files from my desktop to my laptop running vector linux 7

I am issuing the command
Code:
# mount.cifs //10.0.0.8/Downloads /home/user1/Downloads -o domain=workgroup,rw,file_mode=0777,dir_mode=0777,uid="$USER"
Which replies
Quote:
bash: mount.cifs: command not found
What am I doing wrong?
I havent modified anything after installation what files should I modify and how.
I will appreciate all advices. Thank you!
 
Old 07-02-2012, 07:20 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,098

Rep: Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102
Hi,

it looks like you don't have cifs-utils installed.

Evo2.
 
Old 07-02-2012, 09:09 PM   #3
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,387

Original Poster
Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Thank you for your reply. I did a search for the cifs-utils in the package manager and I couldnt find any. The search result only comes back with SAMBA which is already installed.
 
Old 07-02-2012, 09:23 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,411
Blog Entries: 2

Rep: Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995
In Slackware the mount.cifs command is part of the samba package, I assume that this is the same for Vector. Are you trying this as root?
 
Old 07-02-2012, 09:34 PM   #5
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,387

Original Poster
Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Yes, I am doing this as root. It is the same command I use in my slackware installation and works fine there.

I will appreciate all advice. Thank you!
 
Old 07-02-2012, 09:58 PM   #6
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,098

Rep: Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102Reputation: 1102
Hi,

sorry about the incorrect information about what package provides mount.cifs.

I think you should probably check to see if mount.cifs really exists and is in your path. Check to see where it is on your slackware installation:
Code:
which mount.cifs
then check to see if it is in the same place on your vector install.

HTH,

Evo2.
 
Old 07-08-2012, 05:10 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,411
Blog Entries: 2

Rep: Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995
Out of curiosity I just installed Vector Light 7 into a VM and discovered that /sbin/mount.cifs does exist, but it is only a symlink to /usr/sbin/mount.cifs, which doesn't exist. So it seems to me that Vector Light is broken.
A web search has revealed nothing about this, which I find rather surprising. For many people mount.cifs is essential, I wonder how it can be unnoticed that this is broken, especially when one keeps in mind that the beta phase of Vector was not really short.

Anyways, I copied over mount.cifs from a machine with Slackware 13.37 and now it works. May at least be a workaround for you also, if needed drop me a message and I can send you mount.cifs per mail.
 
Old 07-08-2012, 10:05 PM   #8
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,387

Original Poster
Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Thank you for the tip. I transferred /usr/sbin/mount.cifs from SlackWare to Vector then I ran the command and I received a reply
Code:
bash: /sbin/mount.cifs: Permission denied
I am doing this as root so I dont know what to change in the file

However I haven't done anything to the /sbin/mount.cifs file

I will appreciate all advice
 
Old 07-08-2012, 10:17 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,411
Blog Entries: 2

Rep: Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995
Check if the file is marked executable.
 
  


Reply

Tags
fileserver, samba, vectorlinux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need some help sharing files roofninja Suse/Novell 3 05-25-2006 12:46 AM
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 02:22 PM
Quick Question on sharing files petergriffin Linux - Networking 5 02-23-2005 06:15 AM
sharing files gazza Mandriva 4 09-06-2004 12:28 PM
Question about sharing files within a private network Rajahuroman Linux - Networking 3 08-14-2004 02:00 AM


All times are GMT -5. The time now is 03:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration