Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Arrgh! Permissions Problems

Arrgh! Permissions Problems

2004-01-26       - By Greg Julius

 Back
Reply:     1     2     3     4     5     6     7     8  

Crimey, Just having no luck with the interactions between my Win XP
desktop and my Linux server.

Problem:
The Win XP is perceiving the files to be read-only, and I can 't figure out why.

Details:
I maintain a couple of websites for different clients, and I am creating
mirror setups on my own Linux box to make it easy to do development, test
and whatnot.

I can access the sites on my server via my browser and everything just
fine. What 's giving me problems is my placing files on the Linux
filesystem from my Windows system.

I am running Samba, and have the following share set up (and accordingly
accessed in Windows).

[websites]
path = /client/hostsetups
valid users = bullwinkle, rocky
force user = rocky
read only = No
create mask = 0775
force create mode = 0755

Due to reasons of stupidity, my Window 's id is bullwinkle and all of my
Linux presence is rocky. I never use the bullwinkle id on the Linux box
directly, it 's just the name of my window 's id.

The directory structure is such that each of the clients has a directory
under /client/hostsetups which is their root, and under that is a www
directory which is their webserver document root.

The files in these directories are owned by the "client " with their own ID
and own Group (unique groups), defined in passwd and group as appropriate.

my ids, bullwinkle and rocky are both assigned group evilone as their
primary user group (500).

Each of the other client 's groups, have both of my id 's listed behind the
definition: xclient1:x:509:rocky,bullwinkle

The files are all defined (in the document root and below) as -r-xrwxr-x
(R-X to the owner and other, RWX to the group). Even the containing
directory has this same permissions list.

Why are these files only readable to Windows, and what can I do about it?

Should I be listing IDs behind the group definition, or other Groups? That
is, should I be putting evilone as the name behind the xclient1 definition?

What I 'd really like is to have samba force the user and group to be the
client 's user and group, but without me having to proliferate a slew of
shares. Is there a way to maintain one share, and have samba force the
user and client based upon the directory?

-g


__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe