Networking Forums

Networking Forums > Computer Networking > Linux Networking > would like to have rights 775 while directory creation

Reply
Thread Tools Display Modes

would like to have rights 775 while directory creation

 
 
Jaymin thakkar
Guest
Posts: n/a

 
      07-10-2003, 10:17 AM
hi,
i have a problem with rights on my Server!

if i create a new directory "e.g. Test" via ftp using jaymin user on
my Linux Server,
the directory become the rights drwxr-xr-x jaymin jaymil Test.
where jaymin is the owner, jaymil is the group and Test is the
directory

i would like to have rights on this directory ...
e.g. drwxrwxr-x jaymin jaymil Test

i have not the rights write for others or group.

it is not realistic to change the rights with chmod every times after
a
update via ftp!

i use umask too, but that don't work really

how can i change the rights automatically??

thx

Jaymin Thakkar
 
Reply With Quote
 
 
 
 
Jens =?ISO-8859-15?Q?Pr=FCfer?=
Guest
Posts: n/a

 
      07-10-2003, 01:24 PM
> hi,

Hello,

> if i create a new directory "e.g. Test" via ftp using jaymin user on
> my Linux Server,
> the directory become the rights drwxr-xr-x jaymin jaymil Test.


So you are using the "standard" umask "022" which results in "755" for new
created files and directories. All seems to work well.

> i would like to have rights on this directory ...
> e.g. drwxrwxr-x jaymin jaymil Test


you should consult your ftp server's documentation on how to set the umask
globally AND for individual directories. You should also make sure, you
understand how the "umask" function works. It is not forcing certain
permissions, it is masking some out. So you have to check that

1) the original files have the right permissions before you transfer them
2) the umask for the directory you are transfering them to is not set to
mask out any of those permissions you need.

Cheers

Jens

--
Please do not send any mail to the address above. It will be ignored. Use
jens DOT nospam AT gmx DOT (TLD for Germany)
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer Creation Derrick Denley Windows Networking 2 09-12-2006 08:08 PM
regarding website creation. John Mathew Windows Networking 0 03-25-2006 05:34 AM
home directory rights and mapping for windows 98 clients =?Utf-8?B?Um91bmR5?= Windows Networking 1 07-22-2005 10:27 PM
Active Directory and Exchange acct. creation Automation Clayton Sutton Windows Networking 1 02-04-2005 07:11 PM
Remote DSN Creation Babu Raju Windows Networking 1 12-29-2003 02:09 PM



1 2 3 4 5 6 7 8 9 10 11