General :: CHMOD And Highlighted Directories In Terminal

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


ADVERTISEMENT

General :: Chmod Change Only Directories Recursively

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

General :: Using Chmod(), Function To Set Permissions For My Files/directories?

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

Ubuntu :: Highlighted Folders In Terminal?

May 30, 2010

When browsing around with the terminal, I have noticed that some folder are highlighted against a dark background, and some are not. What does it mean if it is highlighted?

View 5 Replies View Related

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 View Related

Fedora X86/64bit :: 32-bit Compatibility 32-bit Environment - Highlighted In The Terminal Output

Sep 19, 2009

I am having issues getting a 32-bit environment to run something on my computer. Most people think this is a lame game, but I rather enjoy it and would like to continue playing it on this computer. I am running F11 x86_64 on an AMD Athlon 64 x2 6000+ Black Edition (OC'd at 3.4 in case anyone is wondering). I TRIED running yum to get the shared library referenced in the following message, but it gave conflicts on installation. Is there a way around this, such as installing a separate environment directory for just this game? Or is it just a lost cause?

[Code]....

The new problem is highlighted in the terminal output. I've searched the web for this issue, and it seems to be caused by an older lib included with glibc.i586, though I don't know how to verify or correct this. I tried a lot of things before finding this list.

View 10 Replies View Related

Software :: Unable To Use Chmod To Change The Directories Permissions?

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

Fedora :: Chmod Has No Option To Skip Lowering Execute Bit On Directories?

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

General :: Accidentally Did A 'chmod +x Foo' When Meant To Do A 'chmod A+r Foo'?

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

General :: First Column Of Vim Highlighted Yellow And Won't Go Away?

Feb 23, 2011

I have not defined a user vimrc, OS is redhat 4.6 and after a search and replace the first column in the editor is highlighted yellow and it stays that way as I close and open vim. This is the /etc/vimrc that came on the system. anyone see a bug or a reason it would do that?

if v:lang =~ "utf8$" || v:lang =~ "UTF-8$"
set fileencodings=utf-8,latin1
endif
set nocompatible " Use Vim defaults (much better!)

[Code]....

View 2 Replies View Related

General :: Run A Headless Gvim To Get Syntax Highlighted Code Converted To HTML?

Jul 25, 2011

I want to generate HTML files in batch to show some gvim colorschemes in action. I took my current solution from the script at but this will open open a gvim window for each colorscheme I want to process. So far, the only way I have found to avoid the annoying new windows that pop up every second is to start a VNCserver and set the DISPLAY environment variable to that of the VNCserver so that all gvim windows are sent to the display within the VNC session.However, I would like to know if there is a way I can avoid the whole VNC setup and just run a headless gvim instance that does the conversion and exits, with no windows ever being actually displayed.

View 1 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

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

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

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

Fedora :: Accessing Directories From Terminal?

Aug 29, 2010

o, incredibly simple problem that I am having a terrible time finding an answer to. I am trying to setup a program in Fedora to be redirected to a folder in my 64-bit Window$ partition, however I am not sure how to tell Terminal that it has a "(" and ")" in the path name.

The exact path in standard value is as follows: "/media/12842F85842F6A85/Program Files (x86)/Steam/steamapps" What SHOULD this look like in Terminal?

View 4 Replies View Related

Ubuntu :: Can't See Ext HDD Directories In Nautilus But Can In Terminal

Jan 9, 2010

I'm using an external USB Iomega Rev 70GB HDD. (Have been for a few years). It uses UDF format for higher transfer speeds of large files. (This is not an option, & not changeable), therefore natively recognised since 2.6.20, I think. (But no official Linux support).

Occasionally though, I run into problems such as can't format a disk in Linux, need to boot to Wins to do it. Also like today: So I have a bunch of comic pdfs & cbrs on it, mix of .rar files & folders. They were there yesterday. Today I went to read something and I couldn't see them. Thought maybe I'd deleted it by accident, but no. Looked at the drive in terminal and I can see the "missing" files and folders fine, but can't see them in Nautilus to open in Comix.

-Tried setting all permissions on the whole drive to R/W/E through Nautilus.

-Files & Folders aren't hidden.

-Tried rebooting.

-Tried using Administrator Nautilus.

-Thought it might be a re-emergence of the recent Nautilus Preview bug, so swiched File Preview off.

View 7 Replies View Related

Ubuntu :: Terminal Won't Letting To Chance Directories

Jun 8, 2010

Terminal won't let me chance directories

View 1 Replies View Related

General :: How To Store Files / Directories In Different Different Directories?

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

General :: Parameters To Be Used With Chmod?

Jan 12, 2011

How to use CHMOD in linux? When I try to delete a file/folder, permission is denied. What exact params must I give for chmod here? This is what I need to do. Execute a command ./build.mips , but I get permission denied error.

kirti@sgf:/disk/go$./build.mips
-bash: ./build.mips: Permission denied

View 3 Replies View Related

General :: Get Permission By Chmod?

Apr 5, 2011

how to get permission by chmod

View 8 Replies View Related

General :: File Permissions Not Set Through Chmod?

Jan 4, 2011

I had created a file under a directory & set the permissions through chmod command but when I create another file under this directory, I get the default permissions. Is this due to umask or can I set the file permissions through chmod under a directory.

View 5 Replies View Related

Software :: Character (i) Gets Highlighted With Brown Box

Jan 16, 2009

I use vi as the default text editor and one day I pressed a wrong combination of keys on my box while programming in c on vi and the character 'i' got highlighted with a brown box over it. At each and every position in file, not only this even in new files it appears to b highlighted. What should I do to avoid it.

View 1 Replies View Related

General :: Use Chmod To Change The File Permission?

Apr 24, 2011

If I am not the file' owner or root, can I use chmod to change the file permission?

Assume I have group/write access to the file, e.g. 775

View 2 Replies View Related

General :: CentOS Chmod Overiding Set-group-ID?

Jun 13, 2011

I'm used to setting up SGID on a directory

chmod -R g+s example and then
chmdo -R 750 example

And have the directory and all sub-directories preserve the set-group-ID. On CentOS SGID gets overridden by the second command.The OS is CentOS release 5.6 (Final)In theory, and like it says on this page, "if commands like chmod routinely cleared these bits on directories, the mechanisms would be less convenient..." and it's exactly whats happening. chmod -R 750 is effectivelly removing the SGID.How can I make g+s permanent?

View 1 Replies View Related

General :: How To Execute Permission To Chmod Command

Apr 14, 2011

How can I give execute permission to chmod command from run level 3.Because in GUI mode we have the execute option in the properties of file. E.g. I gave following command
chmod -x chomod
After that I want to give the execute permission (x) to chmod command again but how from command prompt?

View 5 Replies View Related

General :: Chmod Make Any File Executable?

Feb 23, 2011

can chmod make any file executable?

View 4 Replies View Related

General :: Renaming File Permission Chmod?

Apr 11, 2011

that works to disallow non-owners from renaming the file, but what I wouldlike to do is disallow EVERYONE ( including the owner of the file ) fromediting, moving, or changing the filename once it is created. the only personwho should be able to make those changes is a special user.

View 13 Replies View Related

Software :: Browser Links Not Highlighted When Clicked

Oct 25, 2010

I am using Ubuntu 9.04. In Google Chrome (7.0.517.41 beta), Firefox (3.6.11) and Opera (10.63), links are not highlighting properly after clicking them. Either there is no difference, or they are so similar in colour as to be almost indistinguishable (dark blue and slightly darker blue).

View 5 Replies View Related

Ubuntu :: Viewing Hidden Directories With Nautilus And Using "cd" In Terminal Missing Trash Directory

Jul 7, 2011

The directories
/home/<user_name>/.Trash
and
/root/.Trash
do not exist.

I've tried viewing hidden directories with nautilus and using "cd" in terminal. "locate" is equally useless.

View 4 Replies View Related

General :: Chmod To Allow Read And Write Permissions For Directory?

Mar 31, 2010

I have created directories in root. I am looking for the chmod command to allow all users read and write permissions to a specific directory. I have done chmod 775 for a file but I need this for a directory. This includes permissions on all files and sub directories.

View 3 Replies View Related

General :: Change The Default Chmod Settings For Account?

Feb 28, 2011

I work in a shared computing environment and the default setting is r-x for group and others; it's upto the users to change this. I can chmod and change the permissions for all the files. However any new files created all have the default permissions. Is there anyway to change that so that I don't have to chmod everytime or run chmod as a cronjob?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved