I am ruing Ubuntu 16.04 LTS and am using Vagrant to run a Ubuntu 14.04 Server with a LAMP stack setup. I am working on a Laravel 5.2 project, but constantly have issues with the permissions in the storage folder/sub-folders. Currently, the folders are owned by my user/group. Anytime some file needs to be created or written too, I get a permission denied error. I can fix this with by chmoding the files to 777. This however does't fix the issue of having the problem when a new file is made (for se...
ادامه مطلبwhat is actually the right file permission to allow users upload a file? I know its dangerous to let the folder on 777, but that the only way i know right now to let the user upload a file. Say we have site like facebook where each user can upload own picture. thanks This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.Recommended article from FiveFilters....
ادامه مطلببخوانید I can see I have the all the checkboxes checked in S3 panel with me as the Grantee. But when I try access the URL or downloading the file, it says access is denied. I don't want to change permission to everyone. Why can't I download my own file?...
ادامه مطلبIs there a relation between a data compression format (zip, gzip, bzip2, etc.) and it's ability to ease in recovering broken data? I want to store some backups (like tar.gzs) but then I started wondering what could happen if the archive somehow becomes corrupt, like when changing a single bit randomly. Will the entire file become useless or are there mechanisms to minimize damage? Most information I find is purely about storage efficiency and they never seem to mention possible corruptions... Le...
ادامه مطلبI have a .txt file that i moved from an old laptop to my new computer. I can open the .txt in notepad but i need to be able to open it in Notepad ++. When I try to open in Notepad ++ I get the following error message. "You do not have permission to open this file. Please contact your administrator to obtain permission." Anyone know of a fix for this? Thanks Let's block ads!...
ادامه مطلببخوانید how can someone set permissions on a folder so that they themselves, but noone else, can delete folders or files within that folder on a shared network drive? this is a windows 7 question....
ادامه مطلبAttempting to configure Snort for the first time. Keep getting the error Unable to open rules file "C:directorynameSnortrules": Permission denied. I have directed snort to the directory containing the downloaded .tar rules files (I changed their file extensions to .rules) via the .conf file line VAR RULE_PATH C:directorysnortrules. Does anyone know what is causing the error? Let's block ads!...
ادامه مطلبI'm setting up a flash drive that someone else has to use for both Windows 10 and Ubuntu 14.04. Both contain programs for each OS. However, I caot set the execute flag on Linux, so I caot run any programs from the flash drive on Linux. I'll check the option only for it to uncheck itself a second later. I realized that this is due to the file system of the flash drive, which is FAT32. FAT32 does not support the execute flag. NTFS only allows the execute flag if I do usermapping or permissions, bu...
ادامه مطلبI am designing an upload page for users to submit content. Any content submitted will have a Creative Commons license applied to it. What is a suitable sentence that I can put next to a checkbox for the user to acknowledge that they have permission to upload the file and apply this license? This is what I have so far: [ ] I have permission to upload this file and apply a Creative Commons Attribution 4.0 Inteational License. Is this suitable or should it say more than that? Let's block ads!...
ادامه مطلبI am using ubuntu server edition 14.04 and installed vsftpd. I have created a new user in0006 with home directory /var/www/localdev/in0006/ and I have set chroot_local_user=YES in vsftpd.conf file so that the user in0006 can access only to the particular folder /var/www/localdev/in0006/ through ftp. I use winscp as FTP client. I logged in to winscp with the user in0006 and it I have the access only to the particular folder. The problem is I can't copy any file or create folder with the user in00...
ادامه مطلبI want to create a shared folder on my debian server so that user can create and edit files but not able delete each other files in that directory. /home/sharedfolder Users that can read and write files in the map are in a group: work I tried few permission commands like these, but still not succeeding setfacl -dm u::rwx,g::rwx,o::r /shared/directory Can anybody help me. Let's block ads!...
ادامه مطلبI just did something really dumb and I'm wondering if there's any way to reverse it. So I have an AWS EC2 server instance and I was trying to edit the php.ini in /etc. It kept telling me that I didn't have permissions to write to it, so I just thought, "Okay, well nobody's ever really going to see this site, I'll just chmod everything." So I did chmod -R 750 ... I know... I know... What was I thinking. So now it messed everything up and I can't SSH in with my ec2-user login anymore... Is there a...
ادامه مطلب