vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| dear aix gurus a ftp user has to upload text-files to my aix 5.2 box in a certain directory. specally for this user i start a second ftpd-instance in the inetd.conf: ftpdp stream tcp6 nowait root /usr/sbin/ftpd ftpd -u 000 ftpdp listens on a special port (5020/5021). for some reason i'd like to have all uploaded text-files with a '777' permission. even i start the ftpd with '-u 000' the uploaded file alway have a '666' permission. what do i have to do, to have autmatically '777' for all uploaded files from this user ?? thanx alot bert |
| ||||
| "Bert Moos" <bert.moos@gmx.com> wrote in message news:<bmo6qb$7qm$1@rex.ip-plus.net>... > dear aix gurus > a ftp user has to upload text-files to my aix 5.2 box in a certain > directory. specally for this user i start a second ftpd-instance in the > inetd.conf: > > ftpdp stream tcp6 nowait root /usr/sbin/ftpd ftpd -u 000 > > ftpdp listens on a special port (5020/5021). for some reason i'd like to > have all uploaded text-files with a '777' permission. even i start the ftpd > with '-u 000' the uploaded file alway have a '666' permission. what do i > have to do, to have autmatically '777' for all uploaded files from this user > ?? > > thanx alot > bert You can't create a file with 777 permissions. The best you can have is 666. Unless you need to execute the program right away, 666 should be sufficient. You can set upa cron job to run every minute and change permissions in a directory, or set up an event in Unicenter or Tivoli. BV |