0

我正在尝试将 imagepyramid 插件复制到我的地理服务器中,但系统不允许我这样做。我以管理员身份登录

user@osgeolive:/usr/local/lib/geoserver-2.1.3/webapps/geoserver/WEB-INF/lib$ sudo chown -R atgis /usr/local/lib/geoserver-2.1.3/webapps/geoserver/WEB-INF/lib
user@osgeolive:/usr/local/lib/geoserver-2.1.3/webapps/geoserver/WEB-INF/lib$ cp /home/user/downloads/gt-imagepyramid-8.4.jar gt-imagepyramid-8.4.jar
cp: cannot create regular file `gt-imagepyramid-8.4.jar': Permission denied
user@osgeolive:/usr/local/lib/geoserver-2.1.3/webapps/geoserver/WEB-INF/lib$ mkdir test
mkdir: cannot create directory `test': Permission denied
user@osgeolive:/usr/local/lib/geoserver-2.1.3/webapps/geoserver/WEB-INF/lib$ cd ..
user@osgeolive:/usr/local/lib/geoserver-2.1.3/webapps/geoserver/WEB-INF$ chmod 777 lib
chmod: changing permissions of `lib': Operation not permitted
user@osgeolive:/usr/local/lib/geoserver-2.1.3/webapps/geoserver/WEB-INF$
4

1 回答 1

0

尝试这个 :

  1. 停止地理服务器服务。
  2. 检查您是否有权写入地理服务器文件夹。

    $ ls -all /usr/local/lib/geoserver-2.1.3/webapps/

如果你没有写权限:

$ chmod 777 /usr/local/lib/geoserver-2.1.3/webapps/geoserver

我希望这可以帮助你。

于 2012-11-27T15:16:49.730 回答