LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-21-2005, 10:37 AM   #1
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Rep: Reputation: 15
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
 
Old 04-21-2005, 10:49 AM   #2
johnson_steve
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: Reputation: 46
is it mounted -rw
 
Old 04-21-2005, 10:56 AM   #3
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
What I did was:

sudo mount -o username=usrname,password=pass //linuxbox/folder /mnt/folder
 
Old 04-21-2005, 10:57 AM   #4
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
What I did was:

sudo mount -o username=usrname,password=pass //linuxbox/folder /mnt/folder

Do I need to do anything else???

Thanks!
Fernando
 
Old 04-21-2005, 11:02 AM   #5
johnson_steve
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: Reputation: 46
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)
 
Old 04-21-2005, 11:04 AM   #6
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
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.....
 
Old 04-21-2005, 11:21 AM   #7
johnson_steve
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: Reputation: 46
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?
 
Old 04-21-2005, 12:08 PM   #8
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
nop, when viewing from the client side, the permissions are "drwxr-xr-x"

What's nfs????

Thanks!
 
Old 04-21-2005, 02:50 PM   #9
johnson_steve
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: Reputation: 46
what are you using to share the files from one computer to the other?
 
Old 04-21-2005, 04:11 PM   #10
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
I have no idea, how do I check that????
 
Old 04-21-2005, 06:51 PM   #11
johnson_steve
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: Reputation: 46
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?
 
Old 04-22-2005, 07:16 AM   #12
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
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)"
 
Old 04-22-2005, 10:08 AM   #13
johnson_steve
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: Reputation: 46
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.
 
  


Reply



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
Mounting and using hard disk of remote box umeshbabu Linux - Newbie 1 08-15-2005 06:08 AM
problem in mounting a partition from remote box umeshbabu Linux - Newbie 2 07-18-2005 03:14 PM
Share a remote folder through linux server newuser455 Linux - General 2 10-01-2004 09:37 PM
mounting linux folder on windows ZaphyR Linux - Networking 5 07-16-2004 04:18 PM
Remote Mounting? (Mount remote folder on local filesystem) mac_phil Linux - Networking 1 11-15-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration