LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 02-25-2008, 04:30 PM   #1
gatsby
Member
 
Registered: Jan 2006
Posts: 46

Rep: Reputation: 15
Set group ownership on files as they are created


This is a file permissions question. I think umask fits in here somewhere, but I am not quite sure how.

Every time I FTP a file to my Linux machine, I end up overwriting the file permissions for the previous copy. I want my file settings to always be 664 in this directory. I also want the group ownership to always be defined as my group "testergroup". Does anyone know how I can accomplish this?

Thanks in advance.
 
Old 02-25-2008, 04:31 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Set group on files as they are created gatsby Linux - Newbie 1 02-25-2008 05:53 PM
Files getting created with owner as nobody and group as nogroup, how to stop? itsakc Linux - General 2 10-25-2007 07:13 PM
Files created with root ownership on SAMBA Windows shares sixerjman Linux - Software 5 03-08-2007 09:39 AM
Group Permissions and Ownership of files and folders bugeyemonster Linux - General 1 04-19-2006 02:52 AM
changing ownership and group of multiple files.. utanja Debian 3 02-21-2005 07:10 PM


All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration