0

I would like to enable acl on my remote server. So I type the following command df to know on which partition I am : Here is the result :

 Filesystem     1K-blocks    Used Available Use% Mounted on
    /dev/simfs      26214400 1202356  25012044   5% /
    none               52432    1048     51384   2% /run
    none                5120       0      5120   0% /run/lock
    none              262144       0    262144   0% /run/shm

Now, here is my /etc/fstab file :

proc  /proc       proc    defaults    0    0
none  /dev/pts    devpts  rw      0    0

2 questions :

  • In which line I have to add ',acl' and
  • then I would have to remount my partition using mount -o remount **folder?** I don't know which folder : /proc or /dev/pts ?

Thanks a lot for your help

0

3 Answers 3

2

Are you using a VPS? If so, you probably don't have access to the real filesystem of the host system. What are you trying to do?

2
  • I'm using a VPS indeed. I would like to enable acl on my filesystem, for setting the right permissions on my cache and logs folder for my symfony2 project as described here : symfony.com/doc/master/book/installation.html (in the "Setting up permissions" section).
    – Reveclair
    Mar 20, 2013 at 13:16
  • So it's impossible to enable acl on my VPS ?
    – Reveclair
    Mar 21, 2013 at 14:14
2

Try this,

  1. Modify your fstab like this:

    proc /proc proc defaults,errors=remount-ro,acl 0 0

  2. Type sudo mount / -o remount.

  3. Check if acl works correctly. Type getfacl any_folder/. This command should show permissions of the folder. If yes, everything's fine.

  4. Specifically for symfony2 installation: go to your symfony2 project folder. Use getfacl app/cache and getfacl app/logs to view the permissions of those folders. You will see what kinds of the permissions are held by your groups. Then use setfacl on the group that you want to change. For example, setfacl -m other:rwx app/cache. Use setfacl for both folders.

-1

I hope the below url will help you,

http://ubuntuforums.org/showthread.php?t=1414003

2
  • Please summarize, the given link can break at any time.
    – vonbrand
    Mar 20, 2013 at 13:57
  • Welcome to Server Fault! We really do prefer that answers have content, not pointers to content. This may theoretically answer the question however, it would be preferable to include the essential parts of the answer here, and provide the link for reference. This post will be removed if not improved. Thank you!
    – Chris S
    Mar 20, 2013 at 14:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .