| VectorLinux This forum is for the discussion of VectorLinux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-02-2012, 06:49 PM
|
#1
|
|
Senior Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
|
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!
|
|
|
|
07-02-2012, 07:20 PM
|
#2
|
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Alma/Rocky/RHEL
Posts: 6,729
|
Hi,
it looks like you don't have cifs-utils installed.
Evo2.
|
|
|
|
07-02-2012, 09:09 PM
|
#3
|
|
Senior Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Original Poster
|
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.
|
|
|
|
07-02-2012, 09:23 PM
|
#4
|
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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?
|
|
|
|
07-02-2012, 09:34 PM
|
#5
|
|
Senior Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Original Poster
|
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!
|
|
|
|
07-02-2012, 09:58 PM
|
#6
|
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Alma/Rocky/RHEL
Posts: 6,729
|
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:
then check to see if it is in the same place on your vector install.
HTH,
Evo2.
|
|
|
|
07-08-2012, 05:10 PM
|
#7
|
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
|
|
|
07-08-2012, 10:05 PM
|
#8
|
|
Senior Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Original Poster
|
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
|
|
|
|
07-08-2012, 10:17 PM
|
#9
|
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Check if the file is marked executable.
|
|
|
|
All times are GMT -5. The time now is 06:05 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|