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
MASKTEST(1)							  [FIXME: manual]						       MASKTEST(1)

NAME
masktest - Find differences in wildcard matching between Samba's implementation and that of a remote server. SYNOPSIS
masktest {//server/share} [-U user%pass] [-d debuglevel] [-W workgroup] [-n numloops] [-s seed] [-a] [-E] [-M max protocol] [-f filechars] [-m maskchars] [-v] DESCRIPTION
masktest is a utility for detecting differences in behaviour between Samba's own implementation and that of a remote server. It will run generate random filenames/masks and check if these match the same files they do on the remote file as they do on the local server. It will display any differences it finds. This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers. OPTIONS
-U user%pass Specify the user and password to use when logging on on the shares. This parameter can be specified twice (once for the first server, once for the second). -s seed Seed the random number generator with the specified value. -n numops Set the number of operations to perform. -a Print the operations that are performed. -M max_protocol Maximum protocol to use. -f Specify characters that can be used when generating file names. Default: abcdefghijklm. -E Abort when difference in behaviour is found. -m maskchars Specify characters used for wildcards. -v Be verbose VERSION
This man page is correct for version 4.0 of the Samba suite. SEE ALSO
Samba AUTHOR
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2]. masktest was written by Andrew Tridgell. This manpage was written by Jelmer Vernooij. NOTES
1. Samba http://www.samba.org/ 2. Samba Team http://www.samba.org/samba/team/ [FIXME: source] 04/16/2014 MASKTEST(1)