Question : File permissions

I have a file that I need a particular security group to be able to read/write but not delete. I have tried using the deny delete option as well as simply not checking the delete option.

It seems that if the delete option is not allowed in any way, the users are not able to save the file to the original file.

I have attached an image with the current settings. As is, the user cannot delete nor can they save back to the file.
 
Permissions Snapshot
312377
 

Answer : File permissions

Oh yeah,
you're right, rumi78, that's this confusion with "indata" and "outdata" I already mentioned!
With "put" the solution would be fine ;-)

Anyway, I once had a similar case here, where I provided a solution looking like this:

#!/bin/sh
HOST="xxxxxx"
USER="heather"
PASSWD="*******"
CMDFILE="/tmp/rc.ftp.$$"
REMOTEDIR="/usr/indata"
LOCALDIR="/usr/outdata"
PATTERN="*2010020214*"
NUMFILES=10
LISTING=$(ftp -in $HOST <<EOF
user  $USER $PASSWD
cd $REMOTEDIR
ls $PATTERN
quit
EOF )
SLISTING=$(echo $LISTING | cut -f1-$NUMFILES -d" ")
echo  "open $HOST" > $CMDFILE
echo "user $USER $PASSWD"  >> $CMDFILE
echo "verbose" >> $CMDFILE
echo "ascii"  >> $CMDFILE
echo "cd $REMOTEDIR" >> $CMDFILE
echo "lcd $LOCALDIR" >> $CMDFILE
for FILE  in $SLISTING
  do
     echo "get $FILE" >> $CMDFILE
   done
echo "quit" >> $CMDFILE
  ftp -in < $CMDFILE
rm $CMDFILE


Basically, we use FTP to create a remote listing to then process the first 10 elements in a second FTP step.

wmp
Random Solutions  
 
programming4us programming4us