../: The file access permissions do not allow the specified action.

MoLoveyou 2014-08-15 08:25:12
今天在 tomcat用户 /home/tomcat/test 执行 cd ../ 报错:
../: The file access permissions do not allow the specified action.

root 在执行时:
/home/vcm/test
drwxr-x--- 3 tomcat tomcat 4096 Aug 15 17:22 .
drwxrwxrwx 15 root system 4096 Aug 15 20:13 ..

tomcat 在执行时:
ls: 0653-345 ./..: Permission denied.
total 8
drwxrwxrwx 3 tomcat tomcat 4096 Aug 15 20:15 .
求解答。
...全文
8494 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
ljc007 2014-11-21
  • 打赏
  • 举报
回复
用root操作 cd /home/ ls -l | grep tomcat 看看tomcat用户有权限访问 /home/tomcat 这个文件夹吗
pageyehl 2014-11-20
  • 打赏
  • 举报
回复
今天在 tomcat用户 /home/tomcat/test 执行 cd ../ 报错: ../: The file access permissions do not allow the specified action. root 在执行时: /home/vcm/test drwxr-x--- 3 tomcat tomcat 4096 Aug 15 17:22 . drwxrwxrwx 15 root system 4096 Aug 15 20:13 .. 你说的2个tamcat 的 路径不一样, 如果是不能 cd 到 /home/tomcat, 那就查看 /home/tomcat tomcat文件夹的权限,你不是tamcat group的话, o 必须有 r x 权限,才能进去。
  • 打赏
  • 举报
回复
tomcat 文件夹权限问题
帅得不敢出门 2014-08-16
  • 打赏
  • 举报
