General :: Show Permission In Octal Notation?

Feb 8, 2010

'ls -l' gives me the permissions in the long format - drwxr-xr-x format. Is there a way i can get the permissions in a form i can use in a bash script? the only form i can imagine of is the octal one... something like '755' for the above, but i dont know what would give me such an output.... are there other methods to consider while using (rather comparing) them in a script?

View 3 Replies


ADVERTISEMENT

General :: Stat Command To Print Permission In Octal Format?

Oct 11, 2009

Is it possible to print the permission in octal format for a directory recursively?Code:
stat -c "%a" /etcIt prints the permission for /etc directory only.

View 2 Replies View Related

Fedora :: Fedora 13 File Permission Notation - Dot Meaning?

Jul 11, 2010

I may not have noticed in other Fed releases, but in Fed 13 I am seeing a dot at the end of all file permissions. Example:

[pjs@linux ~]$ ls -ld Documents
drwxr-xr-x. 62 pjs pjs 4096 Jul 11 09:53 Documents

Even on files I create myself:

[pjs@linux ~]$ touch foo
[pjs@linux ~]$ ls -l foo
-rw-rw-r--. 1 pjs pjs 0 Jul 11 10:46 foo

It is the same throughout the fs. I have disabled as much of SELinux as I can. What does the dot mean?

View 1 Replies View Related

General :: Linux Command Synopsis Notation?

Feb 1, 2011

I've recently started learning linux OS, and the most confusing for me is the notation in man pages or command synopsis. I was looking for some kind of guide describing it, but couldn't find any. Thing get even worse when there is no standard notation and it looks different from one command to another. In other words, I just want to understand what all these brackets '[ ]', dots like '...' pipelines '|', italic or UPPERCASE words, etc mean at all. I can't tell the difference between [DIRECTORY...] and [FILE]... What does it mean when there are three dots inside the brackets or outside of them? And so on. To conclude, all I need is a comprehensive description for the notation syntax adopted in linux world.

View 9 Replies View Related

General :: Convert Windows Filenames To *nix Notation - Use It On Shell With Md5sum?

Aug 25, 2011

I have some checksums.md5 verification files from an ntfs external drive, but using windows notation: instead of /, spaces between file names (not escaped), reserved shell characters (like (, &, ', to name a few). The checksums.md5 has a bunch of checksums and filenames:

[code]...

I want to use this checksums.md5 to verify the files that I've copied to my machine: but I'm on a Linux, so I need to convert the names inside checksums.md5 from Windows to Linux to use the md5sum utility from the shell. The first line in my example would become: f12f75c1f2d1a658dc32ca6ef9ef3ffc My Windows & Files (2010)/[bak]/testing.wmv Is there some application for this (converting a file listing, from windows cmd notation, to linux shell notation) or will I need to create a bash script using sed that just "replaces" what is "wrong" with the filenames

View 1 Replies View Related

Applications :: Linux Program To Open .mus Notation Files

Aug 2, 2010

Is anyone aware of a program which will open .mus music notation files or convert them to .xml files? I have several files from FINALE which I would like to open in Linux, but Linux distros will not allow FINALE to run. .xml files will open in MuseScore.

View 2 Replies View Related

Software :: Figure Out How To Change The Tomboy Saving Notation (.note) To (.txt)?

Jan 22, 2011

I'm trying to figure out how to change the tomboy saving notation (.note) to (.txt). I'm fairly new to Linux so I may be wrong in thinking this is possible. However, if it is possible, a finger in the right direction would be appreciated.

PS: if it isn't possible, maybe there is a way to change the name of the actual .note files in ~/.local/share/tomboy/ to something more readable. Right now they show up like this:

8e824ab7-ba6f-4018-b74d-1a5a245a60bd.note Which is of course makes it difficult to determine which file I'm actually looking at.

View 7 Replies View Related

Fedora :: Grub Used The Standard Drive Notation Such As /dev/sdax Instead Of The Current UUID?

Jul 14, 2010

I've been away from Fedora for a long time, since FC3/4. I seem to recall that at that time grub in Fedora used the standard drive notation such as /dev/sdax instead of the current UUID. Can anyone tell me why this change was made?

Seems to me that using UUIDs presents severe problems if a drive has to be replaced as the restore media (we all backup, don't we?) would not work without modification. How does one determine trhe UUID of a new drive to change the restore media? Sounds like a chickenand-egg routine. There must be some way which I haven't run accross yet. I do notice through experimentation that the standard notation still works, at least in /etc/fstab.

View 7 Replies View Related

Programming :: Print Biggest Float And Double Exponential Notation In Java

Nov 4, 2010

How can i print the biggest float and biggest double exponential notation in Java ?

View 1 Replies View Related

General :: Evolution Does Not Show Content Of Inbox Or Sent But Does Show Other Folders

Apr 28, 2011

I configured it to use IMAP to access our exchange 2010 server front end on a LAN connection. Our webmail connection is segregated behind Forefront, so it was not connecting/authing that way. Even though smartphones have no problem. (sidenote, is there an activesync linux mail client ?)

I have many root folders and several folders underneath my inbox. total mailsize in inbox is 3.5 GB without subfolders. The sent is likewise as large. And is likewise empty.

Things I checked already:
View is all
Folder subscription is on and local copy is on

More info:
Thunderbird worky fine.
But thunderbird is missing calender
Tried adding lightening, but it won't add into thunderbird.
Will try finding a diff add on, or if anyone knows how to get lightening into thunderbird 3.1.8 on ubuntu 10 that would be great as well.

View 1 Replies View Related

General :: Use Of S - Permission And T - Permission?

Nov 9, 2010

explain me s-permissions and t-permissions i am using rhel5 and i dont know what is the use of s-permission and t-permission.please explain with suitable example if possible.

View 2 Replies View Related

Ubuntu :: Maverick Doesn't Show Sub-menus / Show That?

Oct 14, 2010

Anyway since I upgraded to Ubuntu 10.10 when I right-click on something and there is another menu in that menu, it doesn't show up for the first time!

for example if I want to create a an "Empty File", I'll right-click on desktop and when I want to go to "Create Document" menu, it doesn't show up! so I must click somewhere else and try again so for the second time it works!!

View 9 Replies View Related

General :: Always Ask For Root Permission?

Apr 2, 2011

I recently installed a printer on my OpenSuse 11,2. Now every time i start the computer it prompts for the root password.

In the window that pops up it states

/opt/Xerox/PSULauncher: session followd by a long string of letters and numbers.

There is a script "uninstall.sh" in the PSULauncher directory that i ran but it didn't fix the problem.

View 1 Replies View Related

General :: Can't Set PWD Despite Having Sudo Permission Set

Mar 3, 2010

As user lukas, who is listed in 'sudoers' with the same rights as root (ie ALL=(ALL))

I can't cd 'into' dir /var/spool/cron:

As root i can cd into it no problem. As lukas, i get permission denied, and if I try 'sudo cd cron' I get an error saying command 'cd' is not recognised.

file permissions as follows -

View 7 Replies View Related

General :: Give The Permission To SSH?

Jul 28, 2010

I setup a new Linux box and it's called:Code:name@it.nvl.comWhen I try to log on from another machine using

Code:
% ssh name@it.nvl.com
It returns:

[code]...

View 4 Replies View Related

General :: Not Getting All Permission On A File?

Jul 18, 2011

i have two different systems having centos and slackware OS's.when i mount files on centos system from server, i get all permission on files means(rwx),but when i execute same command on my slackware system, i get only read permission on file.
i use mount -t cifs //serverip/sheetshare /root/Desktop/sheet/ -o username=abc,password=abc.

View 1 Replies View Related

General :: Get Permission By Chmod?

Apr 5, 2011

how to get permission by chmod

View 8 Replies View Related

General :: Saving Permission Changes For Device?

Dec 1, 2010

I have installed a driver on SUSE, and changed permissions for it (/dev/name) with the chgrp command.

However after rebooting my computer the change is lost. How can I save the permissions for the device?

View 1 Replies View Related

General :: Permission Denied As The Root

Mar 23, 2011

The root user of Linux doesn't have permission to read/write a regular file, unless all users have permission to read/write this file, like below:

drwxrwsrwx ....... file_name

However the owner of the file can still read/write this file.

AND:

0) not the problem of execution, just read/write
1) not the problem of device because regular user can read/write it.
2) the result of command id:

uid=0(root) gid=0(root) groups=0(root)

so I don't think it's the problem of group.

