LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-14-2011, 12:04 PM   #1
Uncle Hildegard
LQ Newbie
 
Registered: Apr 2011
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Access rights from Windows vs. access right from the shell


Hi all,

just in case my first post is a stupid question - please bear with me, I'm still learnig... ;-)

I've set up a fileserver running Debian Lenny with Samba 3.2.5.
Things work fine so far but I experience different behaviour of some shared folders when a user accesses them from the shell or from Windows (XP/2000).
Example:
There's a user 'karl' and a directory /home/data/test.
karl is the owner of the directory and his access rights are set to "rx". On the shell I can copy and delete files to /home/data/test as expected but when I try this from Windows it says "Access is denied". From Windows it only works when the user-rights are set to "rwx".

Can someone explain why the behaviour is different?
Is it probably a setting in the smb.conf that I've done wrong?

Would be great if someone had an explanation.


Thanks in advance!
Uncle Hildegard
 
Old 06-14-2011, 12:18 PM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,850
Blog Entries: 21

Rep: Reputation: 119Reputation: 119
What is the FULL permission flags of the file and the parent directory? There are 3 levels of them, and maybe one of the others is being used. A file might have "-rwxrwxrwx" or the safer "-rw-r--r--". Can you show the exact output of "ls -dl . <filename>" (yes, with the "." as shown with spaces around it, to show the dorectory), from the shell, for that file?
 
  


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
Access rights on Windows partition Linunix Ubuntu 4 01-24-2011 06:41 AM
File Access Rights/Windows pdr Linux - Newbie 2 06-16-2005 01:00 AM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 09:25 AM
I lose ftp access when I disable shell access for user captainObvious Linux - General 3 11-13-2004 05:49 PM
access rights popcorn5714 Linux - Newbie 3 02-02-2002 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:18 AM.

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