免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1295 | 回复: 4
打印 上一主题 下一主题

请教-安装sybase12 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-05-18 18:19 |只看该作者 |倒序浏览
我要安装sybase12,创建用户sybase,上传sybase12到/home/sybase12,但是当我用sybase用户登陆,访问sybase12目录的时候,提示访问限制,请问如何解决?

论坛徽章:
0
2 [报告]
发表于 2003-05-18 20:33 |只看该作者

请教-安装sybase12

各位大侠,虽然我得问题比较菜,还是请你给一个答复吧:(((

论坛徽章:
0
3 [报告]
发表于 2003-05-19 09:40 |只看该作者

请教-安装sybase12

chown一下,是不是你的sybase用户对sybase没有权限?

论坛徽章:
0
4 [报告]
发表于 2003-05-19 14:31 |只看该作者

请教-安装sybase12

whitewolf_jmw   实在对不起,我连菜到修改权限都不会啊:((

论坛徽章:
0
5 [报告]
发表于 2003-05-19 14:39 |只看该作者

请教-安装sybase12

man chown

  chown(1)                                                             chown(1)

  NAME
      chown, chgrp - change file owner or group

  SYNOPSIS
       chown  [ -h ] [ -R ]  owner [ :  group ]  file  ...

       chgrp  [ -h ] [ -R ]  group   file  ...

  DESCRIPTION
      The  chown  command changes the owner ID of each specified  file  to  owner
      and optionally the group ID of each specified  file  to  group .

      The  chgrp  command changes the group ID of each specified  file  to
       group .

       owner  can be either a decimal user ID or a login name found in the
       /etc/passwd  file.

       group  can be either a decimal group ID or a group name found in the
       /etc/group  file.

      In order to change the owner or group, you must own the file and have
      the CHOWN privilege (see  setprivgrp (1M)).  If either command is
      invoked on a regular file by other than the superuser, the set-user-ID
      and set-group-ID bits of the file mode (04000 and 02000 respectively)
      are cleared.  Note that a given user's or group's ability to use this
      command can be restricted by  setprivgrp  (see  setprivgrp (1M)).

     Access   Control   Lists   -   HFS   File   Systems   Only
      Users can permit or deny specific individuals and groups to access a
      file by setting optional ACL entries in the file's access control list
      (see  acl (5)).  When using  chown  in conjunction with ACLs, if the new
      owner and/or group of a file does not have an optional ACL entry
      corresponding to  user  .%  and/or  %.  group  in the file's access control
      list, the file's access permission bits remain unchanged.  However, if
      the new owner and/or group is already designated by an optional ACL
      entry of  user  .%  and/or  %.  group  in the file's ACL,  chown  sets the
      corresponding file access permission bits (and the corresponding base
      ACL entries) to the permissions contained in that entry.

     Options
       chown  and  chgrp  recognize the following options:

       -h    Change the owner or group of a symbolic link.

                By default, the owner or group of the target file that a
                symbolic link points to is changed.  With  -h , the target
                file that the symbolic link points to is not affected.  If
                the target file is a directory, and you specify  -h  and  -R ,
                recursion does not take place.

Hewlett-Packard Company            - 1 -  HP-UX Release 11.00: October 1997

  chown(1)                                                             chown(1)

            -R    Recursively change the owner or group.  For each  file
                operand that names a directory, the owner or group of the
                directory and all files and subdirectories in the file
                hierarchy below it are changed.

  EXTERNAL   INFLUENCES
     Environment   Variables
       LC_MESSAGES  determines the language in which messages are displayed.

      If  LC_MESSAGES  is not specified in the environment or is set to the
      empty string, the value of  LANG  is used as a default for each
      unspecified or empty variable.  If  LANG  is not specified or is set to
      the empty string, a default of "C" (see  lang (5)) is used instead of
       LANG .

      If any internationalization variable contains an invalid setting,
       chown  behaves as if all internationalization variables are set to "C".
      See  environ (5).

     International   Code   Set   Support
      Single- and multi-byte character code sets are supported.

  RETURN   VALUE
       chown  and  chgrp  return the following values:

             0    Successful completion.
            >;0    An error condition occurred.

  EXAMPLES
      The following command changes the owner of the file  jokes  to  sandi :

            chown   sandi   jokes

      The following command searches the directory  design_notes  and changes
      each file in that directory to owner  mark  and group  users :

            chown   -R   mark:users   design_notes

  WARNINGS
      The default operation of  chown  and  chgrp  for symbolic links has
      changed as of HP-UX release 10.0.  Use the  -h  option to get the former
      default operation.

  FILES
       /etc/group
       /etc/passwd

  SEE   ALSO
      chmod(1), setprivgrp(1M), chown(2), group(4), passwd(4), acl(5).

Hewlett-Packard Company            - 2 -  HP-UX Release 11.00: October 1997

  chown(1)                                                             chown(1)

  STANDARDS   CONFORMANCE
       chown : SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2

   chgrp : SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP