Samba File Permissions Weirdness
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Topics > Samba File Permissions Weirdness




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Samba File Permissions Weirdness  
R P Mckay


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 04:11 PM

***NOTE: I'm not sure what's going on - I tried three times to post
this message to linux.samba and it doesn't show up... no doubt there's
a doorkeeper that won't let me in without an invitation, but I haven't
found how to do it yet... so I thought I'd try here... if you can help
with either problem (the one below or posting to linuix.samba) I'd
surely appreciate it!





Server: Samba 2.2.7a on RH 9.0
Client1: W98
Client2: RH9.0

Both clients mount same share with same user logon.

Both clients copy the same file from /source directory to /target
directory,

Client1 names the new file "fromw98.dat" and Client2 names it
"fromrh9.dat".

fromw98.dat shows -rwxrw-rw-
fromrh9.dat shows -rw-r--r--

Users on WAN can open fromw98.dat for RW, but not fromrh9.dat ...

Obviously there's a permission screwup somewhere, but I haven't been
able to find it.

What's going on here?






[ Post a follow-up to this message ]



    Re: Samba File Permissions Weirdness  
Scott Lurndal


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 04:11 PM

R P Mckay <morerpmsarebetter@yohoho.com> writes:

>Client1 names the new file "fromw98.dat" and Client2 names it
>"fromrh9.dat".
>
>fromw98.dat shows -rwxrw-rw-
>fromrh9.dat shows -rw-r--r--
>
>Users on WAN can open fromw98.dat for RW, but not fromrh9.dat ...
>
>Obviously there's a permission screwup somewhere, but I haven't been
>able to find it.

man umask
man chmod

scott






[ Post a follow-up to this message ]



    Re: Samba File Permissions Weirdness  
R P Mckay


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 04:11 PM

>R P Mckay <morerpmsarebetter@yohoho.com> writes:
> 
>
>man umask

No help. It's the SAME USER in both cases - unless samba is somehow
distinguishing between william logging in from Client1 and william
logging in from Client2...

>man chmod

No help. The files need to be created with the proper permissions, not
changed afterward.

Thanks, anyway.






[ Post a follow-up to this message ]



    Re: Samba File Permissions Weirdness  
Ivan Marsh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 04:11 PM

On Mon, 23 Aug 2004 14:21:37 -0500, R P Mckay wrote:
 
>
> No help. It's the SAME USER in both cases - unless samba is somehow
> distinguishing between william logging in from Client1 and william logging
> in from Client2...
> 
>
> No help. The files need to be created with the proper permissions, not
> changed afterward.
>
> Thanks, anyway.

create mask =
directory mask =

in smb.conf


--
i.m.
The USA Patriot Act is the most unpatriotic act in American history.






[ Post a follow-up to this message ]



    Re: Samba File Permissions Weirdness  
R P Mckay


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 04:11 PM

>On Mon, 23 Aug 2004 14:21:37 -0500, R P Mckay wrote:
> 
>
>create mask =
>directory mask =
>
>in smb.conf

For the share in question, both are set to 0777







[ Post a follow-up to this message ]



    Re: Samba File Permissions Weirdness  
R P Mckay


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 04:11 PM

"Ivan Marsh" <annoyed@you.now> wrote:
>On Mon, 23 Aug 2004 14:21:37 -0500, R P Mckay wrote:
> 

A previous poster snipped out something that might be meaningful
here...


"Both clients mount same share with same user logon."
^^^^^^^^^^^^^^^

"Both clients copy the same file from /source directory to /target
directory,"

[vbcol=seagreen] 
>
>create mask =
>directory mask =
>
>in smb.conf


The share in question has 0777 for both masks.





[ Post a follow-up to this message ]



    Re: Samba File Permissions Weirdness  
Scott Lurndal


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 04:11 PM

R P Mckay <morerpmsarebetter@yohoho.com> writes: 
>
>No help. It's the SAME USER in both cases - unless samba is somehow
>distinguishing between william logging in from Client1 and william
>logging in from Client2...

But client1 is windows, client 2 is RH, right?   The default umask
on redhat will remove write access for group and other.   This sure
looks like what is happening.

scott

> 
>
>No help. The files need to be created with the proper permissions, not
>changed afterward.
>
>Thanks, anyway.
>





[ Post a follow-up to this message ]



    Re: Samba File Permissions Weirdness  
R P Mckay


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 04:11 PM

scott@slp53.sl.home (Scott Lurndal) wrote:
>R P Mckay <morerpmsarebetter@yohoho.com> writes: 
>
>But client1 is windows, client 2 is RH, right?   The default umask
>on redhat will remove write access for group and other.   This sure
>looks like what is happening.
>
>scott
>

Aha! Could be - I'll check it out - I was looking strictly at the
server, it didn't occur to me that the client might be at fault!
Thanks!







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:41 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register