Ubuntu :: Chmod Ugo+rwx / Not Able To Access The Directories?
Dec 19, 2009
I have an external fat32 hard drive. It already has some files on it. Now, I mounted it and it shows the owner to be root. fine. but when I change the permissions, it does not seem to change it. I am not able able to access the directories, even as root !.I was able to create directories, but "luckybackup" wan not able to write to it due to permissions. I take it the lucky backup is executing as root/ but even otherwise, if I do chmod ugo+rwx, why do the permissions dont change ? (no erorr message by chmod).
here is the stuff: (ext drive mounted at /seagate)
rootubuntu--seagate# chmod ugo+rwx *
rootubuntu--seagate# ls -l
total 128
drwxr-xr-x 10 root root 32768 2008-08-11 21:03 HPComputerKeyFolders
drwxr-xr-x 9 root root 32768 2008-08-11 21:02 Other
drwxr-xr-x 2 root root 32768 2007-04-06 18:27 Recycled
code....
View 3 Replies
ADVERTISEMENT
Mar 16, 2010
So I gave the following permission using sudo su to some directories:
sudo a+x -R ~/<SOME FOLDER>/*
sudo a+w -R ~/<SOME FOLDER>/*
After doing this, I can access write and read all directories but my terminal shows these folders highlighted and I really dont like this. Is there any way they can look like before (with no highlights)?
View 7 Replies
View Related
Mar 28, 2010
Is it possible to change only directories access permissions recursively with some linux command. I need to set x (access) permissions on directories but not execute on files. [URL]
chmod - change file access permissions
-R, --recursive
change files and directories recursively
View 2 Replies
View Related
Feb 16, 2010
I am using chmod(), function to set permissions for my files/directories.How can I set -R flag for it???
View 4 Replies
View Related
Feb 6, 2010
i have installed linux4 on vmware and now i am to copy any file but not able to paste it in any directories and when check the permissions there is no write permission for any of the directories .Not able to use chmod to change the directories permissions.
View 4 Replies
View Related
Aug 20, 2010
Chmod has no option to skip lowering execute bit on directories? Now that's something I would consider a serious bug.
View 14 Replies
View Related
Oct 22, 2010
here is the most importent part of the file setup.shhere link to pastebin:http://pastebin.com/mwQ1UArHand here the part:
cd
chmod 777 ../bin/panel
cd ../bin/panel
[code]....
View 2 Replies
View Related
Mar 14, 2010
I've hit a wall here; I'm attempting to find some way by which to view files and cd into directories on a device mounted read-only. So I need the permissions to read, write, execute (and the same with directories), but chmodding is out of the question because I don't want to alter the drive one iota.
I guess what I could do--what I was thinking of initially--was to dupe the whole drive and then mess with permissions. This wouldn't affect the original (actually I'm working on a duplicate of the original, but I'm treating it as if it were the original) but I was hoping for something that would maintain data integrity. This is a forensic application and not altering the data is very important.
View 2 Replies
View Related
Jul 17, 2010
I accidentally did a 'chmod +x foo' when i meant to do a 'chmod a+r foo'.
-rw-r--r-- 1 casper trad 53 Jul 17 22:41 filegore
-rw-r--r-- 1 casper trad 13 Jul 17 22:41 filelemme
-rw-r--r-- 1 casper trad 24 Jul 17 22:41 nix
[code]....
View 1 Replies
View Related
Sep 18, 2010
I'm using Edubuntu 10.04 in my classroom. I use an administrator account. There are about 8 student accounts on the computer, created as desktop users. I would like to login with my account and be able to view, create, and delete files in the students' home directories. However, I can't figure out how I would give myself this permission.
I've tried sudo chmod, but that won't work, because I'm not the owner of those files.
I've tried sudo chown, but that won't work, because the students need to be owners of their own directories.
So, what is the tactic to use here?
View 3 Replies
View Related
Oct 28, 2010
I want to give a mounted folder /mnt/folder access so that 'root and the group test have read write access' and all other users have read access I understand most of the chmod command, the users groups world etc but where in the 'command' do you specify which 'group' or 'user' you are giving the read / write access to? in all the tutorials i've seen no where do you specify the actual group or user.
View 3 Replies
View Related
Jul 14, 2010
I'm having troubles with a download and I need permissions for the conig files and to have write-access to your ~/.loki/ directory and all sub directories. Does anyone know how to do this?
View 4 Replies
View Related
Apr 17, 2010
I want to restrict access to certain directories to my ssh users but allow them to read files by known path from there(mostly it's meant to be done by applications).
View 2 Replies
View Related
Apr 13, 2010
Is there a way to restrict users that are logged into the shell via SSH/Telnet/SFTP from using the 'cd' command to move into certain directories, yet not use the chmod command to do it? For instance, restrict users logged in from accessing the /var/www/ folder but have it still accessible using a web browser. Also, would this defeat the purpose since they could just wget from it if its still web accessible through a browser?
View 8 Replies
View Related
Sep 12, 2010
I am trying to set up samba on my CentOS Linux 5.5 server, and I've gotten to the point where the Windows Sharing Center recognized the server, can even connect to it with credentials, but when I try to access a directory, I get this Message:Code: Windows cannot access \HOMEpublicCheck the spelling of the name. Otherwise, there might be a problem with your network. Try to identify and resolve network problems, click Diagnose. When I click diagnose, it does not fix the issue.This happens with any directory I create. I chmod the directories to 777, so I don't see the problem with permissions.
This is my config file. (smb.conf):
Code: # This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
[code]....
View 2 Replies
View Related
Jul 5, 2011
The tutorial (UNIX Tutorial) does not say anything about the license from a remote computer, I want to be able to save files in these folders of mine, but can not access from a remote computer. Normally the command would win R (Windows key and R) give me a sign up picture, it comes up but I can not access. The message that comes up is that the network path is not available.
View 10 Replies
View Related
Sep 12, 2010
I am trying to set up samba on my CentOS Linux 5.5 server, and I've gotten to the point where the Windows Sharing Center recognized the server, can even connect to it with credentials, but when I try to access a directory, I get this Message:
Code:
Windows cannot access \HOMEpublic
Check the spelling of the name. Otherwise, there might be a problem with your network. Try to identify and resolve network problems, click Diagnose. When I click diagnose, it does not fix the issue.
This happens with any directory I create. I chmod the directories to 777, so I don't see the problem with permissions.
This is my config file. (smb.conf):
Code:
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
[Code]....
View 4 Replies
View Related
Jan 25, 2011
I'm a refugee from WindowsXP, running Fedora 14 with three user accountsMy problem is that I need the primary user (userd 500) to be able to have full access all other users' files in their home directories so that user can copy, move, delete, etc.I tried making that user a member of the other users' groups - but I still get the 'not got permission' error when I try to access their home directories
View 8 Replies
View Related
Apr 23, 2011
I have a site hosted with a cheap hosting company and limited control of the site. I need to allow some other users all over the world to have write access to files or complete directories and I have no idea how to do that. Initially I thought I could use "chown" somehow but it looks like it's a no-go with ftp and others. By default, there is a .htaccess file and a .htpasswd file in the root directory of the site and the hosting company suggested to use .htaccess file with something like below:
[Code]....
and put it in a .htaccess file in the directory of user1 but the server does not like something since I inserted that file. Is it an error in the script or is there more to it than that? Can someone point me to a suitable tutorial or explain what to do?
View 5 Replies
View Related
Apr 3, 2009
I have several directories, each owned by root and a group of the same name,By setting the sgid bit, I made sure that newly created files and directories are owned by the correct group, and that directories have the sgid bit set too.On each newly created directory or file, the permissions are set to 755. This is because this is the default umask, and I cannot change a users umask. I actually only want files created below a particular directory to have group write access, inheriting this behaviour to newly created directories properly.I'm not on samba or NFS, I have to do this for SSH users.The filesystem is ext3.I started to fool around with ACLs, but couldn't find what I was looking for.
View 3 Replies
View Related
Dec 19, 2009
i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.
View 14 Replies
View Related
May 15, 2011
I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.
I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.
I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?
View 2 Replies
View Related
Oct 20, 2010
I would like to configure an access to folder
/fileserver
for two services : Samba and VSFTPD
How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.
My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)
View 1 Replies
View Related
Mar 23, 2011
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files
like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!
View 7 Replies
View Related
Jan 20, 2010
Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.
So far I have created:
chroot_list
user_list
[code]....
View 1 Replies
View Related
Dec 11, 2010
Well I did something really stupid:sudo chmod 700 -R /Why? because it's late and I'm tired and somehow thought it was only on my current dir...Is this somehow fixable? I don't get my usual loginscreen so I guess through an tty?
View 9 Replies
View Related
Mar 7, 2010
I just finished setting up my home ubuntu home server. Installed LAMP and it works beautifully. The problem is everytime I upload a file through FTP into the server, the file changes permission even though I did chmod -R 755 www. Si everytime I upload a file to my server i need to run the command chmod -R 755 /var/www
View 1 Replies
View Related
Apr 11, 2010
or at least, it doesn't seem to. for some reason, my .txt, .doc, .rtf, and other files that shouldn't have the execute bit set often seem to (i think i know why, but that's not important). it's my understanding that this command should, for example, remove the execute bit from all .rtf files recursively (that is, from .rtf files in subdirectories too):
Code: chmod -R 666 *.rtf i've read help and the man page for chmod, and it seems that -R switch should make chmod work recursively, but it only alters files in the present working directory. could someone point out what i'm doing wrong?
View 9 Replies
View Related
Dec 10, 2010
I have installed php, mysql, and apatche. And i need the /var/www/ folder to be able to be read witten, and acsessed by anything. I have tried chmodding 777. But it still doesnt work.
View 5 Replies
View Related
Jan 12, 2011
it seems to me I can't get chmod to function recursively. I have a folder with a couple subdirectories in it and a few in each of those etc. Now, I want to give everyone read-write on all .c files. So, I typed in terminal:
Code: chmod -R 666 *.c However, none of the .c files in any of the subdirectories were touched, i.e. I could have accomplished exactly the same thing by typing
Code: chmod 666 *.c I did RTFM, and it seems that what I did initially should have been the ticket. What am I doing wrong?
View 2 Replies
View Related