回复
ll ../ 可能是没有权限。
1 , manc-skinex.zip
This is an example of how to add skins to your program.
2 , irregularForms.zip
This is a great example. It takes two images to shape the form, then blits the "face" onto the form also.
3 , noclose.zip
This demonstrates how to remove the "X" located on the top of your form, while keeping the maximize and minimize buttons visible.
4 , dos-menu.zip
This example shows how to change your applications menu apperance as in color and font.
5 , dos-iface.zip
This is an example of how to use skins in your program, and also using BitBlt for a great looking interface.
6 , sg_settings.zip
This demonstrates how to save information about your program in the registry of windows. Much more reliable than using INIs
7 , Menubmp.zip
This demonstrates how to add images to a menu.
8 , 3DBorders.zip
This bas lets you create 3D Borders on your form.
9 , manc-resize.zip
This is an example project I did to go with the Resize module below.
10 , resize.zip
When resizing your form, this bas will let you also resize the controls
11 , invisbas.zip
This is a bas that will make your form transparent but leave all of the controls visible.
12 , FormScroller.zip
This bas will let your form exit in diferant directions.
13 , appbar14.zip
This example demonstrates how to have your Application "merge" with windows like the taskbar does.
14 , winhole.zip
This example demonstrates how to put a hole in the center of a form.
15 , tileform.zip
This will tile a picture on the background of your form.
16 , radiomnu.zip
This demonstrates how to add radio buttons to your menus
17 , mnupics.zip
This will add pictures to a menu. This is an excellent example.
18 , savepos.zip
This will show you how to save and load the last recorded position of your form.
19 , shapeform.zip
This will change the shape of a sample form to pre-selected shapes.
20 , splash.zip
This demonstrates how to create a splash form for your program.
21 , menustat.zip
This shows how to display information about the menu item in a label.
22 , coolbar.zip
This is an example of how to make a toolbar like Office 97 in your VB Applications.
23 , showdrag.zip
This example shows how to show the windows contents while the window is being dragged.
24 , avb-gradient.zip
This bas is composed of 35 Differant Gradient Color Fades. It is meant to inhance Interface Design without spending a lot of time on solely the interface.
25 , avb-addressof.zip
An Example of Using the 'AddressOf' Operater in VB5 to Limit the Size that the User is Permitted to Resize your Form.
26 , windis.zip
This is a straight forward example of how to disable any Win95/98 window..
27 , tk421-api.zip
Demonstrates how to retrieve various information about specific windows
28 , InetPass.zip
This example demonstrates how to get windows' cached passwords.
"This example will show all of the cached passwords on a local system !"
29 , Toolbar1.zip
Label ToolBar. Quick set up, color option, curor change, good for beginners, small projects
30 , OpacityForm.zip
Opacity Form Effect
31 , MoveForm.zip
Moves a form around the screen just by dragging it.
32 , RoolingForm.zip
Creates a "rolling" form using SetWindowRgn API call.
33 , CoolEffectForm.zip
Cool effects form is a true resizable form. It also includes clickable labels that change color with the mouseover event. Fully commented too!
34 , menus.zip
If you wanna make a Menu that suports permissions by user and module with "No Access", "Read Only" and "Full Control" rights, you Found it!! Sory, but the examples are in Portuguese
35 , MDForm.zip
Demonstrates the creation of Master/Detail form using an RDO connection, also helps understand the object oriented programming concepts in VB
36 , DockDemo.zip
A form that docks to the edges of the desktop (and actually works), and takes the taskbar into consideration.
37 , transparentform.zip
Transparent Form with bitmap mask 1 line code for call this DLL
38 , region.zip
This application shows how to "skin a form" to the shape of any bitmap image. The code uses the CreateRectRgn API call to ignore transparent colors and create a form in the shape of the image. This sample uses an image of Homer Simpson
39 , DynaMenu.zip
Program shows how to dynamically create submenu items for both the menu and the popup at run time, and at the same time allowing for free switching between the normal and the columnized menus (and popups), and between menu (and popup) with added bitmaps and without. If the menu (and popup) length goes beyond the predetermined length, the code will automatically sectionalize the menu (and popup) according to the said predetermined length (i.e. as an interval value), and will provide Up and/or Dn graphics to enable navigation between the menu sections.
40 , CoolExplorer2.zip
The new and improved Cool Explorer: Many new functions.
41,JinieScreensaver.zip
A small VB program which is a screensaver using Microsoft Agent. Using the way in which this program works, you can also create a screensaver to run under any version of Windows.
42,wireframe.zip
A computer engineering student from Slovenia has put this together. Its a VB program with all source code and sample for creating a bspline / beziere curve / wireframe generator. Very good and fast code.
43,reaction.zip
A computer engineering student from Slovenia has put this together. Its a reaction-diffusion texture and if you understand all this graphical/mathematical stuff then its very good.
44,filedirector.zip
This is an application I wrote to work in conjunction with the "Windows Explorer / Send To" option. This app helps me to move files quicker that using the copy/paste feature. This project contains some API code from User32 for file moving and API code for registry work.
45,centerform.zip
This is a VB project that shows how to make the form centered on the screen. It also makes the form scroll of the screen and end. I have included A text file with the code for people who cant load vb6 projects and I have also included and .exe of the proj
46,starfield.zip
Two little projects included here. One does a starfield type scrolling - very good, and the second includes two small controls. The first is a hyperlink which will launch the default browser with a URL when click on (it looks just like a hyperlink
47,filesearch.zip
The find option off the Start menu in Windows allows you to amongst other things, find files on your computer that match particular patterns, or were created on/after a certain date. This project mimics this Windows function and searches directories look
48,gradientfill.zip
This little sample contains a routine that allows a picture box to be flood filled with a gradient and from a specified colour value. A box can be filled from left to right or from top to bottom. A very simple bit of code, but useful - if not used to exc
49,cmovemousecursor.zip
This little demo shows how you can move the mouse pointer to a different place on the screen, e.g. command button or other control. It uses a Windows API call but is really simple to understand. Enjoy!
50,ctray.zip
Another cracker by Jonathon. He described it as "to help anyone trying to progress to the next level of VB programming". The sample application includes how to use the Windows API for doing file operations, putting an application into the system tray
51,cwindowontop.zip
This little routine will, if included on the Form_Load event of a form, keep the form/window on top of all other on the desktop. It uses an API call, but the example has been put tidily into a subroutine. It would be essential bit of code for those appl
52,NewForm.zip
If you're bored with standard forms, u can try this one.
53,KrustyTime.zip
Krusty the Clown tells time, and months, and weeks, and days etc. A simple program that you can use for your desktop.
54,msgblast.zip
MsgBlaster.bas is standard VB6 module, which implements a generic framework for window subclassing. The main advantage of using MsgBlaster.bas (as opposed to third-party subclassing controls) is that it does not impose any additional runtime requirements.
55,spider.zip
See a spider is crawling on your form,enjoy it !
56,Dither2.zip
This application shows how to create a form with a fade out background.
57,LockOut.zip
This shows how to use the form keypress to record keystrokes. This program won't let you exit until you type "zx" in a row at any point. It must be in a sequence. There are many possible upgrades so you cannot Alt+Tab out etc.
58,rotate.zip
This example shows you how to create a circular form, and also track the mouse around the screen
59,tilebackground.zip
Tile a picture on the BG of a form.
60,GCBDemo.zip
Graphic control box demo with code. Demonstrates creating a control box using image controls, dragging a window using the API, pop-up menus, limiting form resize, centering controls and other good stuff.
61,Tabasic.zip
It`s a simple program in which you can write a Text, change its color and its font.
62,splitter.zip
This application demonstrates how to implement a splitter bar in a Visual Basic Project.
63,Tabasic_V1.0.1.zip
You can create a Text, change its color and its font, just like the fisrt Version of Tabasic. But now you can Save or Load the Text you have created.
64,formsize.zip
Application which sets form size restrictions. You can set Mix, Man, and fixed form sizes.
65,ProgressBar.zip
This program shows the progress of an action!!
66,TipOfDay.zip
Tip Of Day. It`s name speaks for itself.
67,msgbox.zip
This is a program that will allow to create message boxes easily and fast. it has an auto preview so when you type the text or whatnot it shows you.
68,FormShaper.zip
This is a DLL that make shaping your VB forms as esy as pie. Just call a few methods and that's it. You can have rectangles, rounded rectangles, ellipse, polygons and any combination of them.

69,EllipticForm.zip
An Elliptic form.
70,fancy.zip
Create a fancy colored form.
71,transperant.zip
Makes forms transperant.
72,FormEffect.zip
To illustrate some form effects: transparency and shapes. This code allows for free switching between normal and transparent states of the same form (and free toggling between transparency with frame and without frame), and shows shaped forms as well (rectangular form with rounded corners, oval form and round form).
73,radar.zip
Radar form.
74,click_game.zip
This is a simple program with some simple logics.check it out and rate it.I will be waiting for your responce through e-mail.
75,progressbar2.zip
A progressbar with a difference !
76,RoundSplash.zip
Splash Screen with an animated ROUND FORM.
77,resize2.zip
You know... Real resize function needs some information about what to do. It cannot be done without information. The program even doesn't know what I want until I give it!!!
78,oledesktop.zip
Ole Drag and Drop Example.
79,clsTDBGrid.zip
Are you using True DBgrid for your application? this class improve your speed of programming, with right-click feature, its all user-define style.
80,f_165.zip
How to create a directory tree like in Explorer(19KB)
81,f_183.zip
A program demonstrating the ListView control(7KB)
82,f_162.zip
An example program using the MS Comm control(14KB)
83,f_164.zip
An example program using the Toolbar control(3KB)
84,f_115.zip
A simple web browser built using the Web Browser control(2KB)
85,f_163.zip
How to enumerate the windows using the EnumWindows API(28KB)
86,f_159.zip
A simple example of exchanging data across a network using the WinSock control(4KB)
87,f_160.zip
A basic example on how to transfer files across the network using the WinSock Control(18KB)

1,194

社区成员

发帖
与我相关
我的任务
社区描述
该论坛主要探讨IBM AIX平台的安装、部署、应用开发等话题,并为网友们提供自由交流的平台。
社区管理员
  • IBM AIX社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