6 авг. 2009 г. · Make sure all the users who need write access to /var/www are in this group. sudo usermod -a -G www-data <some_user> Then set the correct permissions on /var/ ... |
9 мая 2011 г. · There are two ways to do this: set the directory to "world" writable or create a new group for the two users and make the directory ... |
31 мар. 2016 г. · With chmod you can set permission to the owner, the group or/and others. The chown can set the owner or/and the group. Read the pages I linked. |
9 авг. 2021 г. · Say I have a folder /var/some_folder and I have two users user1 and user2. How do I allow only user1 to access that folder? If I make it read-only can't user2 ... |
5 мая 2021 г. · Try this: sudo chown -R username: <directory>; chmod -R ug=rw,o=r <directory>. |
31 мар. 2010 г. · chmod -R 0777 /mydirectory Will allow all users read and write access to all files and folders within that directory. |
12 февр. 2014 г. · In order to set permissions on the folder and all sub folders/files you need to use the recursive option in your command: chmod 777 -R /path/to/directory. |
3 окт. 2013 г. · You can say: chmod -R o+r /home/mDB/admin/KNUCKLES/dbs/. This would give read permission recursively to others, i.e. not owner/group. |
25 мая 2010 г. · You need to use Access Control Lists. They are a more advanced way of handling permissions than the default user/group/other way in Linux. |
11 сент. 2016 г. · Giving a group www-data a write permission to a folder and all containing files could be achieved with the series of commands: |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |