Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

non-writeable

  Date: Jan 23    Category: Unix / Linux / Ubuntu    Views: 310
  

Can't remember the command line to make a media/app Non-Writable
to Writable

Share: 

 

3 Answers Found

 
Answer #1    Answered On: Jan 23    

chmod +x ........................

 
Answer #2    Answered On: Jan 23    

'chmod +x [filename]' will make the file executable, which David probably
correctly assumed you meant. If you want to make a file writable, use 'chmod
+w [filename]'

If the file is owned by root, use 'sudo chmod ...'

These commands will set execute and write permissions for everyone. If you
want to limit say execute permissions to just the owner, use 'chmod u+x
[filename]'.

You can also use a numeric permission string instead of [u/o/g +/- r/w/x].
The syntax is 'chmod [0-7][0-7][0-7] [filename]'. The first digit sets
permissions for the owner, the second for the group, the third for everyone
else. The digits are calculated by adding 4 for read permission, 2 for
write permission and 1 for execute permission.

For example, the command:

'chmod 764 filname'

sets the owner's permissions to read, write and execute (4 + 2 + 1), the
group's permissions to read and write (4 + 2) and everyone else's to read
only (4). You will notice that directories also have permissions, and
setting the execute permission on a directory allows users to enter the
directory using 'cd' and access files as long as they know the names.
Setting the write permission allows users to create, delete and modify files
and subdirectories, even ones they don't own. Setting the read permission
allows users to list all files contained in the directory, their ownership
and permissions and the times they were last updated.

Properly setting permissions is the most important thing you can do to keep
your computer and information safe

 
Answer #3    Answered On: Jan 23    

Yes, of course +w is correct - well, that's what 48 hours without sleep
will do for you (now, rectified, I'm *very* glad to say).

 
Didn't find what you were looking for? Find more on non-writeable Or get search suggestion and latest updates.




Tagged: