similar to: Still having umask problems

Displaying 20 results from an estimated 4000 matches similar to: "Still having umask problems"

2011 Jun 26
1
Still having umask problems [resend]
I have the samba problems solved thanks to the help of folks on this forum, but I do not have the php umask problems solved. The www directory is /var/www/html and the html directory is owned by apache and is in the apache groups with the following permissions: drwxrwsr-- A sub-driectory, /var/www/html/viewpoints has the same attributes as the html directory, however when php creates a
2011 Jun 21
4
Using umask
Grasping a full understanding of setting default Users, Groups and Masks has alluded me over the years, but now I find myself in a situation where manually "setting" the file/directory attributes is becoming a pain. I understand the fundamentals of the file attributes, though from time to time I have to review the "sticky bit"; what I do not understand is where/how the
2011 Mar 25
3
Default permissions for creating a new user
I know this is a Linux 101 question, however I am unable to locate the answer in my O'Reilly Linux book: how to set the default for permissions when creating a new user. The default for the GUI in my newly installed Centos 5.5 is 700. I usually use 774. And when root creates a new directory, is there a way to have a default there too? Lastly, if root or someone with root privileges
2007 Oct 01
4
Permissions question
My www directory is owned by "apache" and the group is "todd" and the permissions are 775. My Windows computers use Samba and they log into Linux with "todd". Under the www directory there are various directories which may have a group belonging to a user e.g. "viewpoint". Using this example, there is a directory under www (acutally called httpd),
2011 Mar 09
3
Creating the symbolic links in the /boot and /boot/grub/
I started a new thread since the original one is getting rather long. I have retrieved the files I deleted in /boot and /boot/grub, however I need to make links for /boot/System.map (System.map -> System.map-2.6.9-89.35.1) /boot/vmlinuz (vmlinuz -> vmlinuz-2.6.9-89.35.1) /boot/grub/menu.lst (menu.lst -> ./grub.conf) If it was not so important to get it correct, I would appreciate
2011 Oct 05
1
Formatting an external USB drive
I have an external USB drive that was formatted with NTFS and I want to use it to backup some files from my Centos 5.5 system. When I check my documentation, I am not certain of the best way to do the formatting. Suggestions welcomed.... Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com
2011 May 07
5
How to add a HD to a LVM
I have connected a HD that was a prior system drive (Centos 4.8) and I am not sure of the command line procedures to find out if it is recognized (I believe it is since it present in the GUI), delete all data on it and finally add it to the LVM. I would like to use it as a backup data drive. Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com
2011 Apr 11
5
Best configuration for /var/www/html/
For a long period of time, my Apache root directory has been /home/httpd. For security reasons, this is not so good as SELinux has informed me. Now all of the files have been copied to /var/www/etc with owner and group "root". The privileges are 754 (rwxr-xr--), however apache does not have access to them. Should the owner be apache? Group? Todd -- Ariste Software Petaluma,
2011 Apr 26
9
Setting up a GUI remote access
Currently I have VNC running on my Windows desktop with Samba providing access to my Linux server. Since Linux is more reliable than Windows, I would like to be able to access my Linux (Centos 5.5) via my Windows notebook - hopefully via VNC or some similar application and then access the Windows desktop (if it is not locked up :-) ) with Samba. What is the best VNC like application to
2011 Jun 02
2
Good book on Linux Admin (Centos 5.5)
My Admin books are out of date, so I need a new one that contains info about the Linux as in Centos 5.5. I am a "Sunday user"; not one earning a living as an Admin. Recommendations welcomed.... Todd P.S. Current book is "Linux System Administration, Second Edition", by Vicki Stanfield and Roderick W. Smith (Sybex) -- Ariste Software Petaluma, CA 94952
2010 Jul 12
2
Correct permissions for uploading files
I am trying to implement PHP upload functionality for an application. When I attempt an upload in my test environment, I get the following error: An error has occurred: receiving directory insufficient permission... The upload form is reloading The destination file being moved by move_uploaded_file is /home/httpd//test/upload/uploads/1278898550-_DSC1159.jpg The initial file name is suppose
2010 Aug 26
2
Backing up pass words
I am currently running CentOS 4 and want to install CentOS 5. To do that, I plan to install a new HD in my server box onto which CentOS will be installed. I will then copy the "home" directory from the old drive or from a backup on a USB drive, however I am not sure how to handle the Users/Passwords from the old installation. Many thanks... Todd -- Ariste Software Petaluma, CA
2011 Mar 26
3
Locked myself out of MySQL
Darn! I must have either made a typo or my use of a ";" in the MySQL root password so now I am locked out. Is there a work around or do I have to uninstall MySQL and reinstall? Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com
2011 Apr 04
3
Is Centos 5.5 too old fro Google Chrome?
I tried to install Google Chrome and received the dependencies error. Is Centos too old for the new Chrome or is there an older Chrome version that is compatible? Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com
2011 Mar 09
3
Which file system to use for a USB backup
I have some photographs on my Centos 4 server that I want to copy to a USB drive. However, I want to be able to access the files from Windows or Mac OS's. Where should I look for instructions on how to mount and format the USB drive and is FAT32 the only option? Many thanks -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com
2010 Nov 12
1
Centos 4 and cgiemail
I am running Centos 4 and want to run cgiemail in a directory under the web application. The setting of the "value" property in the <form> is tricky, but I have the web application running on other servers without a problem. On my server I get the error that it cannot find the file pointed to by the value in the <form>. My question is whether or not I need to do
2011 Mar 25
1
How to limit ftp users to just view their directory
I am in the process of bring up Centos 5.5. My ftp server is vsftp. When I add a user (e.g. brian), the "brian" directory is owned by "brian" and is in the "brian" group with 700 permissions. However, using a FTP client, the user "brian" can view all of the directories. I do not see any directive in vsftpd.conf to limit this. What have I missed?
2011 Mar 26
1
Error 2002 with MySQL on a new Centos 5.5 installation
With my new Centos installation, I get the following error when I type in # mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I have Googled the error, but the results do not appear to be helpful Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com -------------- next part -------------- An HTML
2011 Jun 01
2
Trying to understand USB HD configuration
I am trying to understand how my USB drive is setup in Centos 5.5 -- especially since I made a mistake of backing up to it when it was not turned on. The USB drive is accessed as /media/disk. However, when I did a backup WITHOUT the drive turned on, the data was put into the directory, /media/disk. Now, when I turn on the USB drive (it is self-mounted in 5.5), the USB drive has been
2011 Sep 07
2
Have not had any updates to Centos 5.5
I am running Centos 5.5 (2.6.18-238.19.1.el5 and when I submit yum -y update I get the message that nothing is marked for update. Is this correct or is there something wrong with the system? Many thanks... Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com