LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11: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, 11: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, 11: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, 11: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, 12:02 PM   #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, 12:04 PM   #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, 12:21 PM   #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, 01: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, 03: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, 05: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, 07: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, 08: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, 11: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 11:11 AM.
 
  


Reply


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

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration