 |
 | SFTP + User rights |  |
Joined: 03 Apr 2006 |
Posts: 15 |
|
|
 |
Posted: Sun May 07, 2006 3:26 am |
|
 |
 |
 |
 |
ddmitrie wrote: | Default file and directory permissions can be set in the account settings. |
Hi ddmitrie,
can you tell me where?
Cheers
Dennis
|
|
Joined: 03 Apr 2006 |
Posts: 15 |
|
|
 |
Posted: Mon May 08, 2006 1:31 am |
|
 |
 |
 |
 |
ddmitrie wrote: | It was implemented in build 4514 and therefore you can see changes in current build (4520) too. |
Ahh ok thats the problem, had build 4511.
Cheers ddmitrie
|
|
 |
 | |  |
 |
 | |  |
 |
 | |  |
 |
 | |  |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8361 |
|
|
 |
Posted: Tue May 16, 2006 6:26 am |
|
 |
 |
 |
 |
looks like you have umask 0020 or 0022.
try 777 and probably you will get 755.
The umask (UNIX shorthand for "user file-creation mode mask") is a four-digit octal number that UNIX uses to determine the file permission for newly created files. Every process has its own umask, inherited from its parent process.
The umask specifies the permissions you do not want given by default to newly created files and directories. umask works by doing a bitwise AND with the bitwise complement of the umask. Bits that are set in the umask correspond to permissions that are not automatically assigned to newly created files.
Normally, you or your system administrator set the umask in your .login, .cshrc, or .profile files, or in the system /etc/profile file. For example, you may have a line that looks like this in one of your startup files:
# Set the user's umask
umask 0022
When the umask is set in this manner, it should be set as one of the first commands. Anything executed prior to the umask command will have its prior, possibly unsafe, value.
Under SVR4 you can specify a default umask value in the /etc/defaults/login file. This umask is then given to every user that executes the login program. This method is a much better (and more reliable) means of setting the value for every user than setting the umask in the shell's startup files.
|
|
 |
 | |  |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 1
|
|
|
|  |