Results 1 to 2 of 2

Thread: Ubuntu default file permissions

Hybrid View

  1. #1
    Senior Member RickDev's Avatar
    Join Date
    Jul 2005
    Location
    Melbourne, Florida
    Posts
    438

    Ubuntu default file permissions

    Ok, new to linux of any sort so I picked Ubuntu to play with. I installed the server using the LAMP option and have gotten apache and php to work just fine. Even installed Phpmyadmin without a problem. The problem I am having is setting up the default web server. I left the default site in the var/www directory. the problem I run into is I use my normal login to ftp into the server to place files there. of coarse the files I create make me the owner and so the server can not run them. I changed the owner/user of the directory to www-data same for apache. Without using chmod everytime I upload a file, how can I make sure files that I put up there have at least 755 permission mask so that they can be executed? Thanks in advance for any help.
    RickDev
    "Nobody knows what I do until I stop doing it."

    Florida Web Design | Online Geek Hangout | Office Pranks and Humor

  2. #2
    Senior Member RickDev's Avatar
    Join Date
    Jul 2005
    Location
    Melbourne, Florida
    Posts
    438
    Ok, think I have solved my problem. It appears that I had the ftp program setup to have a default umask (still learning this) set of a default of 077 and when I changed it to 022 (read other places on this) it looks like it has gotten me started back in the right direction. Thanks google
    RickDev
    "Nobody knows what I do until I stop doing it."

    Florida Web Design | Online Geek Hangout | Office Pranks and Humor

Similar Threads

  1. file permissions
    By sentme_mail in forum Linux - General Topics
    Replies: 8
    Last Post: 11-20-2004, 04:39 AM
  2. File permissions upon creating the file
    By cloverm in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-17-2004, 07:48 PM
  3. Help with file permissions
    By boblucci in forum Linux - General Topics
    Replies: 3
    Last Post: 04-21-2003, 02:28 PM
  4. Confused on file system permissions
    By jayc in forum Linux - General Topics
    Replies: 2
    Last Post: 01-20-2003, 05:49 PM
  5. file permissions reset to 755
    By gomez alert in forum Mandriva
    Replies: 7
    Last Post: 05-15-2002, 10:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •