Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
 |
04-21-2005, 10:37 AM
|
#1
|
Member
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69
Rep:
|
problem mounting a remote folder (on a linux box)
Hi all, I've mounted a remote folder on another linux box (using mount), but every single file and sub folder in that folder apears to be owned by the root of that system, which is not true...
The problems comes when I want to create a file inside one of those sub-folders and "gVim" says I can't, it says: "Can't open file for writing", when I want to save a file....
Anyone knows why this could be happening???
Thanks in advance....
Fernando
|
|
|
04-21-2005, 10:49 AM
|
#2
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
is it mounted -rw
|
|
|
04-21-2005, 10:56 AM
|
#3
|
Member
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69
Original Poster
Rep:
|
What I did was:
sudo mount -o username=usrname,password=pass //linuxbox/folder /mnt/folder
|
|
|
04-21-2005, 10:57 AM
|
#4
|
Member
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69
Original Poster
Rep:
|
What I did was:
sudo mount -o username=usrname,password=pass //linuxbox/folder /mnt/folder
Do I need to do anything else???
Thanks!
Fernando
|
|
|
04-21-2005, 11:02 AM
|
#5
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
try:
sudo mount -o rw,username=usrname,password=pass //linuxbox/folder /mnt/folder
depending on your distro the default option could be read only (it is with Suse)
|
|
|
04-21-2005, 11:04 AM
|
#6
|
Member
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69
Original Poster
Rep:
|
I tryed that, but still doesn't work..., the thing is that with some folders it works, but with the one I need it doesn't....., the folder I want to write in, has permissions 777, that's why I don't understand what's happening.....
|
|
|
04-21-2005, 11:21 AM
|
#7
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
so you can write everywhere in /mnt/folder/ except in 1 folder? are the permissions 777 when viewed from the client side? are you using nfs?
|
|
|
04-21-2005, 12:08 PM
|
#8
|
Member
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69
Original Poster
Rep:
|
nop, when viewing from the client side, the permissions are "drwxr-xr-x"
What's nfs????
Thanks!
|
|
|
04-21-2005, 02:50 PM
|
#9
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
what are you using to share the files from one computer to the other?
|
|
|
04-21-2005, 04:11 PM
|
#10
|
Member
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69
Original Poster
Rep:
|
I have no idea, how do I check that????
|
|
|
04-21-2005, 06:51 PM
|
#11
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
on the client side when its mounted:
mount
this will tell you how everything is mounted. what distro are you using? the same on both boxes?
|
|
|
04-22-2005, 07:16 AM
|
#12
|
Member
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69
Original Poster
Rep:
|
In the client side I'm using SuSE 9.1, and in the server side Mandrake....
This is what the "mount" command says:
"//sagan/webs on /mnt/sagan type smbfs (0)"
|
|
|
04-22-2005, 10:08 AM
|
#13
|
Senior Member
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
|
your using samba. I don't know to much about samba. It's for sharing with windows computers and I don't have any. I like nfs.
Last edited by johnson_steve; 04-22-2005 at 10:11 AM.
|
|
|
All times are GMT -5. The time now is 05:30 AM.
|
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
|
|