Linux (Fedora Core 4) permissions on shares

Robor

Elite Member
Oct 9, 1999
16,979
0
76
Here's my situation. I've got a Fedora Core 4 'server' with all of the OS partitions/files stored on my SATA Raptor. I've also got a Promise IDE RAID card partitioned so the entire array is called '/storage'. What I'm trying to do is share that /storage directory between my WinXP and Ubuntu systems. I've got the sharing part down. Both systems can read/write to the directory but when they do they can't modify the files created by the other. For example, if I create a file with Ubuntu I can't copy that file from the /storage share to my desktop on XP.

I've got the permissions set to rwx for owner/group/others. I think my problem is within the configuration of SMB and/or NFS and that's where I'm lost. Does anyone have any suggestions or pointers? I've done the 'man' thing and it's not helping.

Thanks!
 

The Linuxator

Banned
Jun 13, 2005
3,121
1
0
I can't see what else can be done to the file more than giving permission to all users to write.
Networking is my weak point though, but this will double up as a BUMP :)
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
I'm going to be messing around with this tonight so this is just a quick bump to the top for any advice.

Thanks!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Mixing SMB and NFS is probably going to be problematic without a good bit of tweaking. Your problem is probably a mix of umask setting restrictive rights on the files via NFS and group ownership of the files.

What do the rights look like when you create a file via SMB and one via NFS?
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
Okay, with my XP box via SMB I created a file and the the rights are:

Owner: RWX
Group: RW-
Others: R--

With my Ubuntu box via NFS I created a file and the rights are:

Owner: RW-
Group: ---
Others: ---

 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Then something else is changing the permissions, 0022 should give you files with -rw-r--r-- permissons. 0002 should give you -rw-rw-r--, but I doubt it'll work here since something else seems to be touching the permissions too.
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
Has to be something on my FC4 box then, right? Something with NFS and the config file for it?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Not sure, I avoid NFS whenever possible. It would probably be easier for you to just use smbmount. As long as there's only the one user on the Ubuntu systems, it'll work fine.
 

Robor

Elite Member
Oct 9, 1999
16,979
0
76
Originally posted by: Nothinman
Not sure, I avoid NFS whenever possible. It would probably be easier for you to just use smbmount. As long as there's only the one user on the Ubuntu systems, it'll work fine.

I googled 'smbmount' and found it's in the smbfs package so I installed that. I ran it but don't have time to try and work with it tonight. I'll give it a shot tomorrow. Thanks for the pointer!