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 - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2007, 07:25 AM   #1
Ingla
Member
 
Registered: Oct 2005
Distribution: Ubuntu 8.04, Ubuntu 10.04
Posts: 159

Rep: Reputation: 15
Network Problems - Permissions?


Hello.

I'm trying to set up file transfer between two Linux machines. Computer 1 is running Ubuntu Dapper, and Computer 2 is running Xubuntu Edgy . I have never set up a Linux to Linux network, although I have working networks from Windows to Windows and from Linux to Windows (don't ask ... I have a bunch of hard drives with various OS's). Linux to Linux is proving to be a monster.

When I'm on Computer 1, which is generally where I want to be. I've been successful in bring over a file from Computer 2. The other direction doesn't work ... access denied (unfortunately I primarily need to transfer from Computer 1 to Computer 2).

Thinking that. possibly, I could succeed in bringing a file from Computer 1, while sitting on Computer 2, as I had the other way around, I proceeded to try.

First problem was Xubuntu (Xfce) doesn't show Network Servers AT ALL. So, I followed the instruction at:

http://ubuntuforums.org/showthread.p...hlight=xubuntu

Unfortunately, I still can't do anything. Here's a list of issues I think I've identified.

1. On Computer 1, the shared folder is set to SMB while, on Computer 2 it is using NFS. The GUI control in Xfce refuses to change to SMB. It simply will not save the configuration and I don't know how to change that in the command line. SAMBA is installed and user account activated on both machines, as far as I can tell from Terminal output.

This has not prevented file transfers by pulling files from Computer 2 while sitting on Computer 1 ... as mentioned.

2. While working on Computer 2 and trying to pull over a file from Computer 1, I get permission denied notices.
The same thing happens when I try to send from Computer 1 to Computer 2. I think the problem is permissions for the shared folder on Computer 2.

The folder is simply /Network. It belongs to my user and my user group. Permissions for my user are read/write. For the group and others it is read only.

However, I cannot change the permissions. When I try chmod as my user, I get opreation not allowed. If I try as sudo or as root, I get cannot chmod permission denied. I haven't been using Linux so long that the phrase, "I've never seen anything like this" could be terribly meaningful, but how is it that NOBODY ... not the user, sudo or even root, can change permissions??!!??

Trying to change permissions in the GUI doesn't work either, even though I own the directory.

On Computer 1, the shared folder shows ownership "unknown" with read only privileges for everyone, but it still works.

Being totally ignorant in the Linux networking department, I can't say what the problem is, but it seems logical that if I can't give others (me, on my other computer) permission to write to the shared directory, it might be kind of hard to bring over a file.

Also, it seems that chmod should work on any Linux box, regardless of distro.

Can anyone help me figure out what I'm doing wrong?
__________________
 
Old 06-17-2007, 07:27 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
unrelated to networking. moved to Linux - Software. networking is about NIC's, ip addresses, iptables. this is about file permissions.
 
Old 06-26-2007, 11:25 AM   #3
raypsi
Member
 
Registered: Jun 2007
Distribution: ubuntu
Posts: 49

Rep: Reputation: 15
permissions

I don't know if this helps. I had a version of Mandrake, back in the day, That I remember had a setting on install under security you had something like 4 choices. I recall one of them being: "paranoid" Even as root it would not let you change anything if I recall correctly.

I can imagine the ubuntu that you have may have such a security issue
 
Old 08-13-2007, 05:48 PM   #4
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

acid_kewpie, thank YOU for YOUR efforts. When I see YOUR posts, my admiration and credibility within these necessary Forums increases with my respect and gratitude. I agree that these responses and the question should be in the Linux-Software Forum<s>. I enjoy Mandrakelinux and believe that the settings offering four security levels during the Distro installation from CD-ROM is accurate. I too choose one of the four myself. A work around using CLI is best. For me, I would re-install the Distro, with a more practical security setting . Then add an additional Firewall rule-set<like Gibralter>. Then check for the correct settings and options on my router.
 
Old 08-15-2007, 08:14 PM   #5
fgbowen33
LQ Newbie
 
Registered: Aug 2007
Posts: 9

Rep: Reputation: 0
use ftp or rcp

ftp is easier just read the man page for ftp - login as root and transfer the file as binary or ascii depending on type of file.

to use rcp to have to setup a hosts equiv file.
 
Old 08-16-2007, 02:16 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Personally i prefer scp
 
  


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
How to set up network permissions for user accounts. Restrict network access. r00tb33r Linux - Networking 7 02-04-2007 09:10 PM
permissions and my network madmax8484 Linux - Newbie 4 08-19-2004 09:25 PM
permissions for a network connection? Pcghost Linux - General 3 04-14-2003 11:41 AM
Network Permissions loganwva Linux - Networking 0 10-09-2001 04:25 PM
network permissions loganwva Linux - Networking 1 08-22-2001 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 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
Open Source Consulting | Domain Registration