Ubuntu Servers :: Find All Of Files On Server With Permissions 777?

May 11, 2010

How can i find all of the files on the server with permissions 777?

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: Server Process Created Files Permissions

Nov 20, 2010

Currently have access to a VPS where we are running a small game server on ubuntu - the problem is that it is a multi-user environment, so when one person restarts the server process, all files it creates are owned by that users name and group. I have created a group called 'game' and added both users to it, but I need to know how to make all files in the game server's directory to be r/w/x for the group 'game'. Currently, I have a script that chowns and chmods all files recursively on startup, but I'd prefer not having to do this.

View 4 Replies View Related

General :: Find All PHP Files With Group Write Permissions?

Jun 23, 2010

I've been trying to get the -perm option of find to give me all PHP files that are group writable. Should this work?

find -name "*.php" -perm g-w

View 1 Replies View Related

Ubuntu Networking :: How To FTP Files Between Servers Retaining Permissions

Feb 21, 2010

I got two ubutnu servers running side by side, I need to transfer several dir's of files, incl sub dirs to the other server via ftp and retaining the file permissions and dir structure. Both servers have ftp access, I am assuming theres an ftp command I use on the destination server to connect to the source server and retrieve the files? All the files reside in the one dir and need to be copied to the same dir on the destination server.

View 1 Replies View Related

Ubuntu Servers :: Change The Permissions To Enable To Move The Files?

Aug 28, 2010

So i pulled some files off my buddy's computer via my wireless home network, i can access them but in the permission tab the owner is "nobody" so i can move the files. How can i change the permissions to enable me to move the files?

View 3 Replies View Related

Ubuntu Servers :: Rsync Backup - Transfer Files With Appropriate Permissions

Dec 4, 2010

I wrote a script to wake up my windows machine and do an rsync backup of some of my files. I wanted to make this command a accessible through local bin so I made it executable. However the problem is that when I copies files is copies them with root permissions and i can edit or delete them. How can I set the files so they transfer with the proper permissions for my Ubuntu user?

Code:
#!/bin/bash
# Description: This script first wakes up the client machine and syncs the appropriate folders.
# Finally the script shuts down the client if it was off to begin with.
if [ "$(whoami)" != "root" ]; then
echo "Permission Denied"
exit 1
fi .....

View 8 Replies View Related

Ubuntu Servers :: Apache - Change The Permissions For A Directory And All Files Inside

Dec 12, 2010

I would like to change the permissions for a directory and all files inside the directory how do I do this? The website is located only on my local network so I am not worried about security. Also what would be the optimal permissions for running wordpress.

View 1 Replies View Related

Fedora Servers :: F11 & Apache Permissions - Reading Files Out Of The Html Directory

Jun 12, 2009

With F11 installed Apache is having permissions issues reading files out of the html directory. Only wants to work with permissions set to read for other. [Thu Jun 11 23:25:28 2009] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /var/www/html/index.html Tracked down the permissions issue. Is there a good reason not to change the group to apache and remove world read?

View 1 Replies View Related

Ubuntu Servers :: File Permissions Server 10.10 ?

Mar 16, 2011

Trying to setup a file server for a small group of users and I am in need of help with file permissions with Ubuntu Server 10.10.

I have a single share mapping (ex /media/hdd1/share1). There are several folders that everyone will need read/write/edit permissions and there will be a few folders that all users will need read permissions and a couple of users will need read/write/edit permissions.

I have tried several things and as long as I create the folders/files through ssh using sudo, the permissions are fine, but when the users create file and folders through their computers (mixture of Windows and Mac) that user becomes the owner and no one else can write or edit those files.

I am using SAMBA and though it was a config issue with that but I logged each user directly into the server with the same issue.

I tried sudo chmod 777 /media/hdd1/share1 but all newly created files have the above issue.

View 1 Replies View Related

Ubuntu Servers :: Cannot Change File Permissions On Server

Aug 25, 2010

I'm working on a remote Ubuntu 9.10 server, which is accessed via VPN. I installed Joomla, but had difficulty uploading new components, which I traced to a file permissions problem. I used FileZilla to FTP onto the site and tried to make the chmod changes I needed, but the commands kept failing. Eventually, I contacted the sys admin and told him I thought that there was an ownership problem with the directories. He checked and told me that I was logging in with exactly the same user name and password that he was using (it's not a live system currently) and that he could make chmod changes without any problems. Because all my attempts were still failing, he eventually did the following:

chown -R administrator:administrator /var/www

/var/www is where all the Joomla files are stored and Administrator is the user name.Now I find that when I run a chmod command in FileZilla, the server reports that it worked (see below):

Status:Connected
Status:Retrieving directory listing...
Command:CWD /etc

[code].....

However, if I go back and check the tmp folder permissions, I find that they are still set to 777.This still looks like an ownership problem to me, but I don't understand why the server seems to think that the chmod changes are working, when they aren't.

View 4 Replies View Related

Ubuntu Servers :: Set Up Permissions For Users On Server / On Desktop?

Feb 10, 2011

Can someone tell me if it is easier to set up permissions for users on the server or on the desktop?

View 5 Replies View Related

Ubuntu Servers :: LAMP Server / WordPress - Permissions Failure

May 7, 2011

Main purpose of this LAMP server is testing development. I would like to get this server setup up almost exactly to a T how my real web hosting server is setup. I am running 11.04 and have installed LAMP. I also installed vsftpd. I went ahead and made a symlink from /home/user/public_html to /var/www/. I login from a Windows 7 computer via CuteFTP to my Ubuntu server. I can enter the public_html directory and can create folders but the default permissions for any folder created is 700. I have tried running chmod -R 755 /home/user/public_html but this does not work. Every file or folder created now currently will take a 700 permission.

How do I make it so anything that is uploaded into this folder will be at either 755 or 775? Also what is the best practice for utilizing the /var/www directory? Should I be using a symlink to link it to my user's home folder? I have read through so many posts with regards to adding users to a group and giving this group permission and this or that I'm so confused.

View 2 Replies View Related

Server :: Permissions On New Files / Folders?

Apr 26, 2010

I have a Samba share set up on a SUSE server that about 30 Windows XP clients are connecting to on a daily basis. They connect using Winbind and their Active Directory usernames and passwords which are stored on a Windows small business server (Server 2003). The share is called "company" and it's right off the root of the partition. Within "company" there are about 75-100 folders, most of which need to be publicly available and publicly writeable. There are a few that need to be locked down to a certain group of people so I've used group membership and access control lists for those.

The permissions on new files/folders still aren't right though, so I'll just try to explain what I WANT rather than trying to resolve what is HAPPENING since I think that'll be easier. Currently the entire company directory and all subdirectories and files are user-owned by "administrator" (an active directory domain admin). I'd like new folders and files created anywhere in that directory or any subdirectory to maintain that ownership by administrator, regardless of who creates them.

Likewise, the entire directory and all subdirectories/files are group-owned by "domain users" (a builtin active directory group which is pulled in via winbind) which gives everyone write access to everything. I'd like that ownership to be maintained as well on any new files or folders created in /company or any subdirectory therein. I think this is working for the most part as I've set the setgid bit on company. I'd like any files or folders created in /company or any subdirectory therein to have 770 permissions (rwxrwx---).

So, what I want is regardless of who creates a file or folder anywhere in "company" - it should be owned by user "administrator" and group "domain users" and have 770 permissions. I'd like to make a little tweak to this post. Above I said I wanted anything created under Company to be created with group owner "domain users" - that actually only goes for anything that will be public. On the folders I have locked down via group membership and ACLs the new files/folders created within should maintain ownership of whatever group owns that directory. I should be able to do this by setting rwxrws--- permissions on secured directories.

View 2 Replies View Related

Server :: File Permissions Being Stripped On New Files Via NFS

Feb 3, 2010

I'm having an issue that I've seen before on other OS's (Solaris), but I'm coming up blank on solving for an NFS mount shared from RedHat I've googled this, and looked through all the FAQs and mail lists I can find.

The issue is this:

Whenever a new file is created from an NFS client to an NFS mounted file system, the group and world permissions are being stripped such that any new file created ends up with 0600 as the file permissions. On the server, I have tried various sharing options (all_squash, anonuid, anongid, no_acl) with no luck. I've looked at the underlying mount point ownership and permissions, checked the file system acl's (getfacl...they match the visible file system), and set the custom SELinux (not mine) config to permissive. The file system is on an LVM partition, and has an SELinux group assigned in /etc/fstab. I've unmounted it, and performed a vanilla mount (no options). No amount of trial and error is working. Any file created by any user on an nfs client machine creates files with 0600 permissions, and local users on the nfs server create files with permissions based off their umask settings. I originally thought it was due to mismatches in permissions from Windows to Linux (The server also NFS shares to Windows 2K boxes using hclnfsd (PC/NFS)), but I confirmed the same issue between RedHat systems.

One thing I'm wondering from my reading. It's mentioned in many places that ownership should be root in most cases and not some other user. This entire file structure is owned by a user that is ONLY local to the server box (long story, but the box is isolated....no DNS and only local users and settings).

View 3 Replies View Related

Server :: RHEL 5 - How To Set Permissions On Files / Folders

Jul 1, 2010

I am using RHEL 5 on my server. The client machines are windows XP.File sharing is through samba server which is working okay. On this file server there is a shared directory for users. This directory contains files which are used by various users through oracle APP. and DB server.

At present the folders under the "shared" folder are having all permissions i.e. 777. To restrict certain things, I want that users may read and modify the files but may not be in a position to move or delete the files. How to set the permissions on the folders/files in this scenario?

View 1 Replies View Related

Debian :: Suid And Writing Files Permissions In The ET Server?

Feb 22, 2010

I have tried to configure an Enemy Territory Server in an way that a common user could run it just executing a command line. The first thing I did was writing a script like that

/usr/local/games/enemy-territory/etded +set dedicated 1 +set net_port 27960 +set fs_game etpub +set fs_homepath /usr/local/games/enemy-territory/27960 +set sv_punkbuster 1 +set +exec server.cfg +set +exec punkbuster.cfg  +set +exec bots.cfg

and then putting it in the /usr/local/bin directory. Ok, the things seem to be fine, but then I realized that the program tries to write some config and log files. I noticed that because some warnings appear in the command line, like that Couldn't write etconfig.cfg always that I run the command as a normal user. On the other hand, if I give writing permission to these files, all the warnings disapear.
But I don't think it is a good way, because someone could change these files by hand, what would not be good.

My last try was to set the suid of the script up, with the command chmod u+s /usr/local/bin/etded-server
But as I already knew that suid does not work well with shell script I wrote a C source like that:

[Code]...

View 4 Replies View Related

Server :: Proftpd - Not Have A Permissions To Save Files Or Try To Modify

Mar 31, 2010

just thought i would throw this out there as a google search doesnt even come back with what i need. I have setup proftp with a mysql auth on a debian box. When i save files or try to modify them i get an error. Ie i dont have permission. When i look at the permissions for the files, it has a 2001 user permission and a ftpgroup as the group permission.

I want it to be ftpuser and ftpgroup with readable and writable permissions for the user and group. This is my second proftp box and i basiclly copied the config files over from the old box.

View 12 Replies View Related

Server :: Samba Permissions - Files & Directories Can't Be Renamed / Moved / Deleted

Feb 10, 2010

After what feels like weeks have tinkering around trying to get a Samba file server set up, I've finally given up! I have 4 drives and 2 groups:

1) Dev - Available to all users in both groups (normal and admin)
2) Misc - Available to users in admin group only
3) Admin - Available to users in admin group only
4) Accounts - Available to users in admin group only

Drives 1 and 2 are working fine, with the correct access rights. Drives 3 and 4 can be browsed by admins only, but no changes can be made at all - files & directories can't be renamed/moved/deleted. What is most confusing is that Drive 2 is set up exactly the same as Drives 3 and 4. The process I went through to get them working:

[Code]...

View 2 Replies View Related

General :: Find The Difference Between Two Files In Different Servers?

Mar 18, 2010

I want to find the difference between two files in different servers , which have trust enabled to ssh without password.

Am using the following command , which shows no output. But i am able to see some difference there in the files manually.

Code:
serv1$diff .profile `ssh serv2 ls .profile`

View 1 Replies View Related

Fedora Servers :: Find The Httpd.conf Files In FC11?

Aug 6, 2009

Where can I find the httpd.conf files in FC11 ??

View 1 Replies View Related

Ubuntu Servers :: Where To Find SSH Server Configuration

Nov 28, 2010

Where to find SSH Server Configuration Howto for Dummies? To Ubuntu 10.04 LTS Server? Must work like FTP/SFTP and user accounts must be in MySQL. Just for File Transfer and user can open only his / her own ./ where is public_html in root..

View 4 Replies View Related

Ubuntu Servers :: Can't Find Samba Server?

Jan 17, 2011

I have Ubuntu 10.04 Server running on an old pc in my basement. I installed samba and samba4 on it. I added users, etc. However, i cannot find it in my network locations on my Ubuntu 10.10 laptop

View 3 Replies View Related

Ubuntu Servers :: Find The Root Password On Server 9.1?

Mar 12, 2010

how to find the root password on Server 9.1

View 2 Replies View Related

Server :: Find All Files On The Server +patch?

Jul 27, 2011

There is server with 3 hdd mounted to /h1 /h3 /h4 and its a file server contain 3 TB of data (must of them are in zip or rar format), We need to move whole files to the new server.I need a command or bash file to show me the name of files in these partition and the patch of them in the txt log file. (So i can create the link and download all of them in new server with download manager).I tried rsync but its too slow...After we created the links of whole files we will deny all ip address exclude new server IP address in nginx then we can transfer them all fast. (The servers are in 1 datacenter.)

View 2 Replies View Related

Ubuntu Servers :: Web Server Administration \ How To Find The Own Nameserver Numbers

Jan 11, 2010

does anyone know of a good site/book/guide to learn about linux web server administration?
and also how do you find the your own nameserver numbers? would that just be the IP of my web server?networking isn't my forte, but i do intend to learn with this project.

View 5 Replies View Related

Ubuntu Servers :: Where To Find Mail Server Configuration For Dummies?

Nov 28, 2010

Where to find Mail Server Configuration Howto for Dummies?

Reguirements:
Autoreply is supported?
User Accounts and other configs in MySQL database..

View 9 Replies View Related

Server :: Unifying Permissions Between Two Servers - CentOS - Webmin/CentOs - Cpanel - And Rsync

Jan 1, 2010

I have two servers, both running CentOS, but one running Cpanel as the control panel and the other running Webmin.

I would like to sync the web folders using rsync. However, when I sync the files from the Cpanel host the permissions look as follows:

Code:

But that doesn't work on the Webmin server which needs the following:

Code:

It seems the Cpanel install has the group as 'nobody' whilst webmin has it the same as the file owner. I can fix this by running:

Code:

But as the file transfers will be frequent, I don't want the files to be inaccessible until chown is run.

So, what I really want to know is - how can I change things on the 'webmin' server so that files with ownership owner:nobody will run?

View 1 Replies View Related

Server :: Cannot Find Any Log Files That Give Me Any Information

May 28, 2010

When I try to hit my jsp pages all that gets displayed is the source code.I cannot find any log files that give me any information. It seems as though apache is not forwarding requests to tomcat6 but I cannot verify this. I need some direction on what is happening here. I'm lost and have run out of options.Would JAVA classpaths cause this type of behaviour if they are wrong?

View 2 Replies View Related

Server :: Find And Replace In Multiple Files In Ssh?

Jul 3, 2010

Find and replace in multiple files in ssh?

View 1 Replies View Related

Ubuntu Servers :: Setup SOCKS5 Proxy - Cannot Find A Way To Get A SOCKS Server Up And Running On VPS

Mar 30, 2010

I have an interesting situation. I'd like to use bittorrent for legitimate purposes (mainly linux distro based) but the powers that be have blocked access to bittorrent at my university. I have an ubuntu VPS that I use for odds and ends and was thinking that I could setup a SOCKS5 server on it. That way, I can input the SOCKS5 info directly into the proxy section of my local bittorrent application (Transmission 1.92 running on snow leopard) and be good to go. The problem, however, is that I cannot find a way to get a SOCKS server up and running on my VPS. I've heard that ssh can be used as a simple SOCKS server, but I've also heard that i may need to install a more complete SOCKS server such as dante. Does anyone have any thoughts on this?

View 1 Replies View Related







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