vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have a nfs file share between an aix 4.3.3 server and a linux server running redhat 7.3. I have a directory on the aix server mapped to the linux server. When ever I create a file in the mapped directory its default permissions are -rw-r--r--. I need the default permissions to be -rwxrwxrwx. Below is the entry I put in my /etc/exports file on the linux box /home/sms/hostdemo 192.168.xx.x(rw,insecure,all_squash) Below is the entry in the /etc/filesystems file on the aix box /usr/recital/hostdemo: dev = "/home/sms/hostdemo" vfs = nfs nodename = 192.168.xx.x mount = true options = bg,soft,intr account = false vers = 2 type = remote |
| |||
| payne <paynearnold@yahoo.com> wrote: > I have a nfs file share between an aix 4.3.3 server and a linux server > running redhat 7.3. I have a directory on the aix server mapped to > the linux server. When ever I create a file in the mapped directory > its default permissions are -rw-r--r--. I need the default > permissions to be -rwxrwxrwx. By setting the umask of the user who creates the file to 0000, you can achieve permissions 0666 for newly created files and 0777 for directories. I think there is no way to force files to mode 0777. Yours, Laurenz Albe |
| |||
| Laurenz Albe wrote: > payne <paynearnold@yahoo.com> wrote: > > By setting the umask of the user who creates the file to 0000, you can > achieve permissions 0666 for newly created files and 0777 for directories. > > I think there is no way to force files to mode 0777. Correct. The execute bit must be explicitly set, and only applies to executable files (i.e. scripts or programs). One wonders as to the desired goal. -- Gary R. Hook __________________________________________________ ______________________ Vocatus atque non vocatus deus aderit |
| |||
| "Gary R. Hook" <nospam@nospammers.net> wrote in message news:<c4y8d.2689$q%7.973@newssvr11.news.prodigy.co m>... > Laurenz Albe wrote: > > payne <paynearnold@yahoo.com> wrote: > > > > By setting the umask of the user who creates the file to 0000, you can > > achieve permissions 0666 for newly created files and 0777 for directories. > > > > I think there is no way to force files to mode 0777. > > Correct. The execute bit must be explicitly set, and only > applies to executable files (i.e. scripts or programs). > > One wonders as to the desired goal. I have a demo database that is used for training and has grown larger then I have room for on the aix server. The database uses a system account to modify and create tables in the database. How do I set the umask for a system account if their is no .profile to modify. |
| |||
| "Gary R. Hook" <nospam@nospammers.net> wrote in news:c4y8d.2689$q%7.973@newssvr11.news.prodigy.com : > Correct. The execute bit must be explicitly set, and only > applies to executable files (i.e. scripts or programs). > > One wonders as to the desired goal. To keep data from being executable unless otherwise specified. -- Doing AIX support was the most monty-pythonesque activity available at the time. Eagerly awaiting my thin chocolat mint. |
| ||||
| paynearnold@yahoo.com (payne) wrote in news:e7035f1c.0410071731.5c710176@posting.google.c om: > I have a demo database that is used for training and has grown larger > then I have room for on the aix server. The database uses a system > account to modify and create tables in the database. How do I set the > umask for a system account if their is no .profile to modify. By changing the umask in smit users. -- Doing AIX support was the most monty-pythonesque activity available at the time. Eagerly awaiting my thin chocolat mint. |