Can I change devices permissions with chmod?

Let’s find an answer to "Can I change devices permissions with chmod?". The most accurate or helpful solution is served by Unix and Linux.

There are ten answers to this question.

Best solution

Can I change devices permissions with chmod?

Before read: I don't want to use any udev rule. I need to change (programmatically) the permissions of some device. But first in order to underestand what I have to do (in code) I want to make the job using just chmod command. So far, I've tried this: root# ls -l /dev/sdb root# brw-rw-rw- 1 root disk 8, 16 Apr 7 05:27 /dev/sdb root# chmod 0600 /dev/sdb root# ls -l /dev/sdb root# brw------- 1 root disk 8, 16 Apr 7 05:27 /dev/sdb as you can see, /dev/sdb has read and write permissions only for...

Answer:

If I understand you right then there is some file system on /dev/sdb that you have mounted. What matters...

Read more

Raydel Miranda at Unix and Linux Mark as irrelevant Undo

Other solutions

Can you help me with this chmod script?

I have a problem with files that have been deployed in read only states. I have a script that I'm using to change the permissions from read to write. It doesn't seem to be working well as the files are still in read only. The following is the script...

Answer:

1. What does the php line do? It invokes the php script given as the first argument, you'd need to read...

Read more

Mark at Yahoo! Answers Mark as irrelevant Undo

UNIX: Assuming that a file’s current permissions are rw-r-xr--, specify the chmod expression required to chang?

Assuming that a file’s current permissions are rw-r-xr--, specify the chmod expression required to change them to (i) rwxrwxrwx, (ii) r--r-----, (iii) ---r--r--, (iv) ---------, using both relative and absolute methods of assigning permissions.

Answer:

Do your own homework.

Read more

HMJava at Yahoo! Answers Mark as irrelevant Undo

Answer:

The group has read and execute permissions. The number is octal; the digits pertain to owner, group...

Read more

wiki.answers.com Mark as irrelevant Undo

Graphics Problem with Macbook Pro/Ubuntu

I recently set up my old late-2007 Macbook Pro to dual boot OS X and Ubuntu. I'm very new to Ubuntu, and while mucking around I think I seriously screwed something up with my graphics card. Is there any way to fix it? Despite the problems these older...

Answer:

The Nvidia chips in these MacBook Pros are basically ticking time bombs due to a manufacturing defect...

Read more

Yiggs at Ask.Metafilter.Com Mark as irrelevant Undo

How are locked-down file perms in Linux similiar/different to Win EFS?

I am looking into alternatives to Windows EFS to protect sensitive data on a Linux web server. I know practically nothing about EFS, but I get the impression that the files are effectively plain-text if you are logged into the Windows machine as the...

Answer:

Disk encryption is mainly designed to prevent attacks that involve physically gaining access to the...

Read more

burnmp3s at Ask.Metafilter.Com Mark as irrelevant Undo

What's the flag for chmod to recursively traverse a directory?

I need to be able to make a directory tree writeable (777) from the root of the tree. What's the parameter to recursively traverse the tree and change all of the permissions on all of the files in the tree to 777? Thanks,

Answer:

-R or --recursive do a man chmod... An answer to your edit, yes.

Read more

Mark at Yahoo! Answers Mark as irrelevant Undo

How can I set file/folder permissions to 755 or 644 in Windows?

I need to change the folder permission in the server to secure it. I can easily changed it in Linux/MacOS using chmod or Filezilla, but it seems I can't find it for Windows.

Answer:

You can only setup Access Control Lists, or go through right click/Properties and check the options...

Read more

Mattia Campagnano at Quora Mark as irrelevant Undo

How can I define a folder on Mac OSX to be readable and writable to all users that will store all the itunes on that computer and give every user account access?

How can I define a folder on Mac OSX to be readable and writable to all users that will store all the itunes on that computer and give every user account access? I already have a folder at: Macintosh HD/Library/itunes created. I just need to know the...

Answer:

You don't need to redo the permissions, since they simply take on the permissions of the enclosing folders...

Read more

ijoyner at Ask.Metafilter.Com Mark as irrelevant Undo

Help me understand what a proper business IT system looks like.

I've only worked in a small business (15-20 employees) since I got out of school, and I've handled the technological necessities since I started because nobody else could. I've handled things on an as-needed basis: troubleshooting problems, setting up...

Answer:

8. Passwords: Do I let people set their own passwords or give them passwords? ... Right now, I know...

Read more

KinoAndHermes at Ask.Metafilter.Com Mark as irrelevant Undo

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.