Server :: Owner Of A Directory Different Than File Owner?

Apr 21, 2009

How can I make a virtual host (right now I just use NameVirtualHost *:80) that will load the same page for every domain that matches imap.domain.com, smtp.domain.com, or pop3.domain.com?

View 4 Replies


ADVERTISEMENT

Ubuntu :: 9.1 - MySQL Listed As Group / Owner In Directory

Mar 23, 2010

I use 9.10 desktop with a root user and my own user (timmo), I did not create anything else. Now I check a directory (mysql databases) with ls -l and I see mysql not only as a group but also as owner. How can mysql, not being a user on my system, be an owner? In users and groups I see that all of the many groups only have two members, root and timmo. I know that mysql users and linux users are different animals but ls -l is definitely a linux command.

View 2 Replies View Related

General :: Set A Directory So That All Files Created Below It Are Owned By Dir Owner?

Jun 8, 2011

I have a directory cookie_tmp which is owned by some:fella. Session cookies are being created under this directory as How can I set the directory so that files are created and owned by some:fella ?

View 2 Replies View Related

General :: Default Group Owner Of Files In A Directory?

Sep 10, 2010

have recently installed ubuntu server on a new machine. I have added 3 users and I have assigned them to a group.The three of us work together on a lot of stuff so what I would like to do is to have a specific folder made the groups folder. All files that are created or moved into this folder should automatically be owned by the group. I.e. all 3 of us should have the right to read and write to these files.

View 11 Replies View Related

Ubuntu :: NFS Mounted Directory \ The Owner Is The Default Superuser Of The System?

Nov 8, 2010

mount an NFS directory as a regular user (which doesn't have sudo rights) because a suitable entry (i.e. with the user option) is defined in /etc/fstab file.But, when I mount it, I am not the owner of it! The owner is the default superuser of the system. So I don't have write permissions in the mounted directory.

View 4 Replies View Related

General :: How To Delete File Which Has No Owner

Jan 9, 2010

I am facing a basic problem in RHEL 5.2. Some of files in a mounted showing ? in place of owner and group owner.
root# find /data/abc -nouser
listing those files.
How to delete those files because
root# find /data/abc -nouser -exec rm -rf {} ;
showing error access is denied.

View 10 Replies View Related

General :: Owner Of File Cannot Remove It

Mar 16, 2010

I can't remove a file where I am owner of :

Code:
[jonas@webserver html]$ ls -l | grep file
-rw-rw-r-- 1 jonas jonas 3323 2010-03-15 20:33 file.php
[jonas@webserver html]$ rm file.php
rm: cannot remove 'file.php': Permission denied
The directory that holds this file is html :

Code:
[jonas@webserver mysite]$ ls -l
drwxr-xr-x 2 root root 4096 2010-03-15 18:32 cgi-bin
drwxr-xr-x 9 apache webusers 4096 2010-03-15 20:34 html

View 4 Replies View Related

General :: Cvs Import File Group Owner ?

Jun 11, 2010

This is about ubuntu 10.04

I can import projects to my cvs repository only when the repository set to group owner cvs. Which is fine to me.

But I found the project folder/files that I imported into the repository have group name other than cvs (in fact, that's my username). And that prevents others to check out my code.

View 3 Replies View Related

Security :: Best File Persmissions And Owner For Web Files?

Dec 13, 2010

What are the best file persmissions and owner for web files?

View 1 Replies View Related

Debian :: Sudo Results In Strange File Owner

Mar 16, 2010

I like the "Ubuntu" sudo philosophy and wanted to setup this sudo the same way on my Debian system. I was happy when I found that I just have to do the following:
-create a group 'admin'
-adduser christian admin
-visudo
-add the line: %admin ALL=(ALL) ALL

Then I tried sudo rm -rf / to check if sudo works. All worked fine. No, seriously, I can move around files that belong to the root and such, so sudo somehow works. But when creating new files with sudo, like e.g.
tar xzf myZippedTarball
these files belong to user 41034 and to the group users instead of root root:
drwxr-xr-x 7 41034 users 4096 2009-11-01 01:07 libsvm-2.9
Certainly, this is not the way I want to have. The user 41034 doesn't even show up in /etc/passwd...

View 2 Replies View Related

General :: Viewing Owner Of File On Windows Share

Mar 16, 2011

I'm interested in viewing the owners of files on a Windows Server 2003 share (mounted on a Linux computer). These "owners" would be users in Active Directory. If it's not possible to see the username, I wonder if it will at least show a unique identifier. Currently it says all files are owned by root with an "ls -l".

View 4 Replies View Related

General :: Untarred Files On Server Has Different Owner?

Aug 10, 2010

I am creating a tar gzipp'ed archive on my local machine (as user1) using the following commands:

user1@devmachine:~/$ tar czpf
dir.tar.gz thedirectory
on the server, I untar it (as user 2) using the command
user2@servermachine:~/$ tar xzpf
dir.tar.gz

I find that the extracted files are owned by another user (say user3) What is the logic that is used to determine file ownership if the owner of the extracted file is not a user on the target machine? I am running Ubuntu 10.0.4 on both machines

View 1 Replies View Related

Ubuntu :: Sudo WGet Piped To TAR Has Wrong File Owner

Jan 4, 2010

I'm trying to download a file and extract it in one line, but the extracted file is owned by me instead of root even though I'm using sudo:
Code:
sudo sh -c 'wget [URL]'
If I don't try to extract the file, it is owned by root as I expected:
Code:
sudo sh -c 'wget [URL]'

View 1 Replies View Related

Ubuntu :: Cannot Login After File Owner Changed From Root To User

Mar 21, 2011

I used to use the root account for everything for more than a year then I moved to a user account for security reasons but almost all files had root as owner so I could not go 5 minutes without having to change to root and then change the owner of a file to my username to make it usable. I got fed up with this so I just changed the owner of every file on the system to my username instead of root.

command chown -R myusername * in the base directory /

Everything was fine until I restarted and the login screen became non functional and I got 2 error messages related to xsession and gnome errors. I think this is because the login screen might have its own user account and it cant access the files for the login process because it is owned by myusername. So my question is what is the user-name of the login account and what folders/files need to have their owner changed so the login process can work? I'm on 10.04 lucid.

View 6 Replies View Related

Networking :: NFS Files On Client Have Different Owner/group Than On Server?

Feb 4, 2011

The server is named alpha and is running Archlinux. It is exporting a directory named /files. The server is a couple of years old and I have accessed it extensively from clients running Arch, Suse, PCLinuxOS, and maybe some others, all with no problems. The clients (3 of them) are new installations of Linux Mint 10 (Julia). When I mount the nfs all of the nfs files are visible as expected. However, the owner/group is drastically different than on the server.

I might add that I have set up user id's and group id's the same. My user is 1003 on all systems, and the users group is 100 on all systems. When I am on alpha (via ssh), here is a partial file listing.

Code:
[dick@alpha dick]$ ls -l
total 9740
drwxr-xr-x 3 dick users 4096 May 16 2009 airplane
-rw-rw-r-- 1 dick users 240978 Jun 27 2009 Alice Grad 1934.pdf
-rwxr-xr-x 1 dick users 444 Jul 8 2007 alpha2ast
-rw-r--r-- 1 dick users 444 Sep 2 2009 alpha2charlie

[Code]...

If have searched the Mint forums, LQ forums, and google in general. I must be missing something in my search because I can't believe that no one else has this same problem and I am having it on 3 different boxes.

View 4 Replies View Related

Server :: Change The Owner Of The Mysql Database With Shell Commands?

Jun 19, 2010

i want to know how can i change the owner of the mysql data base with shell commands.

View 3 Replies View Related

General :: Performing Admin Task Like Changing Owner Of A File Through Shell Script

Apr 5, 2011

I want to automate my tasks of administrator using shell scripts like changing owner of a file which usually only the super user which requires password can change i want to do this thing using shell script how to do?

View 4 Replies View Related

Red Hat :: Change The Owner Permission Of File As "read Only" When The File Is Rcp?

Nov 25, 2010

I am trying to change the owner permission of file as "read only" when the file is rcp remote copy ) from server to another for security reason. Any way to change to permission as readonly access for owner and group ( 550 )when transfer the file using the rcp command ? I tested but still retain the original permission as source file.

Version : RHEL 5.2
Command : #rcp(local file)(/destinationserver/
/folder/file)

[code]....

View 3 Replies View Related

Server :: Hange The Owner Name Of Some Files But When Use "chown"?

Jun 30, 2010

I am trying to change the owner name of some files but when I use "chown" they keep changing for other different user name(postgres):

Code:
[root@server root]$ls -l
-rw-r--r-- 1 root root 3911 Nov 2 2008 test1
[root@server root]$chown newuser test1
[root@server root]$
[root@server root]$ls -l
-rw-r--r-- 1 postgres root 3911 Nov 2 2008 test1

How I would fix this, I tried to change the bashrc but I couldn't

View 2 Replies View Related

Ubuntu :: How To Login As Owner

Jul 5, 2010

I have to paste the tar.gz files in /usr/local/src folder but it does not permit me to do that i tried changing the permissions but it says you are not an owner what should i do else than uninstalling ubuntu

View 2 Replies View Related

OpenSUSE Network :: 11.2 - Owner And Group On NIS

Jul 21, 2010

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a NIS user on my company, but after install opsnSUSE 11.2 on my workstation the owner and group of all of my file are 4294967294

Code:
[vampird@lyra]:~$ l | head
total 2277
drwx---r-x 30 4294967294 4294967294 2560 2010-07-21 13:12 ./
drwxr-xr-x 69 4294967294 4294967294 1536 2010-07-16 16:01 ../
- -rw------- 1 4294967294 4294967294 129 2010-07-21 11:34 .bash_history
- -rwxr-xr-x 1 4294967294 4294967294 2323 2010-05-06 01:56 .bashrc*
drwxr-xr-x 3 4294967294 4294967294 512 2010-07-21 10:56 .cache/
drwx------ 9 4294967294 4294967294 1024 2010-07-21 11:11 .claws-mail/
drwxr-xr-x 5 4294967294 4294967294 512 2010-07-21 11:33 .config/
drwx------ 3 4294967294 4294967294 512 2010-07-21 10:55 .dbus/
drwxr-xr-x 2 4294967294 4294967294 512 2010-07-21 11:25 Desktop/
[vampird@lyra]:~$

On the server I can see the owner as vampird and the correct group,
VampirD
Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - [URL]
iEYEARECAAYFAkxHNfAACgkQJQ+0ABWtaVlcagCdEo5kiwydUTmZ+dkD4R4jholx
bi4AoO6T2OzHealqsQ+9Z42jJ7rYJ6uL
=YKm8
-----END PGP SIGNATURE-----

View 1 Replies View Related

General :: Sort Ls By Owner And Group?

May 14, 2010

How can I list directories with ls and sort them by their owner and group?

View 1 Replies View Related

General :: How To Recurively Change The Owner Of Dir. For Nobody

Feb 22, 2011

how to recurively change the owner of dir. for nobody user . for examplei have /parent_dir with owner root.now i change the owner to nobody(system user) recurively

View 2 Replies View Related

Ubuntu :: Change Owner To Everyone, All Users, Or *

May 30, 2010

Change Owner to Everyone, All Users, or *

How do I change the owner of a folder to Everyone?

In Windows, I can just right click folder > Properties > Security > Edit... > Add... > Advanced... > Find Now > Select "Everyone" > OK > OK > Set Everyone permissions > OK > OK. ^ See, so easy!

Every time I login or restart, I have to launch these commands:

Code:

I need to access the /var/spool/cups/ spool folder, but having to re-do that is so annoying.

View 9 Replies View Related

Ubuntu :: Edit Owner / Group Via SSH With GUI?

Feb 14, 2011

In Windows I used WinSCP to do all of my server work. It was easy and intuitive to use. In Ubuntu, I've been recommended to use "sftp://" for the location. I can change folder permission settings this way, but it doesn't allow me to change the owner and group, and doesn't allow to change the file permissions (folder permissions are ok though).

Can anyone point me in the right direction? How do I go about doing this? I'm much more comfortable doing it via GUI rather than terminal.

View 4 Replies View Related

Ubuntu :: Cannot Change Owner Of Partition

Apr 9, 2011

I cannot write files to an ext4 partition I created unless using gksu nautilus, so I tried Code: sudo chown my_user /dev/sda3 but the owner is still reported in the properties to be root. /dev/sda3 is the path I see in gparted.

View 6 Replies View Related

Software :: Permissions: Have Files Always Have The Same Owner/mod?

Oct 8, 2010

I have a disk that I access from several locations. I require that all the files created always have the same owner, at least group wise. I have different users (that are in that group) that need to be able to read/write all these files. I have these users access the files over samba, and sometimes locally on the server. I know that you can do something with a thing called sticky group or whatever, that files created in a dir with that flag will get the same group, but it has not worked consistently so far. It must also work for directories created by these users.The permissions should be 770 (chmod).Is there a way to set this up, that all files created always have the same group? Right now I am running a cron job every hour or so, to chmod and chown all the files to the right group, but this is far from elegant of course

View 3 Replies View Related

Red Hat :: Files Have Owner As Uid Number Rather Than Username?

Nov 18, 2009

On my RHES4 I noticed a load of files which had owner set as the owners uid rather than the actual username - is this usual behaviour ? On a similar system the same files actually have the username as the owner.It's just causing me issues as I have changed the users ID and now some thing's wont start meaning I have to manually do a find and chown on the system.

View 4 Replies View Related

General :: Group Permissions Getting Overwritten By Owner?

Apr 9, 2010

A colleague of mine has a Linux box (running Debian I believe) with an SVN repository on it. The repository directory and files 'owner' is my colleauge. We are both members of a group called 'users'. He manages several projects both Linux and Windows apps, while I have one Windows app. For the Windows apps, we both use TortoiseSVN via an SSH link to commit/update. Performing the command 'ls -l' shows the repository files and folders on the Linux box to have the following permissions:

-rwxrwx--- john users

However, when my colleauge commits to the repository, the permissions change to:

-rwxrwx--- john john

This then means I get 'Permission denied' when trying to access the repository myself as it appears that the group permissions have been overwritten with only 'owner' permissions. To fix this, a 'chown -R' command is applied to the files/folders to set the permissions back to owner/group, but each time he writes to the repository, the issue repeats.

View 1 Replies View Related

Ubuntu :: Change A 'media' Partition's Owner?

Jul 2, 2010

I have all my music/photos etc. on a different partition to my Ubuntu and Windows partitions.

However, I can't make any changes like deleting files/renaming etc. because I'm not the partition's 'owner' or i'm not in root.

change the ownership of the partition so I can change files from Ubuntu.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved