General :: Create A Folder Or Directory If Permissions Are Denied?
May 24, 2010i just installed RHEL 5, when iam trying to create a directory or file it is not creating ...
View 7 Repliesi just installed RHEL 5, when iam trying to create a directory or file it is not creating ...
View 7 RepliesI set security context for a folder as 702 to enable other users to create and delete folder contents.But whenever other users try to create a folder,its says "Permission denied".
View 11 Replies View RelatedI'm trying to create a folder using the archive manager to install Resin (web server) in the usr/local folder but I get the error message 'error creating directory: Permission denied.'
Is this the easiest way to install an app--by using the Archive Manager--and if so how do I establish the correct permissions.
I have a problem with sshfs. I want to share a binary with some others computers, but i only want them to be able to execute (no read/write ). So, on my main server, I chown root:root bin & chmod 701 bin. That work nicely on main server, local users can execute bin w/o read/write ... But when I mount directory using sshfs, users cant exec/read/write ...
SSHFS version 2.2
FUSE library version: 2.8.4
fusermount version: 2.8.4
using FUSE kernel interface version 7.12
How do I change folder permissions without changing the permissions of the files within the folder?
View 6 Replies View RelatedI am working on SUSE 9 Server in which I am trying to make folder transferdata under /opt folder but it is throwing an error mkdir: cannot create directory `transferdata': Permission denied
View 2 Replies View RelatedI have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.
When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there
I'm having a bit of trouble understanding umask and mkdir in C++. In my program, I want to create a directory with the permissions 755.
If I do:-
Code:
The permissions come out all messed up.
But if I do:-
Code:
The permissions are set as expected.
I am having trouble understanding why umask(0); is needed, and what is the 'proper' way to use it so I can make my directory. From what I can understand from the man pages and everything, I need to set the umask in my program to allow it permission to make a directory with those permissions? And I don't get why umask(0); fixes it anyway!
I have Administrator rights. I want to create new folder into /opt directory. So i clicked(Right click). but new folder menu has disabled. I cannot create new folder. Then Alternatively I used terminal. then I type mkdir /opt/lampp/htdocs/dummy now folder name has created. but I cannot paste anything into my dummy folder. So I checked permission which has you are not owner. How to create new folder & copy contents to new folder.
View 1 Replies View RelatedI currently have an ASUS eebox which is running XBMC Live which includes a stripped down version of Ubuntu. The computer will be used by various people within a teaching environment and I have successfully installed launchers for Openoffice which can be opened within XBMC.
I am trying to the make the experience for the end user as simple as possible as the vast majority will have never used Linux before. I want to get to a point where they can open Openoffice, plug in their USB stick and navigate quickly to their files. At the moment when the program is launched and I try and navigate for a file it automatically starts in the Home Folder of xbmc. So I have navigate up a couple of times, then find the /media directory where the USB stick has been mounted and so on. What I was hoping to do is create a shortcut within the Home Directory which takes you straight to the Media folder where usb is mounted.
I have already attempted and created a folder within the Home directory and called it usbpen.
I have then added the following line into fstab /media /home/xbmc/usbpen none bind 0 0
Now when I reboot the machine and navigate to the home/xbmc/usbpen folder I can see the Drive name of the USB device mounted in /media but I cannot navigate through any of the files, I am greeted with a read error message. So the shortcut is only allowing me to see the device name only.
be aware that due to running XBMC Live I do not have a Windows manager installed and therefore everything must be done through the terminal.
I recently switched from Ubuntu Maverick 32-bit to 64-bit so I could compile Android's latest revision, Gingerbread.
Everything went pretty smoothly and I managed to fix most issues that was caused due to the switch.
But each time I open terminal, the following error shows up:
Code:
mkdir: cannot create directory `/mnt/cgroups/cpu': Permission denied
bash: /mnt/cgroups/cpu/19088/notify_on_release: No such file or directory
bash: /mnt/cgroups/cpu/19088/tasks: No such file or directory
I've tried manually creating that directory as root but the error remains.
the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?
View 9 Replies View RelatedIs there a way to recreate all the folders from one directory to another without copying over the contents of the folder? I've been trying to do something like this,
Code:for i in `ls $X`; do mkdir $PATH/$i; doneUnfortunately $i is deliminated by whitespaces in the filenames and not the actual folders.
$X contains only other folders so I dont have to worry about regular files but any kind of more "advanced" solution would work.
Hi I am a complete newbie I have installed ubuntu 10.04 I have sorted problem with Mobile broadband, but having problems opening root folder I get a permission denied not the owner I have admin privalage as far as I am aware I was following something I read using terminal but kept getting a message saying something about the root I opened the file manager found root folder but still denied access. how I get access same is also true for lost&found folder but have to admit i dont know what that folder is.
View 7 Replies View RelatedI ssh to a remote server using the username "madel" and it gives me a strange error:
Last login: Wed Sep 8 18:17:51 2010 from greece.doe.carleton.ca
Could not chdir to home directory /home/madel: Permission denied
grep: /home/madel/.bashrc: Permission denied
[code]....
I am a student studying computer science course.
Well, I am facing problem when doing lab questions.
I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).
I am required to use the /usr/local directory.
In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".
Look at my screenshot at [url].
I have created user, group, gave permission chmod and chown with -R option. But when i try to enter into the directory for that created the user and group, I can not enter into.
View 4 Replies View RelatedI need to create a directory named just like his parent.
Example:
I tried this but because there is "Space Characters" in the name of Parent directory, my script fails.
I changed my permissions in my .ssh folder and now when I use a piece of software that uses my private key, I have to type my password each time. What should my permissions be on my id_rsa file to not have to type a password each time I use an app that uses it?
Currently my permissions are set to:
-rw-------@ 1 Jody staff 114 Nov 4 23:29 config
-rw------- 1 Jody staff 1743 Oct 21 2009 id_rsa
-rw-------@ 1 Jody staff 397 Oct 21 2009 id_rsa.pub
-rw-------@ 1 Jody staff 3855 Sep 13 22:35 known_hosts
I am having a USB disk.I want to change the permissions of folder on it from 700 to 755 (and all subdirectories in it)ls -l showstotal 26Quote:
drwxrwxrwx 2 tkmsr tkmsr 2048 2010-02-12 04:12 HPLAUNCHER
drwx------ 7 tkmsr tkmsr 4096 1970-01-01 05:30 vol1
drwx------ 1 tkmsr tkmsr 20480 2011-01-03 17:43 vol2
[code]...
I am installing oracle 11g on Oracle enterprise Linux 5 i applied all the steps in doc [URL] when trying to switch user to user oracle i am facing the below
[root@oel5 ~]# su - oracle
su: warning: cannot change directory to /home/oracle: Permission denied
-bash: /home/oracle/.bash_profile: Permission denied
Recently updated the kernel in Ubuntu 9.10 and for some reason now, a folder which was not read-only now is. I can't delete anything from it. Have tried using the GUI for changing permissions, however, it has a mind of it's own and won't unlock the folder.
Anyone had this happen where a folder locked when you didn't want it to be?
i have 5 groups, i want to set 3 of them to have full permissions to a folder and set 2 others with read only to same folder, please help me to solve this problem. in other words i want to set this 5 groups diffrent permissions to a folder.
View 14 Replies View RelatedI'm running Ubuntu 11.04 (guest) on Windows 7 (host) with the guest additions installed. I have an auto-mount folder that maps to my D: drive on the host which I can access using sudo ls /media/sf_D_DRIVE - however, even when my user (ross) is a member of the vboxsf group I get a permission denied error when attempting to explore it. I have restarted since adding my user to the vboxsf group.
This should work because I am a member of the group (which has rwx rights), so why doesn't it?
ross@panther:~$ ls -l /media
total 8
drwxrwx--- 1 root vboxsf 8192 2011-07-03 22:24 sf_D_DRIVE
ross@panther:~$ ls -l /media/sf_D_DRIVE/
ls: cannot open directory /media/sf_D_DRIVE/: Permission denied
[Code].....
This is on a customized Ubuntu 10.10 LiveCD. I have a directory which the default user "ubuntu" owns, and the permissions on the directory is 777. I'm unable to cd into the directory as ubuntu user. However as root user I'm able to access it. What could be the reason? I'm able to view the directory in nautilus.Note: I originally copied the folder over from an NTFS disk.
View 1 Replies View RelatedI am confused that what should be the permssions of home directory because currenlty my users when they log into their home directory , they can see all the contents of /home directory as well..However if i take read all permissions then my sites are not accessible , what should i do The current permissions are 755
View 4 Replies View RelatedI'm trying to create a script that when given a diretory, it goes traverses through all the subdirectories and process the files in them.However, there is one restriction.directories thatit traverses through must all have a read permission for the others group.How would I go about doing this?
View 1 Replies View RelatedI keep creating practice perl scripts in a linux directory using vi <filename> and need to chmod 751 <filename> before I can run it as I wish to. I'm sure there is a simple way to default my permissions or config them at creation, but I'm not familiar with it ayuda me por favor.
View 2 Replies View RelatedI'm trying to learn about permissions on linux webserver with apache.Some clues to the system: The server I have to play around with is Fedora based. Apache runs as apache:apache. To allow for e.g. php to write to a file the file needs to be chmod 777. 755 is not sufficiant.What I'm wondering is basically how set up permissions like they should be on e.g. a "shared web host".My main problem is that if I set a permission so that one user cannot access anothers home folder, then apache can't read from the public_html folder either.
To keep the users out I need to set chmod 700. But to let apache to read I need to have at least execute on world,so a 701 basically works, but won't let some users in.So I'm really stuck on what to do. Have been concidering adding the apache user to the frous grours
below to avoid having to add the world execute flag, but is that a bad thing? Should it be the other way around, the users in the groups below should also be in the apache group?I was aiming at having 4 groups:
1. webapp: same as dev_int, but is the only one that can go inside the webapp/live folder to e.g. do an update from the repo.
2. dev_int: can read,write and execute everything in the "web root", including the two below, but nothing outside of the web root
3. dev_ext: can read write and execute in all client folders, but cannot access anything outside of the webapp root
4. clientsBasic ftp accounts. Has a home folder with a public_html, but cannot access any other home folders
I accidently reset the SELINUX context on the /var folder from "var_t" to user data. Now I cant go back and set it to "var_t" and i cant access my website anymore
View 3 Replies View Related