• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux (Fedora Core 4) permissions on shares

Robor

Elite Member
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!
 
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 🙂
 
I'm going to be messing around with this tonight so this is just a quick bump to the top for any advice.

Thanks!
 
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?
 
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: ---

 
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.
 
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.
 
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!
 
Back
Top