Stubborn file ownership problem! Argh!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Stubborn file ownership problem! Argh!
# 1  
Old 09-29-2005
Stubborn file ownership problem! Argh!

Hi, I have Apache running well on a Linux server, with Samba installed. I do must of my work in Notepad2 on a Windows box using Samba shares on which I am logged in as a user on the box (non-root).

I recently decided to expand into cgi-perl. My /htdocs/cgi-bin directory is already part of a working Samba share.

It's permissions are 2755.

Whenever I create a new file through the Samba share in the cgi-bin folder, it's owned by root. The gid membership passes along just fine, but the ownership is root. Therefore I can't access it on the web.

Seems like it should be owned by the user I'm logged in as in Samba. Why is this?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Help with Stubborn Sun Ultra Enterprise 450

Hello everyone...yesterday i've received a Sun Ultra E450 Server Unit and when I try to boot from everything it asks me for Firmware Password.:rolleyes: The unit hasn't been used for 10 years...so no one doesn't yet remember the password.:D Ok,I've searched on the Internet all day long finding... (5 Replies)
Discussion started by: Daiman
5 Replies

2. Shell Programming and Scripting

File Ownership Change

Hi, I have several directories under an upload directory where differnt users upload their files (with exxactly the same file name every week) using their own user ids. There is a requirement that once any user uploads the file I have to clean that file and remove extra whitespaces and... (3 Replies)
Discussion started by: vbhonde11
3 Replies

3. Linux

Stubborn Java Download Linux Mint

Hey Everyone.. having a lot of issues with jre-6u23-linux-i586.bin and jre-6u23-Linux-i586-rpm.bin.!! Neither is going the way it should and I've followed the instructions flawlessly for both types of packages from java.com,- plus a lot of other links. I've tried it 7 ways to Sunday-=> considering... (0 Replies)
Discussion started by: DrFrankenStein_
0 Replies

4. What is on Your Mind?

Argh! Chrome! Go away!

Google's pushing their pet browser with the relentlessness of a drug seller, which makes me more and more suspicious of it by the day. Now they're trying to insert it as opt-out "goodies" with program updates... In this case, Skype presented me with a "push this to not override your default... (4 Replies)
Discussion started by: Corona688
4 Replies

5. UNIX for Dummies Questions & Answers

What is the need of ownership to a file/dir?

Hi, I understand the permissions of a file/directory. I just needs to understand how ownership works. Can some one help me on this please? Thanks in advance. (6 Replies)
Discussion started by: praveen_b744
6 Replies

6. Shell Programming and Scripting

file ownership confusion

Hello all, I have a script that runs on both the test and production box. The script is owned by a user (abcd for example) with permission set to 700. When this script is run as a root, the log file generated has owner and group as abcdowner and abcdgroup respectively. Now, when I run the same... (4 Replies)
Discussion started by: solaix14
4 Replies

7. UNIX for Advanced & Expert Users

Ownership problem using a CIFS-mounted volume

Hello, I am trying to use a storage service for backing large amounts (terabytes) of data. The service uses Linux machines and allows mounting of their disks using the CIFS/SMB protocol. I do have the option of using rsync directly over the network without mounting. But in order to... (4 Replies)
Discussion started by: same1290
4 Replies

8. Linux

files ownership/permission problem

all the files and directories in my system are owned by root only.i try to(from root loggin) change the permission on the file but not permitted.can any one help to fix my problem .also while installing any software always error occur like no makefile available (1 Reply)
Discussion started by: jop
1 Replies

9. Shell Programming and Scripting

help regarding file ownership

hi friends,i have a doubt,if there is a file for which i have only read access then is there any way to execute it,plz reply soon (5 Replies)
Discussion started by: amit007
5 Replies

10. UNIX for Dummies Questions & Answers

Killing a stubborn process...

I have a stubborn process on my OpenBSD box that just refuses to die. It is taking up about half a meg of memory and refuses to die. It appears to be an errant gzip process that was executed from the console on 06 Jan 2002. Here is a snippet of my attempts to kill the gzip process ... (7 Replies)
Discussion started by: auswipe
7 Replies
Login or Register to Ask a Question
SMBSTATUS(1)							   User Commands						      SMBSTATUS(1)

NAME
smbstatus - report on current Samba connections SYNOPSIS
smbstatus [-P] [-b] [-d <debug level>] [-v] [-L] [-B] [-p] [-S] [-s <configuration file>] [-u <username>] DESCRIPTION
This tool is part of the samba(7) suite. smbstatus is a very simple program to list the current Samba connections. OPTIONS
-P|--profile If samba has been compiled with the profiling option, print only the contents of the profiling shared memory area. -b|--brief gives brief output. -d|--debuglevel=level level is an integer from 0 to 10. The default value if this parameter is not specified is 0. The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out. Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic. Note that specifying this parameter here will override the smb.conf.5.html# parameter in the smb.conf file. -V|--version Prints the program version number. -s|--configfile <configuration file> The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See smb.conf for more information. The default configuration file name is determined at compile time. -l|--log-basename=logdirectory Base directory name for log/debug files. The extension ".progname" will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client. -v|--verbose gives verbose output. -L|--locks causes smbstatus to only list locks. -B|--byterange causes smbstatus to include byte range locks. -p|--processes print a list of smbd(8) processes and exit. Useful for scripting. -S|--shares causes smbstatus to only list shares. -h|--help Print a summary of command line options. -u|--user=<username> selects information relevant to username only. VERSION
This man page is correct for version 3 of the Samba suite. SEE ALSO
smbd(8) and smb.conf(5). AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy. Samba 3.5 06/18/2010 SMBSTATUS(1)