Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-05-2009, 06:25 PM   #1
LQ Newbie
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
Directory Permissions

Hello All,

I am setting up a home server with Ubuntu Server 9. I am new to Linux and am using this box as a learning tool. I have noticed when I pscp files to my home directory the permissions do not include the executable attribute by default. I believe this can be done by using a "sticky bit". Can someone tell me how to do this?
Old 09-05-2009, 06:49 PM   #2
Registered: Mar 2009
Distribution: CentOS - Ubuntu - Debian
Posts: 83

Rep: Reputation: 27
The permissions set when you create a new file in Linux are defined
by the "umask" filter, you can read about it in:

IRC, there is no way to automatically set the execute bit by default
in new files.

At the time of copy, if you use for example rsync, it will preserve the
execute bits of your files with the -p parameter.

Best regards,


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
File permissions v. directory permissions Completely Clueless Linux - Newbie 7 07-09-2009 08:33 AM
HELP - Directory Permissions desmondlewissmith Linux - Newbie 5 11-19-2007 04:18 PM
directory permissions allelopath Linux - General 3 01-01-2006 02:43 PM
New directory permissions Paulsuk Linux - General 3 05-18-2005 06:36 AM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 03:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:37 AM.

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