View 2 Replies View Related

General :: How Is The File Permission Is Defined

Jan 18, 2010

how is the file permission is defined?

for example when i use the command list -l testp01.txt i get the result of testp01.txt file permission -rw- r-- r-- root root etc however i wonder where are those information written?

is there any special file which contains all of these information?

View 7 Replies View Related

General :: File Permission In CentOS 5?

Sep 26, 2010

I am creating a DVD iso of the mentioned six .iso file using 'mkisofs' in CentOS. During the process, at about 12%, an error occurred. The error was that: "Cannot read from '/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/P2P0/S4F0/eject'" I remembered setting all the permissions to "read and write" but I kept receiving the same error next time.

View 1 Replies View Related

General :: ACL - Permission Denied / Resolve This?

May 17, 2011

I'm hoping someone can help me out with this issue I'm having using acl(s). I have a user I want to grant access to logs I have stored on my server. I am doing this by setting up an acl to that directory where the logs are stored. My settings seem to look fine, however I cannot read or even reach the directory with the said user; we'll call him "userP".
Here is my code:

To ensure userP has access to the parent directory (jboss) code...

Not sure what I'm doing wrong here: there are no errors in the logs; just "Permission denied" however I try to get to the directory.
Does anyone know what I'm doing wrong?

View 4 Replies View Related

General :: Give Ftp Permission To 2 Or Any More Folders?

Dec 24, 2009

We have a ftp server. Red Hat Linux release 9 (Shrike) working on the this server.Ftp server running very good. But I want to give 2 folder permission an user. Is this ssible?Example,We have a user that name is aslan. I want to connect this user to www/html/company/adek folder with ftp connection. Then I am changing this user home folder in the /etc/passwd as aslan:x:511:511::www/html/company/adek:/bin/bash.This user doing succesfuly ftp connection to this folder with a ftp program as Filezilla.Now, I want to also give a different folder connection this user as www/html/company/meleka.Is This user can be connect this 2 folder with ftp connection? Is this possible? Can i give 2 or any more folder connection at the one user account?

View 2 Replies View Related

General :: SSH To Localhost Permission Denied?

Oct 19, 2010

On the current machine:> su - username (it works)> ssh username@localhost (doesn't work)
What could be the problem?

View 6 Replies View Related

General :: $ Dd: Opening `/dev/fd0': Permission Denied

Aug 21, 2010

Since lucid was installed, I can no longer access my floppy drive. I try creating an image on it and this happens:

$ dd if=a.img of=/dev/fd0
$ dd: opening `/dev/fd0': Permission denied

How do I get permission to do this? I'm the only user and am an administrator.

View 2 Replies View Related

General :: /bin/sh: Bad Interpreter: Permission Denied?

Nov 5, 2010

I am installing Oracle 11g on Oracle Enterprise Linux 5.0 32 bit (virtual machine)i did all the mandatory steps, i am trying to run the installer but i am facing the below:bash: ./runInstaller: /bin/sh: bad interpreter: Permission deniedknowing that the run isntaller is found in an iso file, in which i linked the VMwarre CD/DVD drive to it

View 4 Replies View Related

General :: Change Permission On Directory?

Jan 4, 2011

I have 3 images made by clonezilla now I want to restore 1 of them, but when I try to use clonezilla to restore, there's no option to restore image. I can see the images in home directory and file is owned by root in my home directory. I'm trying to transfer image to usb hdd.

Did I place image in wrong directory or is it permissions problem.

View 8 Replies View Related

General :: Directory Execute Permission

Apr 24, 2010

I was always confused about the way it says that the execute permission for a directory means "able to list it". I just don't get it.Does no exec permission mean "still able to read files from in the directory, but not able to find out what files it contains" or what?

View 2 Replies View Related

General :: /etc/ssh/sshd_config: Permission Denied?

Apr 5, 2010

i am trying to make my SSH-server more secure on my unbuntu server. And i want to do a little modifiing to the /etc/ssh/sshd_config folder. When i try to accsess it is says permission denied if i do sudo /etc/ssh/sshd_config it says command not found.

View 3 Replies View Related

General :: File Permission And Groups

Jul 17, 2011

I have been trying to to make the folder "/home/files" Read/write/Execute for the group "admin" and only Read for Group "Friends"

View 4 Replies View Related







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