permission-denied

HBase does not run after ./start-hbase.sh - Permission Denied?

浪尽此生 提交于 2019-12-04 10:00:57
I want to run HBase. I have installed hadoop completely and when I run start-all.sh , it works fine and gives me this output: hduser@CSLAP106:/usr/local/hadoop/bin$ jps 11956 SecondaryNameNode 12046 JobTracker 12193 TaskTracker 11800 DataNode 11656 NameNode 12254 Jps But when I want to run start-hbase.sh , it gives me some errors of permission denied which I do not understand why: hduser@CSLAP106:/usr/local/hbase/hbase-0.94.6.1/bin$ ./start-hbase.sh localhost: starting zookeeper, logging to /usr/local/hbase/hbase-0.94.6.1/bin/../logs/hbase-hduser-zookeeper-CSLAP106.out localhost: /usr/local

Change permissions of folders

萝らか妹 提交于 2019-12-04 09:48:48
I want to change some folder permissions (set to Read-Only) to ReadWriteExecute! I wrote this code, but the folder permission is still Read-Only: private void ChangePermissions(string folder) { string userName = Environment.UserName; FileSystemAccessRule accessRule = new FileSystemAccessRule(userName, FileSystemRights.FullControl, InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, PropagationFlags.None, AccessControlType.Allow); DirectoryInfo directoryInfo = new DirectoryInfo(folder); DirectorySecurity directorySec = directoryInfo.GetAccessControl(); directorySec.AddAccessRule

gke cant disable Transparent Huge Pages… permission denied

拈花ヽ惹草 提交于 2019-12-04 03:38:32
问题 I am trying to run a redis image in gke. It works except I get the dreaded "Transparent Huge Pages" warning: WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. Redis is currently

How to give folder permissions inside a docker container Folder

淺唱寂寞╮ 提交于 2019-12-04 02:26:21
I am creating a folder inside my Dockerfile and I want to give it a write permission. But I am getting permission denied error when I try to do it FROM python:2.7 RUN pip install Flask==0.11.1 RUN useradd -ms /bin/bash admin USER admin COPY app /app WORKDIR /app RUN chmod 777 /app CMD ["python", "app.py"] My error is PS C:\Users\Shivanand\Documents\Notes\Praneeth's work\Flask> docker build -t shivanand3939/test . Sending build context to Docker daemon 209.9kB Step 1/8 : FROM python:2.7 ---> 8a90a66b719a Step 2/8 : RUN pip install Flask==0.11.1 ---> Using cache ---> 6dc114bd7cf1 Step 3/8 : RUN

Git over samba - unable to write sha1 filename | Permission denied

╄→гoц情女王★ 提交于 2019-12-03 18:42:27
问题 When I am using git over samba share on windows I get an error when i want to commit a file via git_extentions or tortoiseGIT. The error is: error: unable to write sha1 filename .git/objects/b4/e819f886bf31b67c42249a0eff8e8b16cf7622: Permission denied . When I add the file via the ubuntu server and commit the file it works fine. I am also working in a banrch. I have already tryed chmod 777 the whole .git folder . 回答1: I've seen this, too. It's a git defect, likely to do with how it creates

a lots of (Permission denied) in catalina.out

流过昼夜 提交于 2019-12-03 17:04:47
问题 How can i install Apache web server and Apache tomcat to avoid get errors like this: java.io.FileNotFoundException: /usr/local/apache-tomcat-7.0.5/work/Catalina/localhost/_/SESSIONS.ser (Permission denied) in /usr/local/apache-tomcat-7.0.5/logs/catalina.out I think I should do something for Apache user, because when I chmod 777 -R ./ on tomcat folder all errors disappear. 回答1: Can't vouch for the security of doing so, but $ cd /usr/local/tomcat/ #or /usr/shared/tomcat6, whatever your $TOMCAT

SocketException: Permission Denied?

旧时模样 提交于 2019-12-03 15:31:26
问题 My LogCat reads: 08-19 09:29:01.964: WARN/System.err(311): java.net.SocketException: Permission denied 08-19 09:29:02.204: WARN/System.err(311): at org.apache.harmony.luni.platform.OSNetworkSystem.createStreamSocketImpl(Native Method) 08-19 09:29:02.214: WARN/System.err(311): at org.apache.harmony.luni.platform.OSNetworkSystem.createStreamSocket(OSNetworkSystem.java:186) 08-19 09:29:02.214: WARN/System.err(311): at org.apache.harmony.luni.net.PlainSocketImpl.create(PlainSocketImpl.java:265)

django file upload: [Errno 13] Permission denied: '/static'

こ雲淡風輕ζ 提交于 2019-12-03 14:31:42
I am trying to upload several files in django. On my local maching where I use the djangos build in server everything works fine but on my productivity server I get this error: [Errno 13] Permission denied: '/static' There are many questions about this issue but nothing I found worked for me. In my case it has nothing to do with file permissions. I found out that the problem is that django want save the files in the root folder of my filesystem and not in the root folder of my website. If I create the folder in '/static' the files will be created there but images for example are not shown on

Android - Workaround the ACCESS_CONTENT_PROVIDERS_EXTERNALLY permission?

为君一笑 提交于 2019-12-03 13:24:17
I'm building an application which gives this exception because i call some internal methods Permission Denial: Do not have permission in call getContentProviderExternal() from pid=2520, uid=10047 requires android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY java.lang.SecurityException: Permission Denial: Do not have permission in call getContentProviderExternal() from pid=2520, uid=10047 requires android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY I did some search and i knew that android OS gives this permission only for the shell users, I wonder if there exists any workaround this .. Is

a lots of (Permission denied) in catalina.out

落花浮王杯 提交于 2019-12-03 06:07:36
How can i install Apache web server and Apache tomcat to avoid get errors like this: java.io.FileNotFoundException: /usr/local/apache-tomcat-7.0.5/work/Catalina/localhost/_/SESSIONS.ser (Permission denied) in /usr/local/apache-tomcat-7.0.5/logs/catalina.out I think I should do something for Apache user, because when I chmod 777 -R ./ on tomcat folder all errors disappear. Can't vouch for the security of doing so, but $ cd /usr/local/tomcat/ #or /usr/shared/tomcat6, whatever your $TOMCAT_BASE dir $ chown -R tomcat6 webapps temp logs work conf $ chmod -R 777 webapps temp logs work conf works a