General :: Read File Permissions In 0644 Format?

Dec 17, 2010

Is there a Linux command, or a series of commands, which will allow me to get the permissions of a file in "0644" format?

View 9 Replies


ADVERTISEMENT

General :: Read And Execute Permissions For Executing The File

Mar 2, 2010

Binary files need only execute permission to execute. No read permission is required. But all executable files must be read by the kernel into main memory before executing. Also script files need both read and execute permissions for executing the file.

View 5 Replies View Related

General :: File Permissions - Read Or Write Access To Different Users

Jul 8, 2010

I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?

View 3 Replies View Related

General :: File-permissions On Read-only Media: Allowing For Access Without Chmod?

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

General :: Permissions - Manually Mount A File System Read/write As A Normal User?

Oct 6, 2010

I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.

I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.

View 3 Replies View Related

General :: RW Permissions On External HDD - Chmod: Changing Permissions Of `whatever': Read-only Filesystem

Mar 15, 2010

I have a problem with my external hdd, I mounted it manually and in the mount table it says ive got rw permissions. But when i try to change permissions it says:

chmod: changing permissions of `whatever': read-only filesystem.

This is my mount table:

[root@localhost ExtHDD]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)

[code]....

View 6 Replies View Related

Ubuntu :: Cannot Read Video File In ASF/WMV Format With Firefox?

Jun 14, 2011

I am presently running Firefox version 3.6.13 under Ubuntu 10.10 and I am trying without any success to play a file in Windows format.I have removed the totem-mozilla pluginI have re-installed gnome-mplayer & gecko-mediaplayer plugins. The ads-on is saying that Gecko Media Player 0.9.9.2 Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using Mplayer is installed.Also try to stream a MMSH to 127.0.0.1:8080 using ASF/WMV, DIVX3 & MP3 from VLC and the only thing I could get from Firefox was: Could not demultiplex streamCan somebody confirm me that the gnome-mplayer& gecko-mediaplayer plugins are capable of reading ASF format

View 2 Replies View Related

Hardware :: Format A SD Card That's Recognized As A Read-only File?

Feb 25, 2011

I've got some trouble trying to format a SD card. I tried to format it in the GUI and the terminal, but couldn't make it. I couldn't even copy or move any file to the directory in the SD card, even logged as root.
It's a SD card from a digital camera. When I insert it in the camera, it says the card is blocked, so that it's not possible to take any picture.

I tried using "fdisk" to set a new fyle system in it, and tried "mkdosfs" trying to format it under the current file system.

View 4 Replies View Related

Ubuntu :: Read Only File Permissions On USB Stick

Jul 13, 2010

Can only read files on USB stick, and USB Drive. Can't copy, move or delete them due to restrictions/file permissions...."You are not the Owner...." etc. Can I remove all such permissions. I am the only user of this machine?

View 9 Replies View Related

Fedora Hardware :: Flash Read Only Cant Transfer File Or Format?

Jan 20, 2011

i have problem my flash memory was working file then suddenly it says read only file system cant format either

View 1 Replies View Related

Ubuntu :: Edit File Permissions - Read / Write Access

May 6, 2010

I have apache2 running on my computer. I want to change the permissions for /var/www/ so that I can edit the files without a problem. Right now I can use the gksudo command, but I'd like to be able to have all the files available when using an IDE like eclipse.
I've read in several places that
Code:
chmod 755 /var/www
will do, but if I'm not mistaken that would give read/write access to anyone. I'm not in a production environment, so I'm not too worried about security, but I'd like to give anyone else as less permissions as possible. Would this be possible?

View 2 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related

General :: Recursively Set Read-only Permissions?

Oct 5, 2010

I have a very large and deep directory. I would like to make all of it read only. The problem is I guess I have to distinguish between files (which will get a=r) and directories (which will get a=rx).How can I do that?

View 3 Replies View Related

General :: Folder Permissions Locked Read-only?

Mar 19, 2010

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?

View 4 Replies View Related

General :: Permissions So Directory Can Only Be Read By Script Not Browser?

Jan 20, 2009

I have a CMS that has a brilliant backup option with one flaw, it can only create a full backup in a directory inside the web root. In this case /var/www/site/backups. This is not practical for security as the resulting tar.gz file contains a full mysql backup as well as other items that the general public shouldn't be downloading.What permissions do I need to set so that the directory /var/www/site/backups cannot be browsed to in a browser but can be read / written by the CMS when a PHP script calls it?

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 :: Set A Group With Default Read & Write Permissions?

Jun 14, 2011

What I want to be able to do, is have create a group, for example called "group1" and set its default permissions to read & write, instead of the usual just read.

So when I add a user into "group1" they automatically have read & write access to all files & directories which is in "group1".

Oh & I use crunchbang 10 (statler) for my desktops & Ubuntu 11.04 for my NFS/print/SSH/etc/etc server

View 3 Replies View Related

General :: Permissions Locked To Read Only On NTFS Partition

Jul 4, 2011

I'm pretty new to Linux. Though I've used it for a little bit, I barely know any shell commands. I recently migrated from Mint to Fedora. Installation went fine and I thought I was doing great until I tried to copy something onto one of my ntfs partitions (I got them automounted through changing fstab). Now I can't change the permissions with sudo chmod... it says I can, but nothing changes. And, while the folders are listed as allowing rw for the user group I set up, I can't actually change anything. I'm guessing I've done something wrong with my fstab file.

My fstab file is:

Code:

I should probably note that I'm using NVIDIA fake RAID 0, which is why my device locations are all /dev/mapper/nvidia_fcficeibp#

The command I have tried to change permissions is:

Code:

View 6 Replies View Related

General :: Cannot Read / Write SD Card After Improper Format (sector Size 0) - Fix It?

Jun 12, 2011

I was attempting to reformat a 16GB MicroSD card in my camera when the battery died mid-way. After that, any time I try to read the card in my camera, it gives me a "Card Error" and does not allow me to reformat it in my camera.

So, I thought I would plug the camera in to the laptop with it set to host the card as media when plugged in as USB, in an attempt to fix the formatting issue.

However, when I plug it in to my linux machine, it does not register as a device (e.g., /dev/sda) due to some errors, therefore I cannot reformat it. Essentially, I think I need to fix the partition table but I'm not sure how to when it doesn't register as a device. code...

View 7 Replies View Related

General :: Setting Read Permissions Of A Directory For Root User Only?

Mar 21, 2010

I'm using ubuntu 9.10. I used the command:

root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private to set the permissions of Private folder for root but it is giving error:

Code:
root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private
chown: changing ownership of `/media/104B-FF96/Private/5.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/6.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/7.jpg': Operation not permitted

[Code].....

View 5 Replies View Related

General :: Cannot Change File Permissions On A Mounted File System

Apr 6, 2010

I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab

Code:

/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0

Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.

View 2 Replies View Related

Fedora :: Create A Pdf File In A3 Format From Two Sheets In A4 Format?

Apr 7, 2010

my school we want to print a magazine but we have problem with the format of the files. We need to create a sheet in A3 format from two sheets in A4 format. I was reading about the pdftk library but it doesn't do what i need.

View 4 Replies View Related

General :: Read .gz File Direct On Shell/terminal Without Decompressing The File?

Dec 9, 2008

How can I read .gz file direct on shell/terminal without decompressing the file?
satimis

View 5 Replies View Related

Ubuntu :: Change Permissions For File / Add These Lines Without Changing Permissions?

Oct 16, 2010

Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?

View 2 Replies View Related

General :: Error - No Such File Or Dir. Read The 'readme' File But Cannot Configure

May 23, 2011

i'm new to linux and i am running ubuntu 11.04.i'm trying to install wine. i downloaded the binary files and extracted them. i tried running the command './configure' and got a error saying :no such file or dir. i read the 'readme' file but cannot configure.

View 3 Replies View Related

Fedora :: Doesn't Seem To Be Able To Read The Latest .swf Format

Jan 28, 2011

I tried Gnash but it doesn't seem to be able to read the latest .swf format. Is there some alternative that someone can recommend?

View 2 Replies View Related

Ubuntu :: Infected USB Pen Drive Read-only - Can't Format

Feb 1, 2010

I got some documents scanned today and had them put in a USB drive. The shopkeeper informed me that it has a virus, yet he transferred the files onto the USB drive. When I put it into my computer ten minutes later, the drive was not getting mounted. I read up and tried installing usbmount. After installing that, I managed to mount the drive. However, the drive was read-only on Ubuntu. On Windows, I found a virus and tried unsuccessfully to delete it (read-only). I tried again on Ubuntu, but didn't manage to delete the infected file (ReCyCleR/sEtuP.exe). I have now backed up all the files on the disk (except, obviously, the ReCyCleR directory). When I try to format the drive using gParted, I get:

[Code]....

View 6 Replies View Related

Software :: Read Date In Format Of 12/04/2010?

Oct 21, 2010

i want to know that how we can read date in format of 12/04/2010

in bash shell script

i mean , i want to read date form key board

i want that the user give input in the form of 12/04/2010 and then system varify that the entered date formate is correct or not. if it is valid , system will print echo " valid date" otherwise system will print echo "invalid date format"

View 2 Replies View Related

General :: File Format Not Recognized?

Mar 17, 2011

How to deal with file not recognized: File format not recognized

View 2 Replies View Related

Slackware :: External HDD Permissions - Read Only

Apr 6, 2011

Yesterday, I bought a 1TB WD Passport, for backup and storage. It uses NTFS, and I've had no problems manually mounting and moving files to and from it from root. However, I don't like having to be root to in any way modify the data on the drive. In order to avoid this I decided to create a line in fstab that would allow permissions to the user, so I added this to my fstab:

Code:
/dev/sdb1/mnt/external ntfs defaults,
noauto, noexec, user, uid=1000, gid=users, umask=0022, nls=utf8 0 0

This allows me to mount, unmount, and peruse the external HDD - however, if this is active, neither the user NOR root have permission to make any changes. The HDD acts as read only, even though there is no "ro" option on my fstab.

View 14 Replies View Related







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